Index: src/gpu/gl/GrGLContextInfo.h |
=================================================================== |
--- src/gpu/gl/GrGLContextInfo.h (revision 7868) |
+++ src/gpu/gl/GrGLContextInfo.h (working copy) |
@@ -9,6 +9,7 @@ |
#ifndef GrGLContextInfo_DEFINED |
#define GrGLContextInfo_DEFINED |
+#include "gl/GrGLExtensions.h" |
#include "gl/GrGLInterface.h" |
#include "GrGLCaps.h" |
#include "GrGLSL.h" |
@@ -70,7 +71,7 @@ |
if (!this->isInitialized()) { |
return false; |
} |
- return GrGLHasExtensionFromString(ext, fExtensionString.c_str()); |
+ return fExtensions.has(ext); |
} |
private: |
@@ -81,7 +82,7 @@ |
GrGLVersion fGLVersion; |
GrGLSLGeneration fGLSLGeneration; |
GrGLVendor fVendor; |
- SkString fExtensionString; |
+ GrGLExtensions fExtensions; |
GrGLCaps fGLCaps; |
}; |