| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 bool IsPartialRasterEnabled() override; | 209 bool IsPartialRasterEnabled() override; |
| 210 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; | 210 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; |
| 211 bool IsElasticOverscrollEnabled() override; | 211 bool IsElasticOverscrollEnabled() override; |
| 212 std::vector<unsigned> GetImageTextureTargets() override; | 212 std::vector<unsigned> GetImageTextureTargets() override; |
| 213 scoped_refptr<base::SingleThreadTaskRunner> | 213 scoped_refptr<base::SingleThreadTaskRunner> |
| 214 GetCompositorMainThreadTaskRunner() override; | 214 GetCompositorMainThreadTaskRunner() override; |
| 215 scoped_refptr<base::SingleThreadTaskRunner> | 215 scoped_refptr<base::SingleThreadTaskRunner> |
| 216 GetCompositorImplThreadTaskRunner() override; | 216 GetCompositorImplThreadTaskRunner() override; |
| 217 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 217 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 218 scheduler::RendererScheduler* GetRendererScheduler() override; | 218 scheduler::RendererScheduler* GetRendererScheduler() override; |
| 219 cc::ContextProvider* GetSharedMainThreadContextProvider() override; | |
| 220 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( | 219 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( |
| 221 int routing_id) override; | 220 int routing_id) override; |
| 222 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; | 221 cc::ImageSerializationProcessor* GetImageSerializationProcessor() override; |
| 223 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 222 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
| 224 bool AreImageDecodeTasksEnabled() override; | 223 bool AreImageDecodeTasksEnabled() override; |
| 225 bool IsThreadedAnimationEnabled() override; | 224 bool IsThreadedAnimationEnabled() override; |
| 226 | 225 |
| 227 // Synchronously establish a channel to the GPU plugin if not previously | 226 // Synchronously establish a channel to the GPU plugin if not previously |
| 228 // established or if it has been lost (for example if the GPU plugin crashed). | 227 // established or if it has been lost (for example if the GPU plugin crashed). |
| 229 // If there is a pending asynchronous request, it will be completed by the | 228 // If there is a pending asynchronous request, it will be completed by the |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 709 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 711 }; | 710 }; |
| 712 | 711 |
| 713 #if defined(COMPILER_MSVC) | 712 #if defined(COMPILER_MSVC) |
| 714 #pragma warning(pop) | 713 #pragma warning(pop) |
| 715 #endif | 714 #endif |
| 716 | 715 |
| 717 } // namespace content | 716 } // namespace content |
| 718 | 717 |
| 719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 718 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |