Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: include/gpu/gl/SkGLContextHelper.h

Issue 140823003: Move GrGLExtensions from GrGLContextInfo to GrGLInterface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix Android Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/SkGLContextHelper.h
diff --git a/include/gpu/gl/SkGLContextHelper.h b/include/gpu/gl/SkGLContextHelper.h
index 44eb509a044262414b83cbb6379ad71f8b8d4a4c..5ee88e034776129f65a8493290cd6204f6f9e7a6 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;
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698