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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 2559523002: Send overlay promotion hints from to GLStreamTextureImage. (Closed)
Patch Set: fiddled with GLboolean for windows compiler Created 4 years 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 934fe97620c497c8503d85086922ab2e5690f234..ebf221728a79005016ed9fd604894e50341d141f 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1709,6 +1709,13 @@ GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location,
gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM(
location, transpose, transform);
}
+void GL_APIENTRY GLES2OverlayPromotionHintCHROMIUM(GLuint texture,
+ GLboolean promotion_hint,
+ GLint display_x,
+ GLint display_y) {
+ gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint,
+ display_x, display_y);
+}
void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
GLint y,
GLint width,
@@ -3015,6 +3022,10 @@ extern const NameToFunc g_gles2_function_table[] = {
glUniformMatrix4fvStreamTextureMatrixCHROMIUM),
},
{
+ "glOverlayPromotionHintCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM),
+ },
+ {
"glSwapBuffersWithDamageCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
},
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698