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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_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_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 5cb447980de189991d181431f346bcebd18bb069..25b601fbdea35ad92a3e7acfcf8cdf519b023868 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3166,6 +3166,17 @@ void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate(
}
}
+void SendOverlayPromotionHintCHROMIUM(GLuint texture,
+ GLboolean promotion_hint,
+ GLint display_x,
+ GLint display_y) {
+ gles2::cmds::SendOverlayPromotionHintCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::SendOverlayPromotionHintCHROMIUM>();
+ if (c) {
+ c->Init(texture, promotion_hint, display_x, display_y);
+ }
+}
+
void SwapBuffersWithDamageCHROMIUM(GLint x,
GLint y,
GLint width,

Powered by Google App Engine
This is Rietveld 408576698