| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 class WebMediaStreamCenterClient; | 63 class WebMediaStreamCenterClient; |
| 64 } | 64 } |
| 65 | 65 |
| 66 namespace base { | 66 namespace base { |
| 67 class SingleThreadTaskRunner; | 67 class SingleThreadTaskRunner; |
| 68 class Thread; | 68 class Thread; |
| 69 } | 69 } |
| 70 | 70 |
| 71 namespace cc { | 71 namespace cc { |
| 72 class BeginFrameSource; | 72 class BeginFrameSource; |
| 73 class ImageSerializationProcessor; | |
| 74 class CompositorFrameSink; | 73 class CompositorFrameSink; |
| 75 class TaskGraphRunner; | 74 class TaskGraphRunner; |
| 76 } | 75 } |
| 77 | 76 |
| 78 namespace discardable_memory { | 77 namespace discardable_memory { |
| 79 class ClientDiscardableSharedMemoryManager; | 78 class ClientDiscardableSharedMemoryManager; |
| 80 } | 79 } |
| 81 | 80 |
| 82 namespace gpu { | 81 namespace gpu { |
| 83 class GpuChannelHost; | 82 class GpuChannelHost; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 bool IsZeroCopyEnabled() override; | 226 bool IsZeroCopyEnabled() override; |
| 228 bool IsPartialRasterEnabled() override; | 227 bool IsPartialRasterEnabled() override; |
| 229 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; | 228 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; |
| 230 bool IsElasticOverscrollEnabled() override; | 229 bool IsElasticOverscrollEnabled() override; |
| 231 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; | 230 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; |
| 232 scoped_refptr<base::SingleThreadTaskRunner> | 231 scoped_refptr<base::SingleThreadTaskRunner> |
| 233 GetCompositorMainThreadTaskRunner() override; | 232 GetCompositorMainThreadTaskRunner() override; |
| 234 scoped_refptr<base::SingleThreadTaskRunner> | 233 scoped_refptr<base::SingleThreadTaskRunner> |
| 235 GetCompositorImplThreadTaskRunner() override; | 234 GetCompositorImplThreadTaskRunner() override; |
| 236 blink::scheduler::RendererScheduler* GetRendererScheduler() override; | 235 blink::scheduler::RendererScheduler* GetRendererScheduler() override; |
| 237 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; | |
| 238 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 236 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
| 239 bool AreImageDecodeTasksEnabled() override; | 237 bool AreImageDecodeTasksEnabled() override; |
| 240 bool IsThreadedAnimationEnabled() override; | 238 bool IsThreadedAnimationEnabled() override; |
| 241 | 239 |
| 242 // blink::scheduler::RendererScheduler::RAILModeObserver implementation. | 240 // blink::scheduler::RendererScheduler::RAILModeObserver implementation. |
| 243 void OnRAILModeChanged(v8::RAILMode rail_mode) override; | 241 void OnRAILModeChanged(v8::RAILMode rail_mode) override; |
| 244 | 242 |
| 245 // Synchronously establish a channel to the GPU plugin if not previously | 243 // Synchronously establish a channel to the GPU plugin if not previously |
| 246 // 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). |
| 247 // 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 |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 767 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 770 }; | 768 }; |
| 771 | 769 |
| 772 #if defined(COMPILER_MSVC) | 770 #if defined(COMPILER_MSVC) |
| 773 #pragma warning(pop) | 771 #pragma warning(pop) |
| 774 #endif | 772 #endif |
| 775 | 773 |
| 776 } // namespace content | 774 } // namespace content |
| 777 | 775 |
| 778 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 776 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |