aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/GrGLInterface.h
diff options
context:
space:
mode:
authorGravatar hendrikw <hendrikw@chromium.org>2015-08-27 10:38:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 10:38:39 -0700
commit885bf0925514b9dfe3365bab227d36897d866b5d (patch)
tree4a80bbcffa086e8bbdede4903a30993dd4783800 /include/gpu/gl/GrGLInterface.h
parent33c594c9611529ba72474ec52586be65f3e2d76f (diff)
skia: add ability to load command_buffer_gles2
Diffstat (limited to 'include/gpu/gl/GrGLInterface.h')
-rw-r--r--include/gpu/gl/GrGLInterface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h
index 9d60259740..e20f808dd8 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.