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

Unified Diff: src/gpu/GrContextFactory.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
Index: src/gpu/GrContextFactory.h
diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h
index 7afa3108c69d8984e0d63cd76350570dc764d4be..ecd0aa0cb792012604d8327d4ff8b117ec371778 100644
--- a/src/gpu/GrContextFactory.h
+++ b/src/gpu/GrContextFactory.h
@@ -120,7 +120,8 @@ public:
* Get a context initialized with a type of GL context. It also makes the GL context current.
*/
ContextInfo getContextInfo(GLContextType type,
- GLContextOptions options = kNone_GLContextOptions);
+ GLContextOptions options = kNone_GLContextOptions,
+ SkGLContext* shareList = nullptr);
bsalomon 2016/01/19 22:00:57 Does this really need to be part of GrContextFacto
joshualitt 2016/01/20 14:36:56 Acknowledged.
/**
* Get a GrContext initialized with a type of GL context. It also makes the GL context current.
*/

Powered by Google App Engine
This is Rietveld 408576698