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

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

Issue 1612513002: Add a background timing thread to kilobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 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 | « no previous file | tools/kilobench/kilobench.cpp » ('j') | tools/kilobench/kilobench.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | tools/kilobench/kilobench.cpp » ('j') | tools/kilobench/kilobench.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698