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

Side by Side Diff: components/viz/frame_sinks/gpu_compositor_frame_sink.h

Issue 2872883002: Rename EvictFrame, EvictSurface to EvictCurrentSurface (Closed)
Patch Set: Rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_VIZ_FRAME_SINKS_GPU_COMPOSITOR_FRAME_SINK_H_ 5 #ifndef COMPONENTS_VIZ_FRAME_SINKS_GPU_COMPOSITOR_FRAME_SINK_H_
6 #define COMPONENTS_VIZ_FRAME_SINKS_GPU_COMPOSITOR_FRAME_SINK_H_ 6 #define COMPONENTS_VIZ_FRAME_SINKS_GPU_COMPOSITOR_FRAME_SINK_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 19 matching lines...) Expand all
30 GpuCompositorFrameSinkDelegate* delegate, 30 GpuCompositorFrameSinkDelegate* delegate,
31 cc::SurfaceManager* surface_manager, 31 cc::SurfaceManager* surface_manager,
32 const cc::FrameSinkId& frame_sink_id, 32 const cc::FrameSinkId& frame_sink_id,
33 cc::mojom::MojoCompositorFrameSinkRequest request, 33 cc::mojom::MojoCompositorFrameSinkRequest request,
34 cc::mojom::MojoCompositorFrameSinkPrivateRequest private_request, 34 cc::mojom::MojoCompositorFrameSinkPrivateRequest private_request,
35 cc::mojom::MojoCompositorFrameSinkClientPtr client); 35 cc::mojom::MojoCompositorFrameSinkClientPtr client);
36 36
37 ~GpuCompositorFrameSink() override; 37 ~GpuCompositorFrameSink() override;
38 38
39 // cc::mojom::MojoCompositorFrameSink: 39 // cc::mojom::MojoCompositorFrameSink:
40 void EvictFrame() override; 40 void EvictCurrentSurface() override;
41 void SetNeedsBeginFrame(bool needs_begin_frame) override; 41 void SetNeedsBeginFrame(bool needs_begin_frame) override;
42 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, 42 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
43 cc::CompositorFrame frame) override; 43 cc::CompositorFrame frame) override;
44 void BeginFrameDidNotSwap(const cc::BeginFrameAck& begin_frame_ack) override; 44 void BeginFrameDidNotSwap(const cc::BeginFrameAck& begin_frame_ack) override;
45 45
46 // cc::mojom::MojoCompositorFrameSinkPrivate: 46 // cc::mojom::MojoCompositorFrameSinkPrivate:
47 void ClaimTemporaryReference(const cc::SurfaceId& surface_id) override; 47 void ClaimTemporaryReference(const cc::SurfaceId& surface_id) override;
48 void RequestCopyOfSurface( 48 void RequestCopyOfSurface(
49 std::unique_ptr<cc::CopyOutputRequest> request) override; 49 std::unique_ptr<cc::CopyOutputRequest> request) override;
50 50
(...skipping 20 matching lines...) Expand all
71 compositor_frame_sink_binding_; 71 compositor_frame_sink_binding_;
72 mojo::Binding<cc::mojom::MojoCompositorFrameSinkPrivate> 72 mojo::Binding<cc::mojom::MojoCompositorFrameSinkPrivate>
73 compositor_frame_sink_private_binding_; 73 compositor_frame_sink_private_binding_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(GpuCompositorFrameSink); 75 DISALLOW_COPY_AND_ASSIGN(GpuCompositorFrameSink);
76 }; 76 };
77 77
78 } // namespace viz 78 } // namespace viz
79 79
80 #endif // COMPONENTS_VIZ_FRAME_SINKS_GPU_COMPOSITOR_FRAME_SINK_H_ 80 #endif // COMPONENTS_VIZ_FRAME_SINKS_GPU_COMPOSITOR_FRAME_SINK_H_
OLDNEW
« no previous file with comments | « cc/surfaces/surfaces_pixeltest.cc ('k') | components/viz/frame_sinks/gpu_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698