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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: rebase Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 namespace base { 61 namespace base {
62 class SingleThreadTaskRunner; 62 class SingleThreadTaskRunner;
63 class Thread; 63 class Thread;
64 } 64 }
65 65
66 namespace cc { 66 namespace cc {
67 class ContextProvider; 67 class ContextProvider;
68 class ImageSerializationProcessor; 68 class ImageSerializationProcessor;
69 class OutputSurface; 69 class CompositorFrameSink;
70 class TaskGraphRunner; 70 class TaskGraphRunner;
71 } 71 }
72 72
73 namespace gpu { 73 namespace gpu {
74 class GpuChannelHost; 74 class GpuChannelHost;
75 } 75 }
76 76
77 namespace IPC { 77 namespace IPC {
78 class MessageFilter; 78 class MessageFilter;
79 } 79 }
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 // blink::scheduler::RendererScheduler::RAILModeObserver implementation. 225 // blink::scheduler::RendererScheduler::RAILModeObserver implementation.
226 void OnRAILModeChanged(v8::RAILMode rail_mode) override; 226 void OnRAILModeChanged(v8::RAILMode rail_mode) override;
227 227
228 // Synchronously establish a channel to the GPU plugin if not previously 228 // Synchronously establish a channel to the GPU plugin if not previously
229 // established or if it has been lost (for example if the GPU plugin crashed). 229 // established or if it has been lost (for example if the GPU plugin crashed).
230 // If there is a pending asynchronous request, it will be completed by the 230 // If there is a pending asynchronous request, it will be completed by the
231 // time this routine returns. 231 // time this routine returns.
232 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync(); 232 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync();
233 233
234 std::unique_ptr<cc::OutputSurface> CreateCompositorOutputSurface( 234 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(
235 bool use_software, 235 bool use_software,
236 int routing_id, 236 int routing_id,
237 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue, 237 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue,
238 const GURL& url); 238 const GURL& url);
239 239
240 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( 240 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest(
241 int32_t routing_id, 241 int32_t routing_id,
242 std::unique_ptr<cc::CopyOutputRequest> request); 242 std::unique_ptr<cc::CopyOutputRequest> request);
243 243
244 // True if we are running layout tests. This currently disables forwarding 244 // True if we are running layout tests. This currently disables forwarding
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 715 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
716 }; 716 };
717 717
718 #if defined(COMPILER_MSVC) 718 #if defined(COMPILER_MSVC)
719 #pragma warning(pop) 719 #pragma warning(pop)
720 #endif 720 #endif
721 721
722 } // namespace content 722 } // namespace content
723 723
724 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 724 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698