From 149173d28c0843aba86b0810ce75b34be6a0d08f Mon Sep 17 00:00:00 2001 From: John Reck Date: Mon, 10 Aug 2015 09:52:29 -0700 Subject: Support new EGL extensions Bug: 21753739 Includes a revert of 13d1b4ab10fbee5e81a2ba1ac59cfae1e51d3ef0 as that only supported EGL_EXT_buffer_age Change-Id: Ia86a47d19e3355c067934d7764c330b640c6958d --- libs/hwui/Extensions.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'libs/hwui/Extensions.cpp') diff --git a/libs/hwui/Extensions.cpp b/libs/hwui/Extensions.cpp index 814bada81b35..3d350c98892b 100644 --- a/libs/hwui/Extensions.cpp +++ b/libs/hwui/Extensions.cpp @@ -53,21 +53,10 @@ Extensions::Extensions() { mHasFramebufferFetch = hasGlExtension("GL_NV_shader_framebuffer_fetch"); mHasDiscardFramebuffer = hasGlExtension("GL_EXT_discard_framebuffer"); mHasDebugMarker = hasGlExtension("GL_EXT_debug_marker"); - 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); - - char property[PROPERTY_VALUE_MAX]; - if (property_get(PROPERTY_DEBUG_NV_PROFILING, property, nullptr) > 0) { - mHasNvSystemTime = !strcmp(property, "true") && hasEglExtension("EGL_NV_system_time"); - } else { - mHasNvSystemTime = false; - } - const char* version = (const char*) glGetString(GL_VERSION); // Section 6.1.5 of the OpenGL ES specification indicates the GL version -- cgit v1.2.3-59-g8ed1b