diff options
author | 2014-01-17 15:05:38 +0000 | |
---|---|---|
committer | 2014-01-17 15:05:38 +0000 | |
commit | 90313cc36a6f43a3e9d3818aca536cd6631c222b (patch) | |
tree | cf5fcfa5f8cce0ea9cec2128dea770d42ec12551 /include/gpu/gl/SkGLContextHelper.h | |
parent | bd00629708c282d8fb9c2ada498c7f12ab8d03d6 (diff) |
Move GrGLExtensions from GrGLContextInfo to GrGLInterface
BUG=skia:2042
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/140823003
git-svn-id: http://skia.googlecode.com/svn/trunk@13118 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/gl/SkGLContextHelper.h')
-rw-r--r-- | include/gpu/gl/SkGLContextHelper.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gpu/gl/SkGLContextHelper.h b/include/gpu/gl/SkGLContextHelper.h index 44eb509a04..5ee88e0347 100644 --- a/include/gpu/gl/SkGLContextHelper.h +++ b/include/gpu/gl/SkGLContextHelper.h @@ -8,7 +8,6 @@ #ifndef SkGLContextHelper_DEFINED #define SkGLContextHelper_DEFINED -#include "GrGLExtensions.h" #include "GrGLInterface.h" /** @@ -48,7 +47,7 @@ public: bool hasExtension(const char* extensionName) const { SkASSERT(NULL != fGL); - return fExtensions.has(extensionName); + return fGL->hasExtension(extensionName); } protected: @@ -66,7 +65,6 @@ protected: virtual void destroyGLContext() = 0; private: - GrGLExtensions fExtensions; GrGLuint fFBO; GrGLuint fColorBufferID; GrGLuint fDepthStencilBufferID; |