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

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

Issue 1306823003: skia: add ability to load command_buffer_gles2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make it work with sampleapp Created 5 years, 4 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: include/gpu/gl/GrGLInterface.h
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h
index 9d6025974085dbffe856b1313d11e7c5d9d2c6d3..e20f808dd89cfec1c6712524e6a29446f2a8ca37 100644
--- a/include/gpu/gl/GrGLInterface.h
+++ b/include/gpu/gl/GrGLInterface.h
@@ -57,6 +57,13 @@ const GrGLInterface* GrGLCreateMesaInterface();
const GrGLInterface* GrGLCreateANGLEInterface();
#endif
+#if SK_COMMAND_BUFFER
+/**
+ * Creates a GrGLInterface for a Command Buffer context.
+ */
+const GrGLInterface* GrGLCreateCommandBufferInterface();
+#endif
+
/**
* Creates a null GrGLInterface that doesn't draw anything. Used for measuring
* CPU overhead.

Powered by Google App Engine
This is Rietveld 408576698