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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 int64 GetIdleNotificationDelayInMs() const override; | 176 int64 GetIdleNotificationDelayInMs() const override; |
177 void SetIdleNotificationDelayInMs( | 177 void SetIdleNotificationDelayInMs( |
178 int64 idle_notification_delay_in_ms) override; | 178 int64 idle_notification_delay_in_ms) override; |
179 void UpdateHistograms(int sequence_number) override; | 179 void UpdateHistograms(int sequence_number) override; |
180 int PostTaskToAllWebWorkers(const base::Closure& closure) override; | 180 int PostTaskToAllWebWorkers(const base::Closure& closure) override; |
181 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; | 181 bool ResolveProxy(const GURL& url, std::string* proxy_list) override; |
182 base::WaitableEvent* GetShutdownEvent() override; | 182 base::WaitableEvent* GetShutdownEvent() override; |
183 ServiceRegistry* GetServiceRegistry() override; | 183 ServiceRegistry* GetServiceRegistry() override; |
184 | 184 |
185 // CompositorDependencies implementation. | 185 // CompositorDependencies implementation. |
186 bool IsImplSidePaintingEnabled() override; | |
187 bool IsGpuRasterizationForced() override; | 186 bool IsGpuRasterizationForced() override; |
188 bool IsGpuRasterizationEnabled() override; | 187 bool IsGpuRasterizationEnabled() override; |
189 int GetGpuRasterizationMSAASampleCount() override; | 188 int GetGpuRasterizationMSAASampleCount() override; |
190 bool IsLcdTextEnabled() override; | 189 bool IsLcdTextEnabled() override; |
191 bool IsDistanceFieldTextEnabled() override; | 190 bool IsDistanceFieldTextEnabled() override; |
192 bool IsZeroCopyEnabled() override; | 191 bool IsZeroCopyEnabled() override; |
193 bool IsOneCopyEnabled() override; | 192 bool IsOneCopyEnabled() override; |
194 bool IsElasticOverscrollEnabled() override; | 193 bool IsElasticOverscrollEnabled() override; |
195 uint32 GetImageTextureTarget() override; | 194 uint32 GetImageTextureTarget() override; |
196 scoped_refptr<base::SingleThreadTaskRunner> | 195 scoped_refptr<base::SingleThreadTaskRunner> |
(...skipping 400 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_impl_side_painting_enabled_; | |
608 bool is_lcd_text_enabled_; | 606 bool is_lcd_text_enabled_; |
609 bool is_distance_field_text_enabled_; | 607 bool is_distance_field_text_enabled_; |
610 bool is_zero_copy_enabled_; | 608 bool is_zero_copy_enabled_; |
611 bool is_one_copy_enabled_; | 609 bool is_one_copy_enabled_; |
612 bool is_elastic_overscroll_enabled_; | 610 bool is_elastic_overscroll_enabled_; |
613 unsigned use_image_texture_target_; | 611 unsigned use_image_texture_target_; |
614 bool is_gather_pixel_refs_enabled_; | 612 bool is_gather_pixel_refs_enabled_; |
615 | 613 |
616 class PendingRenderFrameConnect | 614 class PendingRenderFrameConnect |
617 : public base::RefCounted<PendingRenderFrameConnect>, | 615 : public base::RefCounted<PendingRenderFrameConnect>, |
(...skipping 29 matching lines...) Expand all Loading... |
647 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 645 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
648 }; | 646 }; |
649 | 647 |
650 #if defined(COMPILER_MSVC) | 648 #if defined(COMPILER_MSVC) |
651 #pragma warning(pop) | 649 #pragma warning(pop) |
652 #endif | 650 #endif |
653 | 651 |
654 } // namespace content | 652 } // namespace content |
655 | 653 |
656 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 654 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |