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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.h

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_compositor_frame_sink.h
diff --git a/components/display_compositor/gpu_compositor_frame_sink.h b/components/display_compositor/gpu_compositor_frame_sink.h
index b5008259d6aa872e15bec49b1547f817ad28aa81..531188e3d34220d5d03051b392e061794a9c7e24 100644
--- a/components/display_compositor/gpu_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_compositor_frame_sink.h
@@ -14,6 +14,8 @@
#include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
#include "cc/surfaces/compositor_frame_sink_support.h"
#include "cc/surfaces/compositor_frame_sink_support_client.h"
+#include "cc/surfaces/local_surface_id.h"
+#include "cc/surfaces/surface_id.h"
#include "components/display_compositor/display_compositor_export.h"
#include "components/display_compositor/gpu_compositor_frame_sink_delegate.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -46,6 +48,7 @@ class DISPLAY_COMPOSITOR_EXPORT GpuCompositorFrameSink
void Satisfy(const cc::SurfaceSequence& sequence) override;
// cc::mojom::MojoCompositorFrameSinkPrivate:
+ void ClaimTemporaryReference(const cc::SurfaceId& surface_id) override;
void RequestCopyOfSurface(
std::unique_ptr<cc::CopyOutputRequest> request) override;

Powered by Google App Engine
This is Rietveld 408576698