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

Unified Diff: components/display_compositor/gpu_root_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_root_compositor_frame_sink.h
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.h b/components/display_compositor/gpu_root_compositor_frame_sink.h
index f502a635c03293b2103885d5ff3745f2d6337755..d152bb18e1a8435b5c19b8be2612265289f359b6 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.h
@@ -9,6 +9,8 @@
#include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
#include "cc/surfaces/compositor_frame_sink_support_client.h"
#include "cc/surfaces/display_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/associated_binding.h"
@@ -18,7 +20,6 @@ namespace cc {
class BeginFrameSource;
class CompositorFrameSinkSupport;
class Display;
-class FrameSinkId;
class SurfaceManager;
}
@@ -61,6 +62,7 @@ class DISPLAY_COMPOSITOR_EXPORT GpuRootCompositorFrameSink
cc::CompositorFrame frame) override;
// cc::mojom::MojoCompositorFrameSinkPrivate:
+ void ClaimTemporaryReference(const cc::SurfaceId& surface_id) override;
void RequestCopyOfSurface(
std::unique_ptr<cc::CopyOutputRequest> request) override;

Powered by Google App Engine
This is Rietveld 408576698