diff options
author | Romain Guy <romainguy@google.com> | 2012-07-18 20:04:14 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-07-18 20:04:14 -0700 |
commit | 63553478130f78d44c8fbeaebc610e19925544a5 (patch) | |
tree | b73f59284d74901222a6b11095f9bd0dd0c2d370 /libs/hwui/Extensions.h | |
parent | 8e025de5fb3ab1c099541e3a387123170bf9d1a9 (diff) | |
download | frameworks_base-63553478130f78d44c8fbeaebc610e19925544a5.zip frameworks_base-63553478130f78d44c8fbeaebc610e19925544a5.tar.gz frameworks_base-63553478130f78d44c8fbeaebc610e19925544a5.tar.bz2 |
Remove vendor specific precision qualifier
Change-Id: I0a56ca7a5a399ec94993d3cea0c4aff6c0f86e39
Diffstat (limited to 'libs/hwui/Extensions.h')
-rw-r--r-- | libs/hwui/Extensions.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/hwui/Extensions.h b/libs/hwui/Extensions.h index 6b174d6..fb945a8 100644 --- a/libs/hwui/Extensions.h +++ b/libs/hwui/Extensions.h @@ -39,9 +39,6 @@ namespace uirenderer { #define EXT_LOGD(...) #endif -// Vendor strings -#define VENDOR_IMG "Imagination Technologies" - /////////////////////////////////////////////////////////////////////////////// // Classes /////////////////////////////////////////////////////////////////////////////// @@ -69,10 +66,6 @@ public: mHasDebugMarker = hasExtension("GL_EXT_debug_marker"); mHasDebugLabel = hasExtension("GL_EXT_debug_label"); - const char* vendor = (const char*) glGetString(GL_VENDOR); - EXT_LOGD("Vendor: %s", vendor); - mNeedsHighpTexCoords = strcmp(vendor, VENDOR_IMG) == 0; - // We don't need to copy the string, the OpenGL ES spec // guarantees the result of glGetString to point to a // static string as long as our OpenGL context is valid @@ -81,7 +74,6 @@ public: inline bool hasNPot() const { return mHasNPot; } inline bool hasFramebufferFetch() const { return mHasFramebufferFetch; } - inline bool needsHighpTexCoords() const { return mNeedsHighpTexCoords; } inline bool hasDiscardFramebuffer() const { return mHasDiscardFramebuffer; } inline bool hasDebugMarker() const { return mHasDebugMarker; } inline bool hasDebugLabel() const { return mHasDebugLabel; } @@ -101,7 +93,6 @@ private: const char* mExtensions; bool mHasNPot; - bool mNeedsHighpTexCoords; bool mHasFramebufferFetch; bool mHasDiscardFramebuffer; bool mHasDebugMarker; |