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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 bool is_impl_side_painting_enabled() const { | 211 bool is_impl_side_painting_enabled() const { |
212 return is_impl_side_painting_enabled_; | 212 return is_impl_side_painting_enabled_; |
213 } | 213 } |
214 | 214 |
215 bool is_low_res_tiling_enabled() const { return is_low_res_tiling_enabled_; } | 215 bool is_low_res_tiling_enabled() const { return is_low_res_tiling_enabled_; } |
216 | 216 |
217 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } | 217 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } |
218 | 218 |
219 bool is_map_image_enabled() const { return is_map_image_enabled_; } | 219 bool is_map_image_enabled() const { return is_map_image_enabled_; } |
220 | 220 |
| 221 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } |
| 222 |
221 AppCacheDispatcher* appcache_dispatcher() const { | 223 AppCacheDispatcher* appcache_dispatcher() const { |
222 return appcache_dispatcher_.get(); | 224 return appcache_dispatcher_.get(); |
223 } | 225 } |
224 | 226 |
225 DomStorageDispatcher* dom_storage_dispatcher() const { | 227 DomStorageDispatcher* dom_storage_dispatcher() const { |
226 return dom_storage_dispatcher_.get(); | 228 return dom_storage_dispatcher_.get(); |
227 } | 229 } |
228 | 230 |
229 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { | 231 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { |
230 return embedded_worker_dispatcher_.get(); | 232 return embedded_worker_dispatcher_.get(); |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 536 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
535 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 537 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
536 | 538 |
537 // Compositor settings | 539 // Compositor settings |
538 bool is_gpu_rasterization_enabled_; | 540 bool is_gpu_rasterization_enabled_; |
539 bool is_gpu_rasterization_forced_; | 541 bool is_gpu_rasterization_forced_; |
540 bool is_impl_side_painting_enabled_; | 542 bool is_impl_side_painting_enabled_; |
541 bool is_low_res_tiling_enabled_; | 543 bool is_low_res_tiling_enabled_; |
542 bool is_lcd_text_enabled_; | 544 bool is_lcd_text_enabled_; |
543 bool is_map_image_enabled_; | 545 bool is_map_image_enabled_; |
| 546 bool is_zero_copy_enabled_; |
544 | 547 |
545 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 548 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
546 }; | 549 }; |
547 | 550 |
548 } // namespace content | 551 } // namespace content |
549 | 552 |
550 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 553 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |