Lines Matching refs:ref

48     switch ( this->ref().typeInfo )  in Dereference()
77 switch ( this->ref().typeInfo ) in Dereference()
108 switch ( this->ref().typeInfo ) in Setup()
152 resBinaryShader.ref().m_CommandAllocator = allocator; in ResBinaryShader_Setup()
166 …resBinaryShader.ref().m_ShaderBinaryInfo = new(binaryAnalyzerBuffer) ShaderBinaryInfo( resBinarySh… in ResBinaryShader_Setup()
179 resBinaryShader.ref().m_CommandCache = buffer; in ResBinaryShader_Setup()
180 resBinaryShader.ref().m_CommandCacheSize = writtenSize; in ResBinaryShader_Setup()
242 os::IAllocator* allocator = resBinaryShader.ref().m_CommandAllocator; in Cleanup()
244 if ( resBinaryShader.ref().m_CommandCache != NULL ) in Cleanup()
246 resBinaryShader.ref().m_CommandAllocator->Free( resBinaryShader.ref().m_CommandCache ); in Cleanup()
247 resBinaryShader.ref().m_CommandCache = NULL; in Cleanup()
248 resBinaryShader.ref().m_CommandCacheSize = 0; in Cleanup()
251 if ( resBinaryShader.ref().m_ShaderBinaryInfo != NULL ) in Cleanup()
255 resBinaryShader.ref().m_CommandAllocator->Free( shaderInfo ); in Cleanup()
257 resBinaryShader.ref().m_ShaderBinaryInfo = NULL; in Cleanup()
275 resBinaryShader.ref().m_CommandAllocator = NULL; in Cleanup()
285 NW_ASSERT( allocator == ResBinaryShader(this->GetOwnerShaderData()).ref().m_CommandAllocator ); in Setup()
293 this->ref().m_ProgramObject = CreateProgramObject(); in Setup()
296 uniformLocation->BuildUniformLocations(this->ref().m_ProgramObject); in Setup()
335 if ( ref().m_CommandCache ) in Setup()
354 ref().m_CommandCache = buffer; in Setup()
355 ref().m_CommandCacheSize = writtenSize; in Setup()
402 this->ref().m_ProgramObject = 0; in Cleanup()
404 if ( this->ref().m_CommandCache ) in Cleanup()
406 … os::IAllocator* allocator = ResBinaryShader(this->GetOwnerShaderData()).ref().m_CommandAllocator; in Cleanup()
408 allocator->Free( this->ref().m_CommandCache ); in Cleanup()
409 this->ref().m_CommandCache = NULL; in Cleanup()
410 this->ref().m_CommandCacheSize = 0; in Cleanup()