| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 #if defined(OS_WIN) | 178 #if defined(OS_WIN) |
| 179 virtual void PreCacheFont(const LOGFONT& log_font) override; | 179 virtual void PreCacheFont(const LOGFONT& log_font) override; |
| 180 virtual void ReleaseCachedFonts() override; | 180 virtual void ReleaseCachedFonts() override; |
| 181 #endif | 181 #endif |
| 182 ServiceRegistry* GetServiceRegistry() override; | 182 ServiceRegistry* GetServiceRegistry() override; |
| 183 | 183 |
| 184 // CompositorDependencies implementation. | 184 // CompositorDependencies implementation. |
| 185 bool IsImplSidePaintingEnabled() override; | 185 bool IsImplSidePaintingEnabled() override; |
| 186 bool IsGpuRasterizationForced() override; | 186 bool IsGpuRasterizationForced() override; |
| 187 bool IsGpuRasterizationEnabled() override; | 187 bool IsGpuRasterizationEnabled() override; |
| 188 bool IsThreadedGpuRasterizationEnabled() override; |
| 188 int GetGpuRasterizationMSAASampleCount() override; | 189 int GetGpuRasterizationMSAASampleCount() override; |
| 189 bool IsLcdTextEnabled() override; | 190 bool IsLcdTextEnabled() override; |
| 190 bool IsDistanceFieldTextEnabled() override; | 191 bool IsDistanceFieldTextEnabled() override; |
| 191 bool IsZeroCopyEnabled() override; | 192 bool IsZeroCopyEnabled() override; |
| 192 bool IsOneCopyEnabled() override; | 193 bool IsOneCopyEnabled() override; |
| 193 bool IsElasticOverscrollEnabled() override; | 194 bool IsElasticOverscrollEnabled() override; |
| 194 bool UseSingleThreadScheduler() override; | 195 bool UseSingleThreadScheduler() override; |
| 195 uint32 GetImageTextureTarget() override; | 196 uint32 GetImageTextureTarget() override; |
| 196 scoped_refptr<base::SingleThreadTaskRunner> | 197 scoped_refptr<base::SingleThreadTaskRunner> |
| 197 GetCompositorMainThreadTaskRunner() override; | 198 GetCompositorMainThreadTaskRunner() override; |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 | 589 |
| 589 scoped_refptr<base::SingleThreadTaskRunner> | 590 scoped_refptr<base::SingleThreadTaskRunner> |
| 590 main_thread_compositor_task_runner_; | 591 main_thread_compositor_task_runner_; |
| 591 | 592 |
| 592 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; | 593 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; |
| 593 | 594 |
| 594 // Compositor settings. | 595 // Compositor settings. |
| 595 bool is_gpu_rasterization_enabled_; | 596 bool is_gpu_rasterization_enabled_; |
| 596 bool is_gpu_rasterization_forced_; | 597 bool is_gpu_rasterization_forced_; |
| 597 int gpu_rasterization_msaa_sample_count_; | 598 int gpu_rasterization_msaa_sample_count_; |
| 599 bool is_threaded_gpu_rasterization_enabled_; |
| 598 bool is_impl_side_painting_enabled_; | 600 bool is_impl_side_painting_enabled_; |
| 599 bool is_lcd_text_enabled_; | 601 bool is_lcd_text_enabled_; |
| 600 bool is_distance_field_text_enabled_; | 602 bool is_distance_field_text_enabled_; |
| 601 bool is_zero_copy_enabled_; | 603 bool is_zero_copy_enabled_; |
| 602 bool is_one_copy_enabled_; | 604 bool is_one_copy_enabled_; |
| 603 bool is_elastic_overscroll_enabled_; | 605 bool is_elastic_overscroll_enabled_; |
| 604 unsigned use_image_texture_target_; | 606 unsigned use_image_texture_target_; |
| 605 | 607 |
| 606 struct PendingRenderFrameConnect | 608 struct PendingRenderFrameConnect |
| 607 : public base::RefCounted<PendingRenderFrameConnect> { | 609 : public base::RefCounted<PendingRenderFrameConnect> { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 621 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> | 623 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> |
| 622 PendingRenderFrameConnectMap; | 624 PendingRenderFrameConnectMap; |
| 623 PendingRenderFrameConnectMap pending_render_frame_connects_; | 625 PendingRenderFrameConnectMap pending_render_frame_connects_; |
| 624 | 626 |
| 625 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 627 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 626 }; | 628 }; |
| 627 | 629 |
| 628 } // namespace content | 630 } // namespace content |
| 629 | 631 |
| 630 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 632 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |