Loading opengl/include/GLES/glext.h +8 −5 Original line number Original line Diff line number Diff line Loading @@ -211,9 +211,12 @@ typedef void* GLeglImageOES; #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_TEXTURE_EXTERNAL_OES #ifndef GL_OES_EGL_image_external #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading Loading @@ -782,9 +785,9 @@ typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arra typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_OES_texture_external #ifndef GL_OES_EGL_image_external #define GL_OES_texture_external 1 #define GL_OES_EGL_image_external 1 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading opengl/include/GLES2/gl2ext.h +8 −5 Original line number Original line Diff line number Diff line Loading @@ -146,9 +146,12 @@ typedef void* GLeglImageOES; #define GL_INT_10_10_10_2_OES 0x8DF7 #define GL_INT_10_10_10_2_OES 0x8DF7 #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_TEXTURE_EXTERNAL_OES #ifndef GL_OES_EGL_image_external #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading Loading @@ -546,9 +549,9 @@ typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #define GL_OES_vertex_type_10_10_10_2 1 #define GL_OES_vertex_type_10_10_10_2 1 #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_OES_texture_external #ifndef GL_OES_EGL_image_external #define GL_OES_texture_external 1 #define GL_OES_EGL_image_external 1 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading services/surfaceflinger/GLExtensions.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -86,7 +86,7 @@ void GLExtensions::initWithGLStrings( mHaveNpot = true; mHaveNpot = true; } } if (hasExtension("GL_OES_texture_external")) { if (hasExtension("GL_OES_EGL_image_external")) { mHaveTextureExternal = true; mHaveTextureExternal = true; } else if (strstr(mRenderer.string(), "Adreno")) { } else if (strstr(mRenderer.string(), "Adreno")) { // hack for Adreno 200 // hack for Adreno 200 Loading services/surfaceflinger/LayerBlur.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -146,7 +146,7 @@ void LayerBlur::onDraw(const Region& clip) const Region::const_iterator it = clip.begin(); Region::const_iterator it = clip.begin(); Region::const_iterator const end = clip.end(); Region::const_iterator const end = clip.end(); if (it != end) { if (it != end) { #if defined(GL_OES_texture_external) #if defined(GL_OES_EGL_image_external) if (GLExtensions::getInstance().haveTextureExternal()) { if (GLExtensions::getInstance().haveTextureExternal()) { glDisable(GL_TEXTURE_EXTERNAL_OES); glDisable(GL_TEXTURE_EXTERNAL_OES); } } Loading services/surfaceflinger/LayerDim.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -71,7 +71,7 @@ void LayerDim::onDraw(const Region& clip) const glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); glColor4f(0, 0, 0, alpha); glColor4f(0, 0, 0, alpha); #if defined(GL_OES_texture_external) #if defined(GL_OES_EGL_image_external) if (GLExtensions::getInstance().haveTextureExternal()) { if (GLExtensions::getInstance().haveTextureExternal()) { glDisable(GL_TEXTURE_EXTERNAL_OES); glDisable(GL_TEXTURE_EXTERNAL_OES); } } Loading Loading
opengl/include/GLES/glext.h +8 −5 Original line number Original line Diff line number Diff line Loading @@ -211,9 +211,12 @@ typedef void* GLeglImageOES; #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_TEXTURE_EXTERNAL_OES #ifndef GL_OES_EGL_image_external #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading Loading @@ -782,9 +785,9 @@ typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arra typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_OES_texture_external #ifndef GL_OES_EGL_image_external #define GL_OES_texture_external 1 #define GL_OES_EGL_image_external 1 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading
opengl/include/GLES2/gl2ext.h +8 −5 Original line number Original line Diff line number Diff line Loading @@ -146,9 +146,12 @@ typedef void* GLeglImageOES; #define GL_INT_10_10_10_2_OES 0x8DF7 #define GL_INT_10_10_10_2_OES 0x8DF7 #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_TEXTURE_EXTERNAL_OES #ifndef GL_OES_EGL_image_external #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading Loading @@ -546,9 +549,9 @@ typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #define GL_OES_vertex_type_10_10_10_2 1 #define GL_OES_vertex_type_10_10_10_2 1 #endif #endif /* GL_OES_texture_external */ /* GL_OES_EGL_image_external */ #ifndef GL_OES_texture_external #ifndef GL_OES_EGL_image_external #define GL_OES_texture_external 1 #define GL_OES_EGL_image_external 1 #endif #endif /*------------------------------------------------------------------------* /*------------------------------------------------------------------------* Loading
services/surfaceflinger/GLExtensions.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -86,7 +86,7 @@ void GLExtensions::initWithGLStrings( mHaveNpot = true; mHaveNpot = true; } } if (hasExtension("GL_OES_texture_external")) { if (hasExtension("GL_OES_EGL_image_external")) { mHaveTextureExternal = true; mHaveTextureExternal = true; } else if (strstr(mRenderer.string(), "Adreno")) { } else if (strstr(mRenderer.string(), "Adreno")) { // hack for Adreno 200 // hack for Adreno 200 Loading
services/surfaceflinger/LayerBlur.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -146,7 +146,7 @@ void LayerBlur::onDraw(const Region& clip) const Region::const_iterator it = clip.begin(); Region::const_iterator it = clip.begin(); Region::const_iterator const end = clip.end(); Region::const_iterator const end = clip.end(); if (it != end) { if (it != end) { #if defined(GL_OES_texture_external) #if defined(GL_OES_EGL_image_external) if (GLExtensions::getInstance().haveTextureExternal()) { if (GLExtensions::getInstance().haveTextureExternal()) { glDisable(GL_TEXTURE_EXTERNAL_OES); glDisable(GL_TEXTURE_EXTERNAL_OES); } } Loading
services/surfaceflinger/LayerDim.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -71,7 +71,7 @@ void LayerDim::onDraw(const Region& clip) const glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); glColor4f(0, 0, 0, alpha); glColor4f(0, 0, 0, alpha); #if defined(GL_OES_texture_external) #if defined(GL_OES_EGL_image_external) if (GLExtensions::getInstance().haveTextureExternal()) { if (GLExtensions::getInstance().haveTextureExternal()) { glDisable(GL_TEXTURE_EXTERNAL_OES); glDisable(GL_TEXTURE_EXTERNAL_OES); } } Loading