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

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: ios 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
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;

Powered by Google App Engine
This is Rietveld 408576698