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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 } | 209 } |
210 | 210 |
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_zero_copy_enabled() const { return is_zero_copy_enabled_; } |
| 220 |
| 221 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } |
220 | 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 { |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 // multiple threads. Current allocation mechanism for IOSurface | 538 // multiple threads. Current allocation mechanism for IOSurface |
537 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 539 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
538 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 540 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
539 | 541 |
540 // Compositor settings | 542 // Compositor settings |
541 bool is_gpu_rasterization_enabled_; | 543 bool is_gpu_rasterization_enabled_; |
542 bool is_gpu_rasterization_forced_; | 544 bool is_gpu_rasterization_forced_; |
543 bool is_impl_side_painting_enabled_; | 545 bool is_impl_side_painting_enabled_; |
544 bool is_low_res_tiling_enabled_; | 546 bool is_low_res_tiling_enabled_; |
545 bool is_lcd_text_enabled_; | 547 bool is_lcd_text_enabled_; |
546 bool is_map_image_enabled_; | 548 bool is_zero_copy_enabled_; |
| 549 bool is_one_copy_enabled_; |
547 | 550 |
548 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 551 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
549 }; | 552 }; |
550 | 553 |
551 } // namespace content | 554 } // namespace content |
552 | 555 |
553 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 556 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |