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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 bool IsZeroCopyEnabled() override; | 192 bool IsZeroCopyEnabled() override; |
193 bool IsOneCopyEnabled() override; | 193 bool IsOneCopyEnabled() override; |
194 bool IsElasticOverscrollEnabled() override; | 194 bool IsElasticOverscrollEnabled() override; |
195 bool UseSingleThreadScheduler() override; | 195 bool UseSingleThreadScheduler() override; |
196 uint32 GetImageTextureTarget() override; | 196 uint32 GetImageTextureTarget() override; |
197 scoped_refptr<base::SingleThreadTaskRunner> | 197 scoped_refptr<base::SingleThreadTaskRunner> |
198 GetCompositorMainThreadTaskRunner() override; | 198 GetCompositorMainThreadTaskRunner() override; |
199 scoped_refptr<base::SingleThreadTaskRunner> | 199 scoped_refptr<base::SingleThreadTaskRunner> |
200 GetCompositorImplThreadTaskRunner() override; | 200 GetCompositorImplThreadTaskRunner() override; |
201 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 201 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 202 cc::CompositorMutator* GetCompositorMutator() override; |
202 RendererScheduler* GetRendererScheduler() override; | 203 RendererScheduler* GetRendererScheduler() override; |
203 cc::ContextProvider* GetSharedMainThreadContextProvider() override; | 204 cc::ContextProvider* GetSharedMainThreadContextProvider() override; |
204 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( | 205 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( |
205 int routing_id) override; | 206 int routing_id) override; |
206 | 207 |
207 // Synchronously establish a channel to the GPU plugin if not previously | 208 // Synchronously establish a channel to the GPU plugin if not previously |
208 // established or if it has been lost (for example if the GPU plugin crashed). | 209 // established or if it has been lost (for example if the GPU plugin crashed). |
209 // If there is a pending asynchronous request, it will be completed by the | 210 // If there is a pending asynchronous request, it will be completed by the |
210 // time this routine returns. | 211 // time this routine returns. |
211 GpuChannelHost* EstablishGpuChannelSync(CauseForGpuLaunch); | 212 GpuChannelHost* EstablishGpuChannelSync(CauseForGpuLaunch); |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 641 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
641 }; | 642 }; |
642 | 643 |
643 #if defined(COMPILER_MSVC) | 644 #if defined(COMPILER_MSVC) |
644 #pragma warning(pop) | 645 #pragma warning(pop) |
645 #endif | 646 #endif |
646 | 647 |
647 } // namespace content | 648 } // namespace content |
648 | 649 |
649 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 650 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |