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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink.h

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase. 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 f1ebaf54c2e563d335a1e66ea1aba9248a7cc8cc..48365f176ee8bbc41eeeafbd5a7c197d7981acf8 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"
@@ -43,6 +45,7 @@ class DISPLAY_COMPOSITOR_EXPORT GpuCompositorFrameSink
cc::CompositorFrame frame) override;
// cc::mojom::MojoCompositorFrameSinkPrivate:
+ void ClaimTemporaryReference(const cc::SurfaceId& surface_id) override;
void RequestCopyOfSurface(
std::unique_ptr<cc::CopyOutputRequest> request) override;
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | components/display_compositor/gpu_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698