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

Unified Diff: include/gpu/gl/angle/SkANGLEGLContext.h

Issue 1194783003: Implement SkGLContext swapBuffers with fence syncs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: windows build Created 5 years, 6 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/SkNullGLContext.h ('k') | src/gpu/SkGpuFenceSync.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/gl/angle/SkANGLEGLContext.h
diff --git a/include/gpu/gl/angle/SkANGLEGLContext.h b/include/gpu/gl/angle/SkANGLEGLContext.h
index f54f29ecbac4dbe03a0860049880fbb4869b85c0..8850cd0bb5518f02dd92d5869cfb80ee0496d3ba 100644
--- a/include/gpu/gl/angle/SkANGLEGLContext.h
+++ b/include/gpu/gl/angle/SkANGLEGLContext.h
@@ -15,8 +15,6 @@
class SkANGLEGLContext : public SkGLContext {
public:
~SkANGLEGLContext() override;
- void makeCurrent() const override;
- void swapBuffers() const override;
static SkANGLEGLContext* Create(GrGLStandard forcedGpuAPI) {
if (kGL_GrGLStandard == forcedGpuAPI) {
@@ -37,6 +35,10 @@ private:
SkANGLEGLContext();
void destroyGLContext();
+ void onPlatformMakeCurrent() const override;
+ void onPlatformSwapBuffers() const override;
+ GrGLFuncPtr onPlatformGetProcAddress(const char* name) const override;
+
void* fContext;
void* fDisplay;
void* fSurface;
« no previous file with comments | « include/gpu/gl/SkNullGLContext.h ('k') | src/gpu/SkGpuFenceSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698