Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2781183002: Remove image_decode_tasks_enabled flag. (Closed)
Patch Set: fixes Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 bool IsPartialRasterEnabled() override; 233 bool IsPartialRasterEnabled() override;
234 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; 234 bool IsGpuMemoryBufferCompositorResourcesEnabled() override;
235 bool IsElasticOverscrollEnabled() override; 235 bool IsElasticOverscrollEnabled() override;
236 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override; 236 const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() override;
237 scoped_refptr<base::SingleThreadTaskRunner> 237 scoped_refptr<base::SingleThreadTaskRunner>
238 GetCompositorMainThreadTaskRunner() override; 238 GetCompositorMainThreadTaskRunner() override;
239 scoped_refptr<base::SingleThreadTaskRunner> 239 scoped_refptr<base::SingleThreadTaskRunner>
240 GetCompositorImplThreadTaskRunner() override; 240 GetCompositorImplThreadTaskRunner() override;
241 blink::scheduler::RendererScheduler* GetRendererScheduler() override; 241 blink::scheduler::RendererScheduler* GetRendererScheduler() override;
242 cc::TaskGraphRunner* GetTaskGraphRunner() override; 242 cc::TaskGraphRunner* GetTaskGraphRunner() override;
243 bool AreImageDecodeTasksEnabled() override;
244 bool IsThreadedAnimationEnabled() override; 243 bool IsThreadedAnimationEnabled() override;
245 bool IsScrollAnimatorEnabled() override; 244 bool IsScrollAnimatorEnabled() override;
246 bool IsSurfaceSynchronizationEnabled() override; 245 bool IsSurfaceSynchronizationEnabled() override;
247 246
248 // blink::scheduler::RendererScheduler::RAILModeObserver implementation. 247 // blink::scheduler::RendererScheduler::RAILModeObserver implementation.
249 void OnRAILModeChanged(v8::RAILMode rail_mode) override; 248 void OnRAILModeChanged(v8::RAILMode rail_mode) override;
250 249
251 // Synchronously establish a channel to the GPU plugin if not previously 250 // Synchronously establish a channel to the GPU plugin if not previously
252 // established or if it has been lost (for example if the GPU plugin crashed). 251 // established or if it has been lost (for example if the GPU plugin crashed).
253 // If there is a pending asynchronous request, it will be completed by the 252 // If there is a pending asynchronous request, it will be completed by the
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 bool is_gpu_rasterization_forced_; 728 bool is_gpu_rasterization_forced_;
730 bool is_async_worker_context_enabled_; 729 bool is_async_worker_context_enabled_;
731 int gpu_rasterization_msaa_sample_count_; 730 int gpu_rasterization_msaa_sample_count_;
732 bool is_lcd_text_enabled_; 731 bool is_lcd_text_enabled_;
733 bool is_distance_field_text_enabled_; 732 bool is_distance_field_text_enabled_;
734 bool is_zero_copy_enabled_; 733 bool is_zero_copy_enabled_;
735 bool is_gpu_memory_buffer_compositor_resources_enabled_; 734 bool is_gpu_memory_buffer_compositor_resources_enabled_;
736 bool is_partial_raster_enabled_; 735 bool is_partial_raster_enabled_;
737 bool is_elastic_overscroll_enabled_; 736 bool is_elastic_overscroll_enabled_;
738 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; 737 cc::BufferToTextureTargetMap buffer_to_texture_target_map_;
739 bool are_image_decode_tasks_enabled_;
740 bool is_threaded_animation_enabled_; 738 bool is_threaded_animation_enabled_;
741 bool is_scroll_animator_enabled_; 739 bool is_scroll_animator_enabled_;
742 bool is_surface_synchronization_enabled_; 740 bool is_surface_synchronization_enabled_;
743 741
744 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> { 742 class PendingFrameCreate : public base::RefCounted<PendingFrameCreate> {
745 public: 743 public:
746 PendingFrameCreate( 744 PendingFrameCreate(
747 int routing_id, 745 int routing_id,
748 mojom::FrameRequest frame_request, 746 mojom::FrameRequest frame_request,
749 mojom::FrameHostInterfaceBrokerPtr frame_host_interface_broker); 747 mojom::FrameHostInterfaceBrokerPtr frame_host_interface_broker);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 793 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
796 }; 794 };
797 795
798 #if defined(COMPILER_MSVC) 796 #if defined(COMPILER_MSVC)
799 #pragma warning(pop) 797 #pragma warning(pop)
800 #endif 798 #endif
801 799
802 } // namespace content 800 } // namespace content
803 801
804 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 802 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698