summaryrefslogtreecommitdiff
path: root/libs/hwui/Extensions.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2015-08-04 19:55:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-08-04 19:55:53 +0000
commit93c14069588eac2c652263295bc89eb2a2eb3d6b (patch)
tree30b14d7e61603703209f5eb832d814d5c1297a2b /libs/hwui/Extensions.cpp
parent0c53f72eda9355dc7ceb45c9cf53527258d89399 (diff)
parentd538d30e2f498de12a46e2aa3b0814c8d9526226 (diff)
Merge "hwui: add extension to support unpack operations in OpenGL ES 2.0"
Diffstat (limited to 'libs/hwui/Extensions.cpp')
-rw-r--r--libs/hwui/Extensions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Extensions.cpp b/libs/hwui/Extensions.cpp
index 84e7e650c52e..25004b69c496 100644
--- a/libs/hwui/Extensions.cpp
+++ b/libs/hwui/Extensions.cpp
@@ -61,6 +61,7 @@ Extensions::Extensions(): Singleton<Extensions>() {
mHasTiledRendering = hasGlExtension("GL_QCOM_tiled_rendering");
mHas1BitStencil = hasGlExtension("GL_OES_stencil1");
mHas4BitStencil = hasGlExtension("GL_OES_stencil4");
+ mHasUnpackSubImage = hasGlExtension("GL_EXT_unpack_subimage");
// Query EGL extensions
findExtensions(eglQueryString(eglGetCurrentDisplay(), EGL_EXTENSIONS), mEglExtensionList);