From 117bdbcfa3e8306dad21e7e01fa71b00cdfa7265 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 5 Feb 2015 10:12:38 -0800 Subject: Glop ColorFilter & VertexBuffer support, initial enable Enables Glop rendering for supported Rects and VertexBuffers Also removes unused Query object Change-Id: Ibe227bc362685a153159f75077664f0947764e06 --- libs/hwui/Extensions.cpp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'libs/hwui/Extensions.cpp') 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 -#include +#include "Extensions.h" + +#include "Debug.h" +#include "Properties.h" #include #include - +#include #include -#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() { // 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() { -} - /////////////////////////////////////////////////////////////////////////////// // Methods /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3-59-g8ed1b