diff options
author | 2015-02-05 10:12:38 -0800 | |
---|---|---|
committer | 2015-02-06 13:42:25 -0800 | |
commit | 117bdbcfa3e8306dad21e7e01fa71b00cdfa7265 (patch) | |
tree | aa54e4a5538818cd946bbd6e7eb771b83d0cfebd /libs/hwui/Extensions.cpp | |
parent | 34725687748cc2b4ace2bdb49becfdcd569e9a5d (diff) |
Glop ColorFilter & VertexBuffer support, initial enable
Enables Glop rendering for supported Rects and VertexBuffers
Also removes unused Query object
Change-Id: Ibe227bc362685a153159f75077664f0947764e06
Diffstat (limited to 'libs/hwui/Extensions.cpp')
-rw-r--r-- | libs/hwui/Extensions.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/libs/hwui/Extensions.cpp b/libs/hwui/Extensions.cpp index 8352c3f7e8da..c68822b04011 100644 --- a/libs/hwui/Extensions.cpp +++ b/libs/hwui/Extensions.cpp @@ -16,18 +16,16 @@ #define LOG_TAG "OpenGLRenderer" -#include <GLES2/gl2.h> -#include <GLES2/gl2ext.h> +#include "Extensions.h" + +#include "Debug.h" +#include "Properties.h" #include <EGL/egl.h> #include <EGL/eglext.h> - +#include <GLES2/gl2ext.h> #include <utils/Log.h> -#include "Debug.h" -#include "Extensions.h" -#include "Properties.h" - namespace android { using namespace uirenderer; @@ -50,7 +48,7 @@ namespace uirenderer { // Constructors /////////////////////////////////////////////////////////////////////////////// -Extensions::Extensions(): Singleton<Extensions>() { +Extensions::Extensions() { // Query GL extensions findExtensions((const char*) glGetString(GL_EXTENSIONS), mGlExtensionList); mHasNPot = hasGlExtension("GL_OES_texture_npot"); @@ -93,9 +91,6 @@ Extensions::Extensions(): Singleton<Extensions>() { } } -Extensions::~Extensions() { -} - /////////////////////////////////////////////////////////////////////////////// // Methods /////////////////////////////////////////////////////////////////////////////// |