• Home
  • Raw
  • Download

Lines Matching refs:textures

47     c->textures.packAlignment   = 4;  in ogles_init_texture()
48 c->textures.unpackAlignment = 4; in ogles_init_texture()
51 c->textures.defaultTexture = new EGLTextureObject(); in ogles_init_texture()
52 c->textures.defaultTexture->incStrong(c); in ogles_init_texture()
56 bindTextureTmu(c, i, 0, c->textures.defaultTexture); in ogles_init_texture()
64 if (c->textures.ggl) in ogles_uninit_texture()
65 gglUninit(c->textures.ggl); in ogles_uninit_texture()
66 c->textures.defaultTexture->decStrong(c); in ogles_uninit_texture()
68 if (c->textures.tmu[i].texture) in ogles_uninit_texture()
69 c->textures.tmu[i].texture->decStrong(c); in ogles_uninit_texture()
76 texture_unit_t& u(c->textures.tmu[i]); in validate_tmu()
107 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_validate_texture()
112 c->textures.tmu[tmu].dirty = flags; in invalidate_texture()
127 texture_unit_t& u(c->textures.tmu[i]); in ogles_lock_textures()
155 texture_unit_t& u(c->textures.tmu[i]); in ogles_unlock_textures()
172 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_unlock_textures()
249 GGLContext* ggl = c->textures.ggl; in getRasterizer()
257 c->textures.ggl = ggl; in getRasterizer()
311 const int active = c->textures.active; in getAndBindActiveTextureObject()
312 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject()
315 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject()
323 tex = c->textures.defaultTexture; in getAndBindActiveTextureObject()
325 if (c->textures.tmu[i].texture == tex.get()) in getAndBindActiveTextureObject()
345 if (tex.get() == c->textures.tmu[tmu].texture) in bindTextureTmu()
349 texture_unit_t& u(c->textures.tmu[tmu]); in bindTextureTmu()
367 const int active = c->textures.active; in createTextureSurface()
368 const GLuint name = c->textures.tmu[active].name; in createTextureSurface()
378 const int32_t align = c->textures.unpackAlignment-1; in createTextureSurface()
384 const int active = c->textures.active; in createTextureSurface()
385 EGLTextureObject* tex = c->textures.tmu[active].texture; in createTextureSurface()
620 const int active = c->textures.active; in generateMipmap()
621 EGLTextureObject* tex = c->textures.tmu[active].texture; in generateMipmap()
640 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture; in texParameterx()
686 invalidate_texture(c, c->textures.active); in texParameterx()
707 texture_unit_t& u(c->textures.tmu[i]); in drawTexxOESImp()
744 c->rasterizer.procs.activeTexture(c, c->textures.active); in drawTexxOESImp()
777 texture_unit_t& u(c->textures.tmu[tmu]); in drawTexiOES()
798 c->rasterizer.procs.activeTexture(c, c->textures.active); in drawTexiOES()
861 c->textures.active = texture - GL_TEXTURE0; in glActiveTexture()
862 c->rasterizer.procs.activeTexture(c, c->textures.active); in glActiveTexture()
877 tex = c->textures.defaultTexture; in glBindTexture()
888 bindTextureTmu(c, c->textures.active, texture, tex); in glBindTexture()
891 void glGenTextures(GLsizei n, GLuint *textures) in glGenTextures() argument
899 c->surfaceManager->getToken(n, textures); in glGenTextures()
902 void glDeleteTextures(GLsizei n, const GLuint *textures) in glDeleteTextures() argument
912 if (c->textures.tmu[t].name == 0) in glDeleteTextures()
915 if (textures[i] && (textures[i] == c->textures.tmu[t].name)) { in glDeleteTextures()
917 sp<EGLTextureObject> tex(c->textures.defaultTexture); in glDeleteTextures()
922 c->surfaceManager->deleteTextures(n, textures); in glDeleteTextures()
923 c->surfaceManager->recycleTokens(n, textures); in glDeleteTextures()
968 c->textures.packAlignment = param; in glPixelStorei()
970 c->textures.unpackAlignment = param; in glPixelStorei()
1019 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture; in glTexParameteriv()
1200 const int32_t align = c->textures.unpackAlignment-1; in glTexImage2D()
1254 const int active = c->textures.active; in glTexSubImage2D()
1255 EGLTextureObject* tex = c->textures.tmu[active].texture; in glTexSubImage2D()
1284 const int32_t align = c->textures.unpackAlignment-1; in glTexSubImage2D()
1438 const int active = c->textures.active; in glCopyTexSubImage2D()
1439 EGLTextureObject* tex = c->textures.tmu[active].texture; in glCopyTexSubImage2D()
1522 const int32_t align = c->textures.packAlignment-1; in glReadPixels()