| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override; | 211 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override; |
| 212 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override; | 212 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override; |
| 213 | 213 |
| 214 // IPC::Listener implementation via ChildThreadImpl: | 214 // IPC::Listener implementation via ChildThreadImpl: |
| 215 void OnAssociatedInterfaceRequest( | 215 void OnAssociatedInterfaceRequest( |
| 216 const std::string& name, | 216 const std::string& name, |
| 217 mojo::ScopedInterfaceEndpointHandle handle) override; | 217 mojo::ScopedInterfaceEndpointHandle handle) override; |
| 218 | 218 |
| 219 // CompositorDependencies implementation. | 219 // CompositorDependencies implementation. |
| 220 bool IsGpuRasterizationForced() override; | 220 bool IsGpuRasterizationForced() override; |
| 221 bool IsGpuRasterizationEnabled() override; | |
| 222 bool IsAsyncWorkerContextEnabled() override; | 221 bool IsAsyncWorkerContextEnabled() override; |
| 223 int GetGpuRasterizationMSAASampleCount() override; | 222 int GetGpuRasterizationMSAASampleCount() override; |
| 224 bool IsLcdTextEnabled() override; | 223 bool IsLcdTextEnabled() override; |
| 225 bool IsDistanceFieldTextEnabled() override; | 224 bool IsDistanceFieldTextEnabled() override; |
| 226 bool IsZeroCopyEnabled() override; | 225 bool IsZeroCopyEnabled() override; |
| 227 bool IsPartialRasterEnabled() override; | 226 bool IsPartialRasterEnabled() override; |
| 228 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; | 227 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; |
| 229 bool IsElasticOverscrollEnabled() override; | 228 bool IsElasticOverscrollEnabled() override; |
| 230 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; | 229 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; |
| 231 scoped_refptr<base::SingleThreadTaskRunner> | 230 scoped_refptr<base::SingleThreadTaskRunner> |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 | 700 |
| 702 std::unique_ptr<MemoryObserver> memory_observer_; | 701 std::unique_ptr<MemoryObserver> memory_observer_; |
| 703 std::unique_ptr<ChildMemoryCoordinatorImpl> memory_coordinator_; | 702 std::unique_ptr<ChildMemoryCoordinatorImpl> memory_coordinator_; |
| 704 | 703 |
| 705 std::unique_ptr<ui::Gpu> gpu_; | 704 std::unique_ptr<ui::Gpu> gpu_; |
| 706 | 705 |
| 707 scoped_refptr<base::SingleThreadTaskRunner> | 706 scoped_refptr<base::SingleThreadTaskRunner> |
| 708 main_thread_compositor_task_runner_; | 707 main_thread_compositor_task_runner_; |
| 709 | 708 |
| 710 // Compositor settings. | 709 // Compositor settings. |
| 711 bool is_gpu_rasterization_enabled_; | |
| 712 bool is_gpu_rasterization_forced_; | 710 bool is_gpu_rasterization_forced_; |
| 713 bool is_async_worker_context_enabled_; | 711 bool is_async_worker_context_enabled_; |
| 714 int gpu_rasterization_msaa_sample_count_; | 712 int gpu_rasterization_msaa_sample_count_; |
| 715 bool is_lcd_text_enabled_; | 713 bool is_lcd_text_enabled_; |
| 716 bool is_distance_field_text_enabled_; | 714 bool is_distance_field_text_enabled_; |
| 717 bool is_zero_copy_enabled_; | 715 bool is_zero_copy_enabled_; |
| 718 bool is_gpu_memory_buffer_compositor_resources_enabled_; | 716 bool is_gpu_memory_buffer_compositor_resources_enabled_; |
| 719 bool is_partial_raster_enabled_; | 717 bool is_partial_raster_enabled_; |
| 720 bool is_elastic_overscroll_enabled_; | 718 bool is_elastic_overscroll_enabled_; |
| 721 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; | 719 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 770 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 773 }; | 771 }; |
| 774 | 772 |
| 775 #if defined(COMPILER_MSVC) | 773 #if defined(COMPILER_MSVC) |
| 776 #pragma warning(pop) | 774 #pragma warning(pop) |
| 777 #endif | 775 #endif |
| 778 | 776 |
| 779 } // namespace content | 777 } // namespace content |
| 780 | 778 |
| 781 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 779 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |