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

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

Issue 26701002: Add swapBuffer call to SkGLContextHelper. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: comments Created 7 years, 2 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/SkNativeGLContext.h ('k') | src/gpu/gl/android/SkNativeGLContext_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/SkNullGLContext.h
diff --git a/include/gpu/gl/SkNullGLContext.h b/include/gpu/gl/SkNullGLContext.h
index 4f2639c8d7c0f2ae9c6157860f0cde1aa21ed7fb..df7812b98fba2d84ba00b3063eb2913c090e60ec 100644
--- a/include/gpu/gl/SkNullGLContext.h
+++ b/include/gpu/gl/SkNullGLContext.h
@@ -17,6 +17,8 @@ public:
virtual void makeCurrent() const SK_OVERRIDE {};
+ virtual void swapBuffers() const SK_OVERRIDE {};
+
protected:
virtual const GrGLInterface* createGLContext() SK_OVERRIDE;
« no previous file with comments | « include/gpu/gl/SkNativeGLContext.h ('k') | src/gpu/gl/android/SkNativeGLContext_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698