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

Unified Diff: components/display_compositor/gpu_root_compositor_frame_sink.cc

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase. Created 3 years, 10 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: components/display_compositor/gpu_root_compositor_frame_sink.cc
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.cc b/components/display_compositor/gpu_root_compositor_frame_sink.cc
index ea6d2dfdbcce8ee2346d27b5030a2b6340e5ab7d..73ddf26b03e1b00242f7d00880d0ce5027d40fcd 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.cc
@@ -89,6 +89,11 @@ void GpuRootCompositorFrameSink::SubmitCompositorFrame(
support_->SubmitCompositorFrame(local_surface_id, std::move(frame));
}
+void GpuRootCompositorFrameSink::ClaimTemporaryReference(
+ const cc::SurfaceId& surface_id) {
+ support_->ClaimTemporaryReference(surface_id);
+}
+
void GpuRootCompositorFrameSink::RequestCopyOfSurface(
std::unique_ptr<cc::CopyOutputRequest> request) {
support_->RequestCopyOfSurface(std::move(request));
« no previous file with comments | « components/display_compositor/gpu_root_compositor_frame_sink.h ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698