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

Unified Diff: services/ui/surfaces/gpu_compositor_frame_sink.cc

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Moved CompositorFrameSink implementation details in to CompositorFrameSinkSupport; addressed commen… Created 4 years 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: services/ui/surfaces/gpu_compositor_frame_sink.cc
diff --git a/services/ui/surfaces/gpu_compositor_frame_sink.cc b/services/ui/surfaces/gpu_compositor_frame_sink.cc
index 22f127935e215bcbffef2482c5e9118c118e89c7..7d0ade0cba1ad5b9fd2a3550437214a6d7d430af 100644
--- a/services/ui/surfaces/gpu_compositor_frame_sink.cc
+++ b/services/ui/surfaces/gpu_compositor_frame_sink.cc
@@ -47,6 +47,15 @@ void GpuCompositorFrameSink::SubmitCompositorFrame(
support_.SubmitCompositorFrame(local_frame_id, std::move(frame));
}
+void GpuCompositorFrameSink::Require(const cc::LocalFrameId& local_frame_id,
+ const cc::SurfaceSequence& sequence) {
+ support_.Require(local_frame_id, sequence);
+}
+
+void GpuCompositorFrameSink::Satisfy(const cc::SurfaceSequence& sequence) {
+ support_.Satisfy(sequence);
+}
+
void GpuCompositorFrameSink::DidReceiveCompositorFrameAck() {
client_->DidReceiveCompositorFrameAck();
}

Powered by Google App Engine
This is Rietveld 408576698