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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_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_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 5bc9c6bb9125c97d83becd0e0e5f06c368a61631..bf6fcdff1afd4a9bccd3a92a4983528ca1a9f138 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -3507,4 +3507,19 @@ void GLES2Implementation::UniformMatrix4fvStreamTextureMatrixCHROMIUM(
CheckGLError();
}
+void GLES2Implementation::SendOverlayPromotionHintCHROMIUM(
+ GLuint texture,
+ GLboolean promotion_hint,
+ GLint display_x,
+ GLint display_y) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix()
+ << "] glSendOverlayPromotionHintCHROMIUM(" << texture
+ << ", " << GLES2Util::GetStringBool(promotion_hint) << ", "
+ << display_x << ", " << display_y << ")");
+ helper_->SendOverlayPromotionHintCHROMIUM(texture, promotion_hint, display_x,
+ display_y);
+ CheckGLError();
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698