diff options
author | hendrikw <hendrikw@chromium.org> | 2015-08-27 10:38:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 10:38:39 -0700 |
commit | 885bf0925514b9dfe3365bab227d36897d866b5d (patch) | |
tree | 4a80bbcffa086e8bbdede4903a30993dd4783800 /include/gpu/gl/GrGLInterface.h | |
parent | 33c594c9611529ba72474ec52586be65f3e2d76f (diff) |
skia: add ability to load command_buffer_gles2
BUG=skia:
Review URL: https://codereview.chromium.org/1306823003
Diffstat (limited to 'include/gpu/gl/GrGLInterface.h')
-rw-r--r-- | include/gpu/gl/GrGLInterface.h | 7 |
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. |