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

Side by Side Diff: ui/aura/mus/window_compositor_frame_sink.h

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Undid a change on an if condition in exo::Surface::CommitSurfaceHierarchy() 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ 5 #ifndef UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_
6 #define UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ 6 #define UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
10 #include "cc/output/compositor_frame_sink.h" 10 #include "cc/output/compositor_frame_sink.h"
(...skipping 29 matching lines...) Expand all
40 WindowCompositorFrameSink( 40 WindowCompositorFrameSink(
41 scoped_refptr<cc::ContextProvider> context_provider, 41 scoped_refptr<cc::ContextProvider> context_provider,
42 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 42 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
43 cc::mojom::MojoCompositorFrameSinkPtrInfo compositor_frame_sink_info, 43 cc::mojom::MojoCompositorFrameSinkPtrInfo compositor_frame_sink_info,
44 cc::mojom::MojoCompositorFrameSinkClientRequest client_request); 44 cc::mojom::MojoCompositorFrameSinkClientRequest client_request);
45 45
46 // cc::mojom::MojoCompositorFrameSinkClient implementation: 46 // cc::mojom::MojoCompositorFrameSinkClient implementation:
47 void DidReceiveCompositorFrameAck() override; 47 void DidReceiveCompositorFrameAck() override;
48 void OnBeginFrame(const cc::BeginFrameArgs& begin_frame_args) override; 48 void OnBeginFrame(const cc::BeginFrameArgs& begin_frame_args) override;
49 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; 49 void ReclaimResources(const cc::ReturnedResourceArray& resources) override;
50 void WillDrawSurface() override;
50 51
51 // cc::ExternalBeginFrameSourceClient implementation. 52 // cc::ExternalBeginFrameSourceClient implementation.
52 void OnNeedsBeginFrames(bool needs_begin_frames) override; 53 void OnNeedsBeginFrames(bool needs_begin_frames) override;
53 54
54 gfx::Size last_submitted_frame_size_; 55 gfx::Size last_submitted_frame_size_;
55 cc::LocalFrameId local_frame_id_; 56 cc::LocalFrameId local_frame_id_;
56 cc::SurfaceIdAllocator id_allocator_; 57 cc::SurfaceIdAllocator id_allocator_;
57 std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_; 58 std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_;
58 cc::mojom::MojoCompositorFrameSinkPtrInfo compositor_frame_sink_info_; 59 cc::mojom::MojoCompositorFrameSinkPtrInfo compositor_frame_sink_info_;
59 cc::mojom::MojoCompositorFrameSinkClientRequest client_request_; 60 cc::mojom::MojoCompositorFrameSinkClientRequest client_request_;
(...skipping 27 matching lines...) Expand all
87 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request_; 88 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request_;
88 mojo::InterfacePtrInfo<cc::mojom::MojoCompositorFrameSinkClient> 89 mojo::InterfacePtrInfo<cc::mojom::MojoCompositorFrameSinkClient>
89 compositor_frame_sink_client_; 90 compositor_frame_sink_client_;
90 91
91 DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding); 92 DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding);
92 }; 93 };
93 94
94 } // namespace aura 95 } // namespace aura
95 96
96 #endif // UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_ 97 #endif // UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698