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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 scoped_refptr<base::SingleThreadTaskRunner> | 665 scoped_refptr<base::SingleThreadTaskRunner> |
666 main_thread_compositor_task_runner_; | 666 main_thread_compositor_task_runner_; |
667 | 667 |
668 // Compositor settings. | 668 // Compositor settings. |
669 bool is_gpu_rasterization_enabled_; | 669 bool is_gpu_rasterization_enabled_; |
670 bool is_gpu_rasterization_forced_; | 670 bool is_gpu_rasterization_forced_; |
671 int gpu_rasterization_msaa_sample_count_; | 671 int gpu_rasterization_msaa_sample_count_; |
672 bool is_lcd_text_enabled_; | 672 bool is_lcd_text_enabled_; |
673 bool is_distance_field_text_enabled_; | 673 bool is_distance_field_text_enabled_; |
674 bool is_zero_copy_enabled_; | 674 bool is_zero_copy_enabled_; |
675 bool is_one_copy_enabled_; | |
676 bool is_gpu_memory_buffer_compositor_resources_enabled_; | 675 bool is_gpu_memory_buffer_compositor_resources_enabled_; |
677 bool is_partial_raster_enabled_; | 676 bool is_partial_raster_enabled_; |
678 bool is_elastic_overscroll_enabled_; | 677 bool is_elastic_overscroll_enabled_; |
679 std::vector<unsigned> use_image_texture_targets_; | 678 std::vector<unsigned> use_image_texture_targets_; |
680 std::vector<unsigned> use_video_frame_image_texture_targets_; | 679 std::vector<unsigned> use_video_frame_image_texture_targets_; |
681 bool are_image_decode_tasks_enabled_; | 680 bool are_image_decode_tasks_enabled_; |
682 bool is_threaded_animation_enabled_; | 681 bool is_threaded_animation_enabled_; |
683 | 682 |
684 class PendingRenderFrameConnect | 683 class PendingRenderFrameConnect |
685 : public base::RefCounted<PendingRenderFrameConnect> { | 684 : public base::RefCounted<PendingRenderFrameConnect> { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 718 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
720 }; | 719 }; |
721 | 720 |
722 #if defined(COMPILER_MSVC) | 721 #if defined(COMPILER_MSVC) |
723 #pragma warning(pop) | 722 #pragma warning(pop) |
724 #endif | 723 #endif |
725 | 724 |
726 } // namespace content | 725 } // namespace content |
727 | 726 |
728 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 727 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |