Chromium Code Reviews| 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" | 9 #include "cc/base/cc_export.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 | 12 |
| 13 class CC_EXPORT RendererSettings { | 13 class CC_EXPORT RendererSettings { |
| 14 public: | 14 public: |
| 15 RendererSettings(); | 15 RendererSettings(); |
| 16 ~RendererSettings(); | 16 ~RendererSettings(); |
| 17 | 17 |
| 18 bool allow_antialiasing; | 18 bool allow_antialiasing; |
| 19 bool force_antialiasing; | 19 bool force_antialiasing; |
| 20 bool force_blending_with_shaders; | 20 bool force_blending_with_shaders; |
| 21 bool partial_swap_enabled; | 21 bool partial_swap_enabled; |
| 22 bool finish_rendering_on_resize; | 22 bool finish_rendering_on_resize; |
| 23 bool should_clear_root_render_pass; | 23 bool should_clear_root_render_pass; |
| 24 bool disable_display_vsync; | 24 bool disable_display_vsync; |
| 25 bool delay_releasing_overlay_resources; | 25 bool delay_releasing_overlay_resources; |
| 26 double refresh_rate; | 26 double refresh_rate; |
| 27 int highp_threshold_min; | 27 int highp_threshold_min; |
| 28 bool use_rgba_4444_textures; | 28 bool use_rgba_4444_textures; |
| 29 size_t texture_id_allocation_chunk_size; | 29 size_t texture_id_allocation_chunk_size; |
| 30 bool use_tile_compression; | |
|
reveman
2015/09/30 09:55:15
Can we merge this with use_rgba_4444_textures some
christiank
2015/11/26 15:35:35
This would be good, I agree. I think we'd need a n
reveman
2015/11/27 16:46:49
Can we just use ResourceFormat and require it to b
christiank
2015/11/30 15:41:08
Yes, that would work. I have made this change now,
| |
| 30 }; | 31 }; |
| 31 | 32 |
| 32 } // namespace cc | 33 } // namespace cc |
| 33 | 34 |
| 34 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ | 35 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ |
| OLD | NEW |