Add CommitOverlayPlanesCHROMIUM command buffer function
This extension is for displaying overlay planes without swapping the
framebuffer. This is useful when overlays account for all the damage and
it would be more efficient to not swap.
This patch is the result of adding the command to
cmd_buffer_functions.txt and build_gles2_cmd_buffer.py and running the
latter. The implementations will be added in a following CL.
BUG=560592
Review URL: https://codereview.chromium.org/1472993003
Cr-Commit-Position: refs/heads/master@{#362253}
diff --git a/gpu/GLES2/gl2chromium_autogen.h b/gpu/GLES2/gl2chromium_autogen.h
index 8a78728..0cea2ef 100644
--- a/gpu/GLES2/gl2chromium_autogen.h
+++ b/gpu/GLES2/gl2chromium_autogen.h
@@ -336,6 +336,7 @@
#define glScheduleOverlayPlaneCHROMIUM \
GLES2_GET_FUN(ScheduleOverlayPlaneCHROMIUM)
#define glScheduleCALayerCHROMIUM GLES2_GET_FUN(ScheduleCALayerCHROMIUM)
+#define glCommitOverlayPlanesCHROMIUM GLES2_GET_FUN(CommitOverlayPlanesCHROMIUM)
#define glSwapInterval GLES2_GET_FUN(SwapInterval)
#define glFlushDriverCachesCHROMIUM GLES2_GET_FUN(FlushDriverCachesCHROMIUM)
#define glMatrixLoadfCHROMIUM GLES2_GET_FUN(MatrixLoadfCHROMIUM)