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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.h

Issue 2676353002: MojoCompositorFrameSinkPrivate should support copy requests (Closed)
Patch Set: 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 2ccac2927d027732dbea242f5eca835e27e92e72..7fdf3bd77e198d75d902f869171ffe507574ddcc 100644
--- a/components/display_compositor/gpu_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_compositor_frame_sink.h
@@ -50,6 +50,12 @@ class DISPLAY_COMPOSITOR_EXPORT GpuCompositorFrameSink
void Require(const cc::LocalSurfaceId& local_surface_id,
const cc::SurfaceSequence& sequence) override;
void Satisfy(const cc::SurfaceSequence& sequence) override;
+ void RequestCopyOfSurface(
+ std::unique_ptr<cc::CopyOutputRequest> request,
+ const RequestCopyOfSurfaceCallback& callback) override;
+ void DeleteMailbox(const gpu::Mailbox& mailbox,
+ const ::gpu::SyncToken& sync_token,
+ bool is_lost) override;
// cc::mojom::MojoCompositorFrameSinkPrivate:
void AddChildFrameSink(const cc::FrameSinkId& child_frame_sink_id) override;

Powered by Google App Engine
This is Rietveld 408576698