Lines Matching refs:ref
46 switch ( this->ref().typeInfo ) in Dereference()
75 switch ( this->ref().typeInfo ) in Dereference()
106 switch ( this->ref().typeInfo ) in Setup()
143 resBinaryShader.ref().m_CommandAllocator = allocator; in ResBinaryShader_Setup()
157 …resBinaryShader.ref().m_ShaderBinaryInfo = new(binaryAnalyzerBuffer) ShaderBinaryInfo( resBinarySh… in ResBinaryShader_Setup()
170 resBinaryShader.ref().m_CommandCache = buffer; in ResBinaryShader_Setup()
171 resBinaryShader.ref().m_CommandCacheSize = writtenSize; in ResBinaryShader_Setup()
233 os::IAllocator* allocator = resBinaryShader.ref().m_CommandAllocator; in Cleanup()
235 if ( resBinaryShader.ref().m_CommandCache != NULL ) in Cleanup()
237 resBinaryShader.ref().m_CommandAllocator->Free( resBinaryShader.ref().m_CommandCache ); in Cleanup()
238 resBinaryShader.ref().m_CommandCache = NULL; in Cleanup()
239 resBinaryShader.ref().m_CommandCacheSize = 0; in Cleanup()
242 if ( resBinaryShader.ref().m_ShaderBinaryInfo != NULL ) in Cleanup()
246 resBinaryShader.ref().m_CommandAllocator->Free( shaderInfo ); in Cleanup()
248 resBinaryShader.ref().m_ShaderBinaryInfo = NULL; in Cleanup()
266 resBinaryShader.ref().m_CommandAllocator = NULL; in Cleanup()
276 NW_ASSERT( allocator == ResBinaryShader(this->GetOwnerShaderData()).ref().m_CommandAllocator ); in Setup()
284 this->ref().m_ProgramObject = CreateProgramObject(); in Setup()
287 uniformLocation->BuildUniformLocations(this->ref().m_ProgramObject); in Setup()
326 if ( ref().m_CommandCache ) in Setup()
345 ref().m_CommandCache = buffer; in Setup()
346 ref().m_CommandCacheSize = writtenSize; in Setup()
393 this->ref().m_ProgramObject = 0; in Cleanup()
395 if ( this->ref().m_CommandCache ) in Cleanup()
397 … os::IAllocator* allocator = ResBinaryShader(this->GetOwnerShaderData()).ref().m_CommandAllocator; in Cleanup()
399 allocator->Free( this->ref().m_CommandCache ); in Cleanup()
400 this->ref().m_CommandCache = NULL; in Cleanup()
401 this->ref().m_CommandCacheSize = 0; in Cleanup()