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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 | 568 |
569 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from | 569 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from |
570 // multiple threads. Current allocation mechanism for IOSurface | 570 // multiple threads. Current allocation mechanism for IOSurface |
571 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 571 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
572 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 572 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
573 | 573 |
574 scoped_ptr<MemoryObserver> memory_observer_; | 574 scoped_ptr<MemoryObserver> memory_observer_; |
575 | 575 |
576 scoped_refptr<base::SingleThreadTaskRunner> | 576 scoped_refptr<base::SingleThreadTaskRunner> |
577 main_thread_compositor_task_runner_; | 577 main_thread_compositor_task_runner_; |
578 scoped_refptr<base::SingleThreadTaskRunner> main_thread_input_task_runner_; | |
579 | 578 |
580 // Compositor settings | 579 // Compositor settings |
581 bool is_gpu_rasterization_enabled_; | 580 bool is_gpu_rasterization_enabled_; |
582 bool is_gpu_rasterization_forced_; | 581 bool is_gpu_rasterization_forced_; |
583 bool is_impl_side_painting_enabled_; | 582 bool is_impl_side_painting_enabled_; |
584 bool is_lcd_text_enabled_; | 583 bool is_lcd_text_enabled_; |
585 bool is_distance_field_text_enabled_; | 584 bool is_distance_field_text_enabled_; |
586 bool is_zero_copy_enabled_; | 585 bool is_zero_copy_enabled_; |
587 bool is_one_copy_enabled_; | 586 bool is_one_copy_enabled_; |
588 | 587 |
589 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
590 | 589 |
591 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
592 }; | 591 }; |
593 | 592 |
594 } // namespace content | 593 } // namespace content |
595 | 594 |
596 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |