| OLD | NEW |
| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 242 |
| 243 // Synchronously establish a channel to the GPU plugin if not previously | 243 // Synchronously establish a channel to the GPU plugin if not previously |
| 244 // established or if it has been lost (for example if the GPU plugin crashed). | 244 // established or if it has been lost (for example if the GPU plugin crashed). |
| 245 // If there is a pending asynchronous request, it will be completed by the | 245 // If there is a pending asynchronous request, it will be completed by the |
| 246 // time this routine returns. | 246 // time this routine returns. |
| 247 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync(); | 247 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync(); |
| 248 | 248 |
| 249 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager(); | 249 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager(); |
| 250 | 250 |
| 251 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink( | 251 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink( |
| 252 const cc::FrameSinkId& frame_sink_id, |
| 252 bool use_software, | 253 bool use_software, |
| 253 int routing_id, | 254 int routing_id, |
| 254 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue, | 255 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue, |
| 255 const GURL& url); | 256 const GURL& url); |
| 256 | 257 |
| 257 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry(); | 258 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry(); |
| 258 | 259 |
| 259 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( | 260 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( |
| 260 int32_t routing_id, | 261 int32_t routing_id, |
| 261 std::unique_ptr<cc::CopyOutputRequest> request); | 262 std::unique_ptr<cc::CopyOutputRequest> request); |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 773 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 773 }; | 774 }; |
| 774 | 775 |
| 775 #if defined(COMPILER_MSVC) | 776 #if defined(COMPILER_MSVC) |
| 776 #pragma warning(pop) | 777 #pragma warning(pop) |
| 777 #endif | 778 #endif |
| 778 | 779 |
| 779 } // namespace content | 780 } // namespace content |
| 780 | 781 |
| 781 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 782 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |