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

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

Issue 2559523002: Send overlay promotion hints from to GLStreamTextureImage. (Closed)
Patch Set: reverted media 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
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..eb02219db61b0c482fa9dcfe8cc0e0dbb943e4cf 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 GLES2SendOverlayPromotionHintCHROMIUM(GLuint texture,
+ GLboolean promotion_hint,
+ GLint display_x,
+ GLint display_y) {
+ gles2::GetGLContext()->SendOverlayPromotionHintCHROMIUM(
+ texture, promotion_hint, display_x, display_y);
+}
void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
GLint y,
GLint width,
@@ -3015,6 +3022,11 @@ extern const NameToFunc g_gles2_function_table[] = {
glUniformMatrix4fvStreamTextureMatrixCHROMIUM),
},
{
+ "glSendOverlayPromotionHintCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glSendOverlayPromotionHintCHROMIUM),
+ },
+ {
"glSwapBuffersWithDamageCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
},

Powered by Google App Engine
This is Rietveld 408576698