| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_OUTPUT_RENDERER_SETTINGS_H_ | 5 #ifndef CC_OUTPUT_RENDERER_SETTINGS_H_ |
| 6 #define CC_OUTPUT_RENDERER_SETTINGS_H_ | 6 #define CC_OUTPUT_RENDERER_SETTINGS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "cc/base/cc_export.h" | |
| 10 | 9 |
| 11 namespace cc { | 10 namespace cc { |
| 12 | 11 |
| 13 class CC_EXPORT RendererSettings { | 12 class RendererSettings { |
| 14 public: | 13 public: |
| 15 RendererSettings(); | 14 RendererSettings(); |
| 16 ~RendererSettings(); | 15 ~RendererSettings(); |
| 17 | 16 |
| 18 bool allow_antialiasing; | 17 bool allow_antialiasing; |
| 19 bool force_antialiasing; | 18 bool force_antialiasing; |
| 20 bool force_blending_with_shaders; | 19 bool force_blending_with_shaders; |
| 21 bool partial_swap_enabled; | 20 bool partial_swap_enabled; |
| 22 bool finish_rendering_on_resize; | 21 bool finish_rendering_on_resize; |
| 23 bool should_clear_root_render_pass; | 22 bool should_clear_root_render_pass; |
| 24 double refresh_rate; | 23 double refresh_rate; |
| 25 int highp_threshold_min; | 24 int highp_threshold_min; |
| 26 bool use_rgba_4444_textures; | 25 bool use_rgba_4444_textures; |
| 27 size_t texture_id_allocation_chunk_size; | 26 size_t texture_id_allocation_chunk_size; |
| 28 }; | 27 }; |
| 29 | 28 |
| 30 } // namespace cc | 29 } // namespace cc |
| 31 | 30 |
| 32 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ | 31 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ |
| OLD | NEW |