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

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

Issue 1604993005: Add ability to wire up sharelist in glcontext creation (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | src/gpu/GrContextFactory.h » ('j') | src/gpu/GrContextFactory.h » ('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 77fd325dd853e9eac8d061316134474258135071..966ad81768246ae469d14fd32200ac7eae05a705 100644
--- a/include/gpu/gl/SkGLContext.h
+++ b/include/gpu/gl/SkGLContext.h
@@ -120,7 +120,8 @@ private:
* Otherwise, the default implementation for the platform should be compiled in
* the library.
bsalomon 2016/01/19 22:00:57 Should comment on shareList. Also, name doesn't se
joshualitt 2016/01/20 14:36:56 Acknowledged.
*/
-SK_API SkGLContext* SkCreatePlatformGLContext(GrGLStandard forcedGpuAPI);
+SK_API SkGLContext* SkCreatePlatformGLContext(GrGLStandard forcedGpuAPI,
+ SkGLContext* shareList = nullptr);
/**
* Helper macros for using the GL context through the GrGLInterface. Example:
« no previous file with comments | « no previous file | src/gpu/GrContextFactory.h » ('j') | src/gpu/GrContextFactory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698