• Home
  • Raw
  • Download

Lines Matching refs:c

36     ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
39 void generateMipmap(ogles_context_t* c, GLint level);
48 void ogles_init_texture(ogles_context_t* c) in ogles_init_texture() argument
50 c->textures.packAlignment = 4; in ogles_init_texture()
51 c->textures.unpackAlignment = 4; in ogles_init_texture()
54 c->textures.defaultTexture = new EGLTextureObject(); in ogles_init_texture()
55 c->textures.defaultTexture->incStrong(c); in ogles_init_texture()
59 bindTextureTmu(c, i, 0, c->textures.defaultTexture); in ogles_init_texture()
60 memset(c->current.texture[i].v, 0, sizeof(vec4_t)); in ogles_init_texture()
61 c->current.texture[i].Q = 0x10000; in ogles_init_texture()
65 void ogles_uninit_texture(ogles_context_t* c) in ogles_uninit_texture() argument
67 if (c->textures.ggl) in ogles_uninit_texture()
68 gglUninit(c->textures.ggl); in ogles_uninit_texture()
69 c->textures.defaultTexture->decStrong(c); in ogles_uninit_texture()
71 if (c->textures.tmu[i].texture) in ogles_uninit_texture()
72 c->textures.tmu[i].texture->decStrong(c); in ogles_uninit_texture()
77 void validate_tmu(ogles_context_t* c, int i) in validate_tmu() argument
79 texture_unit_t& u(c->textures.tmu[i]); in validate_tmu()
82 c->rasterizer.procs.activeTexture(c, i); in validate_tmu()
83 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
84 c->rasterizer.procs.texGeni(c, GGL_S, in validate_tmu()
86 c->rasterizer.procs.texGeni(c, GGL_T, in validate_tmu()
88 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
90 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
92 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
94 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
99 c->rasterizer.procs.disable(c, GGL_TEXTURE_2D); in validate_tmu()
104 void ogles_validate_texture(ogles_context_t* c) in ogles_validate_texture() argument
107 if (c->rasterizer.state.texture[i].enable) in ogles_validate_texture()
108 validate_tmu(c, i); in ogles_validate_texture()
110 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_validate_texture()
114 void invalidate_texture(ogles_context_t* c, int tmu, uint8_t flags = 0xFF) { in invalidate_texture() argument
115 c->textures.tmu[tmu].dirty = flags; in invalidate_texture()
126 void ogles_lock_textures(ogles_context_t* c) in ogles_lock_textures() argument
129 if (c->rasterizer.state.texture[i].enable) { in ogles_lock_textures()
130 texture_unit_t& u(c->textures.tmu[i]); in ogles_lock_textures()
133 c->rasterizer.procs.activeTexture(c, i); in ogles_lock_textures()
142 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_lock_textures()
148 void ogles_unlock_textures(ogles_context_t* c) in ogles_unlock_textures() argument
151 if (c->rasterizer.state.texture[i].enable) { in ogles_unlock_textures()
152 texture_unit_t& u(c->textures.tmu[i]); in ogles_unlock_textures()
155 c->rasterizer.procs.activeTexture(c, i); in ogles_unlock_textures()
161 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_unlock_textures()
165 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_unlock_textures()
215 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type) in validFormatType() argument
233 ogles_error(c, error); in validFormatType()
240 GGLContext* getRasterizer(ogles_context_t* c) in getRasterizer() argument
242 GGLContext* ggl = c->textures.ggl; in getRasterizer()
250 c->textures.ggl = ggl; in getRasterizer()
263 ogles_context_t* c, in copyPixels() argument
278 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); in copyPixels()
285 GGLContext* ggl = getRasterizer(c); in copyPixels()
301 sp<EGLTextureObject> getAndBindActiveTextureObject(ogles_context_t* c) in getAndBindActiveTextureObject() argument
304 const int active = c->textures.active; in getAndBindActiveTextureObject()
305 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject()
308 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject()
310 u.texture->decStrong(c); in getAndBindActiveTextureObject()
316 tex = c->textures.defaultTexture; in getAndBindActiveTextureObject()
318 if (c->textures.tmu[i].texture == tex.get()) in getAndBindActiveTextureObject()
319 invalidate_texture(c, i); in getAndBindActiveTextureObject()
323 tex = c->surfaceManager->replaceTexture(name); in getAndBindActiveTextureObject()
329 u.texture->incStrong(c); in getAndBindActiveTextureObject()
331 invalidate_texture(c, active); in getAndBindActiveTextureObject()
336 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) in bindTextureTmu() argument
338 if (tex.get() == c->textures.tmu[tmu].texture) in bindTextureTmu()
342 texture_unit_t& u(c->textures.tmu[tmu]); in bindTextureTmu()
344 u.texture->decStrong(c); in bindTextureTmu()
349 u.texture->incStrong(c); in bindTextureTmu()
351 invalidate_texture(c, tmu); in bindTextureTmu()
354 int createTextureSurface(ogles_context_t* c, in createTextureSurface() argument
360 const int active = c->textures.active; in createTextureSurface()
361 const GLuint name = c->textures.tmu[active].name; in createTextureSurface()
370 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface()
371 const int32_t align = c->textures.unpackAlignment-1; in createTextureSurface()
377 const int active = c->textures.active; in createTextureSurface()
378 EGLTextureObject* tex = c->textures.tmu[active].texture; in createTextureSurface()
389 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); in createTextureSurface()
575 void set_depth_and_fog(ogles_context_t* c, GGLfixed z) in set_depth_and_fog() argument
577 const uint32_t enables = c->rasterizer.state.enables; in set_depth_and_fog()
582 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear); in set_depth_and_fog()
583 GGLfixed f = gglFloatToFixed(c->transforms.vpt.zFar); in set_depth_and_fog()
589 iterators[0] = c->fog.fog(c, Zw); in set_depth_and_fog()
590 c->rasterizer.procs.fogGrad3xv(c, iterators); in set_depth_and_fog()
598 c->rasterizer.procs.zGrad3xv(c, iterators); in set_depth_and_fog()
608 extern status_t buildAPyramid(ogles_context_t* c, EGLTextureObject* tex);
610 void generateMipmap(ogles_context_t* c, GLint level) in generateMipmap() argument
613 const int active = c->textures.active; in generateMipmap()
614 EGLTextureObject* tex = c->textures.tmu[active].texture; in generateMipmap()
616 if (buildAPyramid(c, tex) != NO_ERROR) { in generateMipmap()
617 ogles_error(c, GL_OUT_OF_MEMORY); in generateMipmap()
626 GLenum target, GLenum pname, GLfixed param, ogles_context_t* c) in texParameterx() argument
629 ogles_error(c, GL_INVALID_ENUM); in texParameterx()
633 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture; in texParameterx()
676 ogles_error(c, GL_INVALID_ENUM); in texParameterx()
679 invalidate_texture(c, c->textures.active); in texParameterx()
685 ogles_context_t* c) in drawTexxOESImp() argument
687 ogles_lock_textures(c); in drawTexxOESImp()
689 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in drawTexxOESImp()
696 if (!c->rasterizer.state.texture[i].enable) in drawTexxOESImp()
700 texture_unit_t& u(c->textures.tmu[i]); in drawTexxOESImp()
703 validate_tmu(c, i); in drawTexxOESImp()
705 c->rasterizer.procs.texParameteri(c, in drawTexxOESImp()
707 c->rasterizer.procs.texParameteri(c, in drawTexxOESImp()
730 c->rasterizer.procs.texCoordGradScale8xv(c, i, texcoords); in drawTexxOESImp()
733 const uint32_t enables = c->rasterizer.state.enables; in drawTexxOESImp()
735 set_depth_and_fog(c, z); in drawTexxOESImp()
737 c->rasterizer.procs.activeTexture(c, c->textures.active); in drawTexxOESImp()
738 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v); in drawTexxOESImp()
739 c->rasterizer.procs.disable(c, GGL_W_LERP); in drawTexxOESImp()
740 c->rasterizer.procs.disable(c, GGL_AA); in drawTexxOESImp()
741 c->rasterizer.procs.shadeModel(c, GL_FLAT); in drawTexxOESImp()
742 c->rasterizer.procs.recti(c, in drawTexxOESImp()
748 ogles_unlock_textures(c); in drawTexxOESImp()
752 ogles_context_t* c) in drawTexxOES() argument
758 drawTexxOESImp(x, y, z, w, h, c); in drawTexxOES()
761 static void drawTexiOES(GLint x, GLint y, GLint z, GLint w, GLint h, ogles_context_t* c) in drawTexiOES() argument
768 if (ggl_likely(c->rasterizer.state.enabled_tmu == 1)) { in drawTexiOES()
770 texture_unit_t& u(c->textures.tmu[tmu]); in drawTexiOES()
779 c->rasterizer.procs.activeTexture(c, tmu); in drawTexiOES()
780 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in drawTexiOES()
781 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in drawTexiOES()
783 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in drawTexiOES()
786 c->rasterizer.procs.texGeni(c, GGL_S, in drawTexiOES()
788 c->rasterizer.procs.texGeni(c, GGL_T, in drawTexiOES()
791 c->rasterizer.procs.activeTexture(c, c->textures.active); in drawTexiOES()
793 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in drawTexiOES()
809 ogles_lock_textures(c); in drawTexiOES()
811 c->rasterizer.procs.texCoord2i(c, s0, t0); in drawTexiOES()
812 const uint32_t enables = c->rasterizer.state.enables; in drawTexiOES()
814 set_depth_and_fog(c, gglIntToFixed(z)); in drawTexiOES()
816 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v); in drawTexiOES()
817 c->rasterizer.procs.disable(c, GGL_W_LERP); in drawTexiOES()
818 c->rasterizer.procs.disable(c, GGL_AA); in drawTexiOES()
819 c->rasterizer.procs.shadeModel(c, GL_FLAT); in drawTexiOES()
820 c->rasterizer.procs.recti(c, x, y, x+w, y+h); in drawTexiOES()
822 ogles_unlock_textures(c); in drawTexiOES()
832 c); in drawTexiOES()
849 ogles_context_t* c = ogles_context_t::get(); in glActiveTexture() local
851 ogles_error(c, GL_INVALID_ENUM); in glActiveTexture()
854 c->textures.active = texture - GL_TEXTURE0; in glActiveTexture()
855 c->rasterizer.procs.activeTexture(c, c->textures.active); in glActiveTexture()
860 ogles_context_t* c = ogles_context_t::get(); in glBindTexture() local
862 ogles_error(c, GL_INVALID_ENUM); in glBindTexture()
870 tex = c->textures.defaultTexture; in glBindTexture()
872 tex = c->surfaceManager->texture(texture); in glBindTexture()
874 tex = c->surfaceManager->createTexture(texture); in glBindTexture()
876 ogles_error(c, GL_OUT_OF_MEMORY); in glBindTexture()
881 bindTextureTmu(c, c->textures.active, texture, tex); in glBindTexture()
886 ogles_context_t* c = ogles_context_t::get(); in glGenTextures() local
888 ogles_error(c, GL_INVALID_VALUE); in glGenTextures()
892 c->surfaceManager->getToken(n, textures); in glGenTextures()
897 ogles_context_t* c = ogles_context_t::get(); in glDeleteTextures() local
899 ogles_error(c, GL_INVALID_VALUE); in glDeleteTextures()
905 if (c->textures.tmu[t].name == 0) in glDeleteTextures()
908 if (textures[i] && (textures[i] == c->textures.tmu[t].name)) { in glDeleteTextures()
910 sp<EGLTextureObject> tex(c->textures.defaultTexture); in glDeleteTextures()
911 bindTextureTmu(c, t, 0, tex); in glDeleteTextures()
915 c->surfaceManager->deleteTextures(n, textures); in glDeleteTextures()
916 c->surfaceManager->recycleTokens(n, textures); in glDeleteTextures()
922 ogles_context_t* c = ogles_context_t::get(); in glMultiTexCoord4f() local
924 ogles_error(c, GL_INVALID_ENUM); in glMultiTexCoord4f()
928 c->current.texture[tmu].S = gglFloatToFixed(s); in glMultiTexCoord4f()
929 c->current.texture[tmu].T = gglFloatToFixed(t); in glMultiTexCoord4f()
930 c->current.texture[tmu].R = gglFloatToFixed(r); in glMultiTexCoord4f()
931 c->current.texture[tmu].Q = gglFloatToFixed(q); in glMultiTexCoord4f()
937 ogles_context_t* c = ogles_context_t::get(); in glMultiTexCoord4x() local
939 ogles_error(c, GL_INVALID_ENUM); in glMultiTexCoord4x()
943 c->current.texture[tmu].S = s; in glMultiTexCoord4x()
944 c->current.texture[tmu].T = t; in glMultiTexCoord4x()
945 c->current.texture[tmu].R = r; in glMultiTexCoord4x()
946 c->current.texture[tmu].Q = q; in glMultiTexCoord4x()
951 ogles_context_t* c = ogles_context_t::get(); in glPixelStorei() local
953 ogles_error(c, GL_INVALID_ENUM); in glPixelStorei()
957 ogles_error(c, GL_INVALID_VALUE); in glPixelStorei()
961 c->textures.packAlignment = param; in glPixelStorei()
963 c->textures.unpackAlignment = param; in glPixelStorei()
968 ogles_context_t* c = ogles_context_t::get(); in glTexEnvf() local
969 c->rasterizer.procs.texEnvi(c, target, pname, GLint(param)); in glTexEnvf()
975 ogles_context_t* c = ogles_context_t::get(); in glTexEnvfv() local
977 c->rasterizer.procs.texEnvi(c, target, pname, GLint(*params)); in glTexEnvfv()
984 c->rasterizer.procs.texEnvxv(c, target, pname, fixed); in glTexEnvfv()
987 ogles_error(c, GL_INVALID_ENUM); in glTexEnvfv()
992 ogles_context_t* c = ogles_context_t::get(); in glTexEnvx() local
993 c->rasterizer.procs.texEnvi(c, target, pname, param); in glTexEnvx()
999 ogles_context_t* c = ogles_context_t::get(); in glTexEnvxv() local
1000 c->rasterizer.procs.texEnvxv(c, target, pname, params); in glTexEnvxv()
1006 ogles_context_t* c = ogles_context_t::get(); in glTexParameteriv() local
1008 ogles_error(c, GL_INVALID_ENUM); in glTexParameteriv()
1012 EGLTextureObject* textureObject = c->textures.tmu[c->textures.active].texture; in glTexParameteriv()
1018 texParameterx(target, pname, GLfixed(params[0]), c); in glTexParameteriv()
1026 ogles_context_t* c = ogles_context_t::get(); in glTexParameterf() local
1027 texParameterx(target, pname, GLfixed(param), c); in glTexParameterf()
1033 ogles_context_t* c = ogles_context_t::get(); in glTexParameterx() local
1034 texParameterx(target, pname, param, c); in glTexParameterx()
1040 ogles_context_t* c = ogles_context_t::get(); in glTexParameteri() local
1041 texParameterx(target, pname, GLfixed(param), c); in glTexParameteri()
1054 ogles_context_t* c = ogles_context_t::get(); in glCompressedTexImage2D() local
1056 ogles_error(c, GL_INVALID_ENUM); in glCompressedTexImage2D()
1060 ogles_error(c, GL_INVALID_VALUE); in glCompressedTexImage2D()
1101 ogles_error(c, GL_INVALID_ENUM); in glCompressedTexImage2D()
1117 ogles_error(c, GL_INVALID_VALUE); in glCompressedTexImage2D()
1120 int error = createTextureSurface(c, &surface, &size, in glCompressedTexImage2D()
1123 ogles_error(c, error); in glCompressedTexImage2D()
1130 ogles_error(c, GL_INVALID_OPERATION); in glCompressedTexImage2D()
1140 ogles_error(c, GL_INVALID_VALUE); in glCompressedTexImage2D()
1147 int error = createTextureSurface(c, &surface, &size, in glCompressedTexImage2D()
1150 ogles_error(c, error); in glCompressedTexImage2D()
1164 ogles_context_t* c = ogles_context_t::get(); in glTexImage2D() local
1166 ogles_error(c, GL_INVALID_ENUM); in glTexImage2D()
1170 ogles_error(c, GL_INVALID_VALUE); in glTexImage2D()
1174 ogles_error(c, GL_INVALID_OPERATION); in glTexImage2D()
1177 if (validFormatType(c, format, type)) { in glTexImage2D()
1183 int error = createTextureSurface(c, &surface, &size, in glTexImage2D()
1186 ogles_error(c, error); in glTexImage2D()
1192 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D()
1193 const int32_t align = c->textures.unpackAlignment-1; in glTexImage2D()
1207 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height); in glTexImage2D()
1209 ogles_error(c, err); in glTexImage2D()
1212 generateMipmap(c, level); in glTexImage2D()
1224 ogles_context_t* c = ogles_context_t::get(); in glCompressedTexSubImage2D() local
1225 ogles_error(c, GL_INVALID_ENUM); in glCompressedTexSubImage2D()
1233 ogles_context_t* c = ogles_context_t::get(); in glTexSubImage2D() local
1235 ogles_error(c, GL_INVALID_ENUM); in glTexSubImage2D()
1239 ogles_error(c, GL_INVALID_VALUE); in glTexSubImage2D()
1242 if (validFormatType(c, format, type)) { in glTexSubImage2D()
1247 const int active = c->textures.active; in glTexSubImage2D()
1248 EGLTextureObject* tex = c->textures.tmu[active].texture; in glTexSubImage2D()
1252 ogles_error(c, GL_INVALID_OPERATION); in glTexSubImage2D()
1257 ogles_error(c, GL_INVALID_OPERATION); in glTexSubImage2D()
1262 ogles_error(c, GL_INVALID_VALUE); in glTexSubImage2D()
1272 ogles_error(c, GL_INVALID_OPERATION); in glTexSubImage2D()
1276 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexSubImage2D()
1277 const int32_t align = c->textures.unpackAlignment-1; in glTexSubImage2D()
1290 int err = copyPixels(c, in glTexSubImage2D()
1294 ogles_error(c, err); in glTexSubImage2D()
1298 generateMipmap(c, level); in glTexSubImage2D()
1311 ogles_context_t* c = ogles_context_t::get(); in glCopyTexImage2D() local
1313 ogles_error(c, GL_INVALID_ENUM); in glCopyTexImage2D()
1317 ogles_error(c, GL_INVALID_ENUM); in glCopyTexImage2D()
1321 ogles_error(c, GL_INVALID_VALUE); in glCopyTexImage2D()
1327 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in glCopyTexImage2D()
1371 ogles_error(c, GL_INVALID_ENUM); in glCopyTexImage2D()
1378 int error = createTextureSurface(c, &surface, &size, in glCopyTexImage2D()
1381 ogles_error(c, error); in glCopyTexImage2D()
1403 int err = copyPixels(c, in glCopyTexImage2D()
1407 ogles_error(c, err); in glCopyTexImage2D()
1410 generateMipmap(c, level); in glCopyTexImage2D()
1417 ogles_context_t* c = ogles_context_t::get(); in glCopyTexSubImage2D() local
1419 ogles_error(c, GL_INVALID_ENUM); in glCopyTexSubImage2D()
1423 ogles_error(c, GL_INVALID_VALUE); in glCopyTexSubImage2D()
1431 const int active = c->textures.active; in glCopyTexSubImage2D()
1432 EGLTextureObject* tex = c->textures.tmu[active].texture; in glCopyTexSubImage2D()
1436 ogles_error(c, GL_INVALID_OPERATION); in glCopyTexSubImage2D()
1441 ogles_error(c, GL_INVALID_VALUE); in glCopyTexSubImage2D()
1450 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in glCopyTexSubImage2D()
1464 int err = copyPixels(c, in glCopyTexSubImage2D()
1468 ogles_error(c, err); in glCopyTexSubImage2D()
1472 generateMipmap(c, level); in glCopyTexSubImage2D()
1479 ogles_context_t* c = ogles_context_t::get(); in glReadPixels() local
1481 ogles_error(c, GL_INVALID_ENUM); in glReadPixels()
1485 ogles_error(c, GL_INVALID_ENUM); in glReadPixels()
1489 ogles_error(c, GL_INVALID_VALUE); in glReadPixels()
1493 ogles_error(c, GL_INVALID_VALUE); in glReadPixels()
1503 ogles_error(c, GL_INVALID_OPERATION); in glReadPixels()
1507 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s; in glReadPixels()
1510 ogles_error(c, GL_INVALID_VALUE); in glReadPixels()
1514 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glReadPixels()
1515 const int32_t align = c->textures.packAlignment-1; in glReadPixels()
1529 GGLContext* ggl = getRasterizer(c); in glReadPixels()
1532 ogles_error(c, GL_OUT_OF_MEMORY); in glReadPixels()
1549 ogles_context_t* c = ogles_context_t::get(); in glDrawTexsvOES() local
1550 drawTexiOES(coords[0], coords[1], coords[2], coords[3], coords[4], c); in glDrawTexsvOES()
1553 ogles_context_t* c = ogles_context_t::get(); in glDrawTexivOES() local
1554 drawTexiOES(coords[0], coords[1], coords[2], coords[3], coords[4], c); in glDrawTexivOES()
1557 ogles_context_t* c = ogles_context_t::get(); in glDrawTexsOES() local
1558 drawTexiOES(x, y, z, w, h, c); in glDrawTexsOES()
1561 ogles_context_t* c = ogles_context_t::get(); in glDrawTexiOES() local
1562 drawTexiOES(x, y, z, w, h, c); in glDrawTexiOES()
1566 ogles_context_t* c = ogles_context_t::get(); in glDrawTexfvOES() local
1573 c); in glDrawTexfvOES()
1576 ogles_context_t* c = ogles_context_t::get(); in glDrawTexxvOES() local
1577 drawTexxOES(coords[0], coords[1], coords[2], coords[3], coords[4], c); in glDrawTexxvOES()
1580 ogles_context_t* c = ogles_context_t::get(); in glDrawTexfOES() local
1584 c); in glDrawTexfOES()
1587 ogles_context_t* c = ogles_context_t::get(); in glDrawTexxOES() local
1588 drawTexxOES(x, y, z, w, h, c); in glDrawTexxOES()
1599 ogles_context_t* c = ogles_context_t::get(); in glEGLImageTargetTexture2DOES() local
1601 ogles_error(c, GL_INVALID_ENUM); in glEGLImageTargetTexture2DOES()
1606 ogles_error(c, GL_INVALID_VALUE); in glEGLImageTargetTexture2DOES()
1612 ogles_error(c, GL_INVALID_VALUE); in glEGLImageTargetTexture2DOES()
1616 ogles_error(c, GL_INVALID_VALUE); in glEGLImageTargetTexture2DOES()
1621 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); in glEGLImageTargetTexture2DOES()
1627 ogles_context_t* c = ogles_context_t::get(); in glEGLImageTargetRenderbufferStorageOES() local
1629 ogles_error(c, GL_INVALID_ENUM); in glEGLImageTargetRenderbufferStorageOES()
1634 ogles_error(c, GL_INVALID_VALUE); in glEGLImageTargetRenderbufferStorageOES()
1640 ogles_error(c, GL_INVALID_VALUE); in glEGLImageTargetRenderbufferStorageOES()
1644 ogles_error(c, GL_INVALID_VALUE); in glEGLImageTargetRenderbufferStorageOES()