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

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

Issue 2541683004: Add/remove surface references via MojoCompositorFrameSink. (Closed)
Patch Set: Cleanup. 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
« no previous file with comments | « services/ui/surfaces/gpu_compositor_frame_sink.h ('k') | services/ui/ws/frame_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..af09469886e941e638ba793bff6af8c2cfda69ae 100644
--- a/services/ui/surfaces/gpu_compositor_frame_sink.cc
+++ b/services/ui/surfaces/gpu_compositor_frame_sink.cc
@@ -47,6 +47,16 @@ void GpuCompositorFrameSink::SubmitCompositorFrame(
support_.SubmitCompositorFrame(local_frame_id, std::move(frame));
}
+void GpuCompositorFrameSink::AddSurfaceReferences(
+ const std::vector<cc::SurfaceReference>& references) {
+ display_compositor_->AddSurfaceReferences(references);
+}
+
+void GpuCompositorFrameSink::RemoveSurfaceReferences(
+ const std::vector<cc::SurfaceReference>& references) {
+ display_compositor_->RemoveSurfaceReferences(references);
+}
+
void GpuCompositorFrameSink::DidReceiveCompositorFrameAck() {
client_->DidReceiveCompositorFrameAck();
}
« no previous file with comments | « services/ui/surfaces/gpu_compositor_frame_sink.h ('k') | services/ui/ws/frame_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698