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

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: kilobench logs gpu numbers 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') | no next file with comments »
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(); }
+
protected:
SkGLContext();
« no previous file with comments | « no previous file | tools/kilobench/kilobench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698