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

Unified Diff: components/display_compositor/gpu_root_compositor_frame_sink.cc

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase + fixes. 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 76180bab6dd8ca86e57765abf5c2e5a4c0b6863e..9b2427d750bc08a29c61ff65bebd8a60c6fcbb34 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.cc
@@ -99,6 +99,11 @@ void GpuRootCompositorFrameSink::Satisfy(const cc::SurfaceSequence& sequence) {
support_->Satisfy(sequence);
}
+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));

Powered by Google App Engine
This is Rietveld 408576698