Index: include/gpu/gl/SkGLContext.h |
diff --git a/include/gpu/gl/SkGLContext.h b/include/gpu/gl/SkGLContext.h |
index 992edf4efd2631f8ae540e7c0bf19480d7ceb518..ddf5dc080a113ec648e9b94409184e22eda21610 100644 |
--- a/include/gpu/gl/SkGLContext.h |
+++ b/include/gpu/gl/SkGLContext.h |
@@ -85,6 +85,11 @@ public: |
class GLFenceSync; // SkGpuFenceSync implementation that uses the OpenGL functionality. |
+ /* |
+ * returns the fencesync object owned by this SkGLContext |
+ */ |
+ SkGpuFenceSync* fenceSync() { return fFenceSync.get(); } |
djsollen
2016/01/25 16:54:25
does this imply that there is only ever one fence
joshualitt
2016/01/27 17:03:03
The fence sync object is actually a factory for cr
|
+ |
protected: |
SkGLContext(); |