| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 // CompositorDependencies implementation. | 186 // CompositorDependencies implementation. |
| 187 bool IsImplSidePaintingEnabled() override; | 187 bool IsImplSidePaintingEnabled() override; |
| 188 bool IsGpuRasterizationForced() override; | 188 bool IsGpuRasterizationForced() override; |
| 189 bool IsGpuRasterizationEnabled() override; | 189 bool IsGpuRasterizationEnabled() override; |
| 190 int GetGpuRasterizationMSAASampleCount() override; | 190 int GetGpuRasterizationMSAASampleCount() override; |
| 191 bool IsLcdTextEnabled() override; | 191 bool IsLcdTextEnabled() override; |
| 192 bool IsDistanceFieldTextEnabled() override; | 192 bool IsDistanceFieldTextEnabled() override; |
| 193 bool IsZeroCopyEnabled() override; | 193 bool IsZeroCopyEnabled() override; |
| 194 bool IsOneCopyEnabled() override; | 194 bool IsOneCopyEnabled() override; |
| 195 bool HavePersistentGpuMemoryBuffers() override; |
| 195 bool IsElasticOverscrollEnabled() override; | 196 bool IsElasticOverscrollEnabled() override; |
| 196 uint32 GetImageTextureTarget() override; | 197 uint32 GetImageTextureTarget() override; |
| 197 scoped_refptr<base::SingleThreadTaskRunner> | 198 scoped_refptr<base::SingleThreadTaskRunner> |
| 198 GetCompositorMainThreadTaskRunner() override; | 199 GetCompositorMainThreadTaskRunner() override; |
| 199 scoped_refptr<base::SingleThreadTaskRunner> | 200 scoped_refptr<base::SingleThreadTaskRunner> |
| 200 GetCompositorImplThreadTaskRunner() override; | 201 GetCompositorImplThreadTaskRunner() override; |
| 201 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 202 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 202 scheduler::RendererScheduler* GetRendererScheduler() override; | 203 scheduler::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( |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 602 |
| 602 // Compositor settings. | 603 // Compositor settings. |
| 603 bool is_gpu_rasterization_enabled_; | 604 bool is_gpu_rasterization_enabled_; |
| 604 bool is_gpu_rasterization_forced_; | 605 bool is_gpu_rasterization_forced_; |
| 605 int gpu_rasterization_msaa_sample_count_; | 606 int gpu_rasterization_msaa_sample_count_; |
| 606 bool is_impl_side_painting_enabled_; | 607 bool is_impl_side_painting_enabled_; |
| 607 bool is_lcd_text_enabled_; | 608 bool is_lcd_text_enabled_; |
| 608 bool is_distance_field_text_enabled_; | 609 bool is_distance_field_text_enabled_; |
| 609 bool is_zero_copy_enabled_; | 610 bool is_zero_copy_enabled_; |
| 610 bool is_one_copy_enabled_; | 611 bool is_one_copy_enabled_; |
| 612 bool have_persistent_gpu_memory_buffers_; |
| 611 bool is_elastic_overscroll_enabled_; | 613 bool is_elastic_overscroll_enabled_; |
| 612 unsigned use_image_texture_target_; | 614 unsigned use_image_texture_target_; |
| 613 bool is_gather_pixel_refs_enabled_; | 615 bool is_gather_pixel_refs_enabled_; |
| 614 | 616 |
| 615 class PendingRenderFrameConnect | 617 class PendingRenderFrameConnect |
| 616 : public base::RefCounted<PendingRenderFrameConnect>, | 618 : public base::RefCounted<PendingRenderFrameConnect>, |
| 617 public mojo::ErrorHandler { | 619 public mojo::ErrorHandler { |
| 618 public: | 620 public: |
| 619 PendingRenderFrameConnect( | 621 PendingRenderFrameConnect( |
| 620 int routing_id, | 622 int routing_id, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 646 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 648 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 647 }; | 649 }; |
| 648 | 650 |
| 649 #if defined(COMPILER_MSVC) | 651 #if defined(COMPILER_MSVC) |
| 650 #pragma warning(pop) | 652 #pragma warning(pop) |
| 651 #endif | 653 #endif |
| 652 | 654 |
| 653 } // namespace content | 655 } // namespace content |
| 654 | 656 |
| 655 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 657 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |