Lines Matching refs:textureId

125             GLuint textureId = m_TextureIdArray[textureArrayIndex];  in Finalize()  local
126 if ( textureId != 0 ) in Finalize()
128 glDeleteTextures(1, &textureId); in Finalize()
284 bool RenderSystemDrawing::HasTexture(const GLuint textureId) in HasTexture() argument
297 return FindTextureArrayIndex(textureId, arrayIndex); in HasTexture()
304 GLuint& textureId) in GenerateTexture() argument
327 glGenTextures(1, &textureId); in GenerateTexture()
330 glBindTexture(GL_TEXTURE_2D, textureId); in GenerateTexture()
336 m_TextureIdArray[textureArrayIndex] = textureId; in GenerateTexture()
341 bool RenderSystemDrawing::DeleteTexture(const GLuint textureId) in DeleteTexture() argument
353 if ( textureId == 0 ) in DeleteTexture()
359 if ( FindTextureArrayIndex(textureId, textureArrayIndex) ) in DeleteTexture()
361 glDeleteTextures(1, &textureId); in DeleteTexture()
374 bool RenderSystemDrawing::FindTextureArrayIndex(const GLuint textureId, u32& arrayIndex) in FindTextureArrayIndex() argument
384 if ( textureId == m_TextureIdArray[textureArrayIndex] ) in FindTextureArrayIndex()
395 void RenderSystemDrawing::FillTexturedRectangle(const GLuint textureId, in FillTexturedRectangle() argument
403 if ( (textureId == 0 ) || (! HasTexture(textureId) ) ) in FillTexturedRectangle()
405 NN_TPANIC_("Invalid textureId %d.\n", textureId); in FillTexturedRectangle()
417 FillTexturedTriangle(textureId, in FillTexturedRectangle()
425 FillTexturedTriangle(textureId, in FillTexturedRectangle()
434 void RenderSystemDrawing::FillTexturedTriangle(const GLuint textureId, in FillTexturedTriangle() argument
450 if ( ( textureId == 0 ) || (! FindTextureArrayIndex(textureId, textureArrayIndex) ) ) in FillTexturedTriangle()
452 NN_TPANIC_("Invalid textureId %d.\n", textureId); in FillTexturedTriangle()
542 GLuint textureId = m_TextureIdArray[textureArrayIndex]; in FlushTexturedPrimitives() local
543 if ( textureId != 0 ) in FlushTexturedPrimitives()
545 shaderProgramPtr->SetTextureId(textureId); in FlushTexturedPrimitives()