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

Unified Diff: gpu/GLES2/gl2extchromium.h

Issue 2175043002: Add command buffer function glScheduleCALayerFilterEffectsCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: blah nits. Created 4 years, 5 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: gpu/GLES2/gl2extchromium.h
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
index 67142b1da25c22130a5bc46db854dd5495c37123..78392eb4669e8fb6632c2061dcae344a41d70d13 100644
--- a/gpu/GLES2/gl2extchromium.h
+++ b/gpu/GLES2/gl2extchromium.h
@@ -767,6 +767,7 @@ typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)(
#define GL_CA_LAYER_EDGE_TOP_CHROMIUM 0x8
#endif
+extern "C" struct GLCALayerFilterEffect;
#ifdef GL_GLEXT_PROTOTYPES
GL_APICALL void GL_APIENTRY
glScheduleCALayerSharedStateCHROMIUM(GLfloat opacity,
@@ -775,6 +776,9 @@ glScheduleCALayerSharedStateCHROMIUM(GLfloat opacity,
GLint sorting_context_id,
const GLfloat* transform);
GL_APICALL void GL_APIENTRY
+glScheduleCALayerFilterEffectsCHROMIUM(GLsizei count,
+ const GLCALayerFilterEffect* effects);
+GL_APICALL void GL_APIENTRY
glScheduleCALayerCHROMIUM(GLuint contents_texture_id,
const GLfloat* contents_rect,
GLuint background_color,
@@ -790,6 +794,9 @@ typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERSHAREDSTATECHROMIUMPROC)(
const GLfloat* clip_rect,
GLint sorting_context_id,
const GLfloat* transform);
+typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERFILTEREFFECTSCHROMIUM)(
+ GLsizei count,
+ const GLCALayerFilterEffect* effects);
typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)(
GLuint contents_texture_id,
const GLfloat* contents_rect,

Powered by Google App Engine
This is Rietveld 408576698