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

Unified Diff: content/browser/renderer_host/browser_compositor_view_mac.mm

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: rebase Created 3 years, 9 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: content/browser/renderer_host/browser_compositor_view_mac.mm
diff --git a/content/browser/renderer_host/browser_compositor_view_mac.mm b/content/browser/renderer_host/browser_compositor_view_mac.mm
index 7e4355a5d0e76207ebc78a95a10120559c986312..7f2a79beee46d77d54e7f68b79ba31facdc8d2c3 100644
--- a/content/browser/renderer_host/browser_compositor_view_mac.mm
+++ b/content/browser/renderer_host/browser_compositor_view_mac.mm
@@ -270,6 +270,7 @@ void BrowserCompositorMac::CopyFromCompositingSurfaceToVideoFrame(
void BrowserCompositorMac::SwapCompositorFrame(
uint32_t compositor_frame_sink_id,
+ const cc::LocalSurfaceId& local_surface_id,
cc::CompositorFrame frame) {
// Compute the frame size based on the root render pass rect size.
cc::RenderPass* root_pass = frame.render_pass_list.back().get();
@@ -282,7 +283,7 @@ void BrowserCompositorMac::SwapCompositorFrame(
pixel_size);
}
delegated_frame_host_->SwapDelegatedFrame(compositor_frame_sink_id,
- std::move(frame));
+ local_surface_id, std::move(frame));
}
void BrowserCompositorMac::SetHasTransparentBackground(bool transparent) {
« no previous file with comments | « content/browser/renderer_host/browser_compositor_view_mac.h ('k') | content/browser/renderer_host/delegated_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698