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

Unified Diff: cc/output/gl_renderer.cc

Issue 132543002: Not for review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 5f443eefa531a48cecaaa34e07acde27de178392..2fdf6f2b51651dd6d53fec6393e90ecd748fa2a9 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2133,6 +2133,11 @@ void GLRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) {
}
output_surface_->SwapBuffers(&compositor_frame);
+ if (!metadata.overlay_position.IsEmpty()) {
+ context_support_->SetOverlayPlane(
+ 1, metadata.overlay_texture_id_, metadata.overlay_position);
+ }
+
swap_buffer_rect_ = gfx::Rect();
// We don't have real fences, so we mark read fences as passed

Powered by Google App Engine
This is Rietveld 408576698