| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void UpdateHistograms(int sequence_number) override; | 177 void UpdateHistograms(int sequence_number) override; |
| 178 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 178 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
| 179 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 179 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
| 180 base::WaitableEvent* GetShutdownEvent() override; | 180 base::WaitableEvent* GetShutdownEvent() override; |
| 181 ServiceRegistry* GetServiceRegistry() override; | 181 ServiceRegistry* GetServiceRegistry() override; |
| 182 | 182 |
| 183 // CompositorDependencies implementation. | 183 // CompositorDependencies implementation. |
| 184 bool IsImplSidePaintingEnabled() override; | 184 bool IsImplSidePaintingEnabled() override; |
| 185 bool IsGpuRasterizationForced() override; | 185 bool IsGpuRasterizationForced() override; |
| 186 bool IsGpuRasterizationEnabled() override; | 186 bool IsGpuRasterizationEnabled() override; |
| 187 bool IsThreadedGpuRasterizationEnabled() override; | |
| 188 int GetGpuRasterizationMSAASampleCount() override; | 187 int GetGpuRasterizationMSAASampleCount() override; |
| 189 bool IsLcdTextEnabled() override; | 188 bool IsLcdTextEnabled() override; |
| 190 bool IsDistanceFieldTextEnabled() override; | 189 bool IsDistanceFieldTextEnabled() override; |
| 191 bool IsZeroCopyEnabled() override; | 190 bool IsZeroCopyEnabled() override; |
| 192 bool IsOneCopyEnabled() override; | 191 bool IsOneCopyEnabled() override; |
| 193 bool IsElasticOverscrollEnabled() override; | 192 bool IsElasticOverscrollEnabled() override; |
| 194 bool UseSingleThreadScheduler() override; | 193 bool UseSingleThreadScheduler() override; |
| 195 uint32 GetImageTextureTarget() override; | 194 uint32 GetImageTextureTarget() override; |
| 196 scoped_refptr<base::SingleThreadTaskRunner> | 195 scoped_refptr<base::SingleThreadTaskRunner> |
| 197 GetCompositorMainThreadTaskRunner() override; | 196 GetCompositorMainThreadTaskRunner() override; |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 main_thread_compositor_task_runner_; | 596 main_thread_compositor_task_runner_; |
| 598 | 597 |
| 599 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; | 598 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; |
| 600 | 599 |
| 601 scoped_ptr<cc::TaskGraphRunner> compositor_task_graph_runner_; | 600 scoped_ptr<cc::TaskGraphRunner> compositor_task_graph_runner_; |
| 602 | 601 |
| 603 // Compositor settings. | 602 // Compositor settings. |
| 604 bool is_gpu_rasterization_enabled_; | 603 bool is_gpu_rasterization_enabled_; |
| 605 bool is_gpu_rasterization_forced_; | 604 bool is_gpu_rasterization_forced_; |
| 606 int gpu_rasterization_msaa_sample_count_; | 605 int gpu_rasterization_msaa_sample_count_; |
| 607 bool is_threaded_gpu_rasterization_enabled_; | |
| 608 bool is_impl_side_painting_enabled_; | 606 bool is_impl_side_painting_enabled_; |
| 609 bool is_lcd_text_enabled_; | 607 bool is_lcd_text_enabled_; |
| 610 bool is_distance_field_text_enabled_; | 608 bool is_distance_field_text_enabled_; |
| 611 bool is_zero_copy_enabled_; | 609 bool is_zero_copy_enabled_; |
| 612 bool is_one_copy_enabled_; | 610 bool is_one_copy_enabled_; |
| 613 bool is_elastic_overscroll_enabled_; | 611 bool is_elastic_overscroll_enabled_; |
| 614 unsigned use_image_texture_target_; | 612 unsigned use_image_texture_target_; |
| 615 bool is_gather_pixel_refs_enabled_; | 613 bool is_gather_pixel_refs_enabled_; |
| 616 | 614 |
| 617 class PendingRenderFrameConnect | 615 class PendingRenderFrameConnect |
| (...skipping 30 matching lines...) Expand all Loading... |
| 648 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 646 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 649 }; | 647 }; |
| 650 | 648 |
| 651 #if defined(COMPILER_MSVC) | 649 #if defined(COMPILER_MSVC) |
| 652 #pragma warning(pop) | 650 #pragma warning(pop) |
| 653 #endif | 651 #endif |
| 654 | 652 |
| 655 } // namespace content | 653 } // namespace content |
| 656 | 654 |
| 657 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 655 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |