| 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_distance_field_text_enabled() const { |
| 220 return is_distance_field_text_enabled_; |
| 221 } |
| 222 |
| 219 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } | 223 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } |
| 220 | 224 |
| 221 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } | 225 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } |
| 222 | 226 |
| 223 AppCacheDispatcher* appcache_dispatcher() const { | 227 AppCacheDispatcher* appcache_dispatcher() const { |
| 224 return appcache_dispatcher_.get(); | 228 return appcache_dispatcher_.get(); |
| 225 } | 229 } |
| 226 | 230 |
| 227 DomStorageDispatcher* dom_storage_dispatcher() const { | 231 DomStorageDispatcher* dom_storage_dispatcher() const { |
| 228 return dom_storage_dispatcher_.get(); | 232 return dom_storage_dispatcher_.get(); |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 // multiple threads. Current allocation mechanism for IOSurface | 542 // multiple threads. Current allocation mechanism for IOSurface |
| 539 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 543 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 540 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 544 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 541 | 545 |
| 542 // Compositor settings | 546 // Compositor settings |
| 543 bool is_gpu_rasterization_enabled_; | 547 bool is_gpu_rasterization_enabled_; |
| 544 bool is_gpu_rasterization_forced_; | 548 bool is_gpu_rasterization_forced_; |
| 545 bool is_impl_side_painting_enabled_; | 549 bool is_impl_side_painting_enabled_; |
| 546 bool is_low_res_tiling_enabled_; | 550 bool is_low_res_tiling_enabled_; |
| 547 bool is_lcd_text_enabled_; | 551 bool is_lcd_text_enabled_; |
| 552 bool is_distance_field_text_enabled_; |
| 548 bool is_zero_copy_enabled_; | 553 bool is_zero_copy_enabled_; |
| 549 bool is_one_copy_enabled_; | 554 bool is_one_copy_enabled_; |
| 550 | 555 |
| 551 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 556 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 552 }; | 557 }; |
| 553 | 558 |
| 554 } // namespace content | 559 } // namespace content |
| 555 | 560 |
| 556 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 561 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |