| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 } | 200 } |
| 201 | 201 |
| 202 bool is_gpu_rasterization_forced() const { | 202 bool is_gpu_rasterization_forced() const { |
| 203 return is_gpu_rasterization_forced_; | 203 return is_gpu_rasterization_forced_; |
| 204 } | 204 } |
| 205 | 205 |
| 206 bool is_impl_side_painting_enabled() const { | 206 bool is_impl_side_painting_enabled() const { |
| 207 return is_impl_side_painting_enabled_; | 207 return is_impl_side_painting_enabled_; |
| 208 } | 208 } |
| 209 | 209 |
| 210 bool is_low_res_tiling_enabled() const { return is_low_res_tiling_enabled_; } |
| 211 |
| 210 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } | 212 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } |
| 211 | 213 |
| 212 bool is_map_image_enabled() const { return is_map_image_enabled_; } | 214 bool is_map_image_enabled() const { return is_map_image_enabled_; } |
| 213 | 215 |
| 214 AppCacheDispatcher* appcache_dispatcher() const { | 216 AppCacheDispatcher* appcache_dispatcher() const { |
| 215 return appcache_dispatcher_.get(); | 217 return appcache_dispatcher_.get(); |
| 216 } | 218 } |
| 217 | 219 |
| 218 DomStorageDispatcher* dom_storage_dispatcher() const { | 220 DomStorageDispatcher* dom_storage_dispatcher() const { |
| 219 return dom_storage_dispatcher_.get(); | 221 return dom_storage_dispatcher_.get(); |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 | 519 |
| 518 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from | 520 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from |
| 519 // multiple threads. Current allocation mechanism for IOSurface | 521 // multiple threads. Current allocation mechanism for IOSurface |
| 520 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 522 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 521 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 523 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 522 | 524 |
| 523 // Compositor settings | 525 // Compositor settings |
| 524 bool is_gpu_rasterization_enabled_; | 526 bool is_gpu_rasterization_enabled_; |
| 525 bool is_gpu_rasterization_forced_; | 527 bool is_gpu_rasterization_forced_; |
| 526 bool is_impl_side_painting_enabled_; | 528 bool is_impl_side_painting_enabled_; |
| 529 bool is_low_res_tiling_enabled_; |
| 527 bool is_lcd_text_enabled_; | 530 bool is_lcd_text_enabled_; |
| 528 bool is_map_image_enabled_; | 531 bool is_map_image_enabled_; |
| 529 | 532 |
| 530 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 533 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 531 }; | 534 }; |
| 532 | 535 |
| 533 } // namespace content | 536 } // namespace content |
| 534 | 537 |
| 535 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 538 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |