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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.h

Issue 2676353002: MojoCompositorFrameSinkPrivate should support copy requests (Closed)
Patch Set: c 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..487a604953526a8ba04d7bd9bdb45ec5fb04ace2 100644
--- a/components/display_compositor/gpu_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_compositor_frame_sink.h
@@ -55,6 +55,12 @@ class DISPLAY_COMPOSITOR_EXPORT GpuCompositorFrameSink
void AddChildFrameSink(const cc::FrameSinkId& child_frame_sink_id) override;
void RemoveChildFrameSink(
const cc::FrameSinkId& child_frame_sink_id) override;
+ void RequestCopyOfSurface(
+ std::unique_ptr<cc::CopyOutputRequest> request,
+ const RequestCopyOfSurfaceCallback& callback) override;
+ void ReleaseCopyOfSurface(const gpu::Mailbox& mailbox,
+ const ::gpu::SyncToken& sync_token,
+ bool is_lost) override;
protected:
void OnClientConnectionLost();

Powered by Google App Engine
This is Rietveld 408576698