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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } | 241 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } |
242 | 242 |
243 bool is_distance_field_text_enabled() const { | 243 bool is_distance_field_text_enabled() const { |
244 return is_distance_field_text_enabled_; | 244 return is_distance_field_text_enabled_; |
245 } | 245 } |
246 | 246 |
247 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } | 247 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } |
248 | 248 |
249 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } | 249 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } |
250 | 250 |
251 bool use_image_external() const { return use_image_external_; } | 251 unsigned use_image_texture_target() const { |
| 252 return use_image_texture_target_; |
| 253 } |
252 | 254 |
253 AppCacheDispatcher* appcache_dispatcher() const { | 255 AppCacheDispatcher* appcache_dispatcher() const { |
254 return appcache_dispatcher_.get(); | 256 return appcache_dispatcher_.get(); |
255 } | 257 } |
256 | 258 |
257 DomStorageDispatcher* dom_storage_dispatcher() const { | 259 DomStorageDispatcher* dom_storage_dispatcher() const { |
258 return dom_storage_dispatcher_.get(); | 260 return dom_storage_dispatcher_.get(); |
259 } | 261 } |
260 | 262 |
261 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { | 263 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 main_thread_compositor_task_runner_; | 581 main_thread_compositor_task_runner_; |
580 | 582 |
581 // Compositor settings | 583 // Compositor settings |
582 bool is_gpu_rasterization_enabled_; | 584 bool is_gpu_rasterization_enabled_; |
583 bool is_gpu_rasterization_forced_; | 585 bool is_gpu_rasterization_forced_; |
584 bool is_impl_side_painting_enabled_; | 586 bool is_impl_side_painting_enabled_; |
585 bool is_lcd_text_enabled_; | 587 bool is_lcd_text_enabled_; |
586 bool is_distance_field_text_enabled_; | 588 bool is_distance_field_text_enabled_; |
587 bool is_zero_copy_enabled_; | 589 bool is_zero_copy_enabled_; |
588 bool is_one_copy_enabled_; | 590 bool is_one_copy_enabled_; |
589 bool use_image_external_; | 591 unsigned use_image_texture_target_; |
590 | 592 |
591 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 593 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
592 | 594 |
593 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 595 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
594 }; | 596 }; |
595 | 597 |
596 } // namespace content | 598 } // namespace content |
597 | 599 |
598 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 600 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |