| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 bool allow_antialiasing; | 22 bool allow_antialiasing; |
| 23 bool force_antialiasing; | 23 bool force_antialiasing; |
| 24 bool force_blending_with_shaders; | 24 bool force_blending_with_shaders; |
| 25 bool partial_swap_enabled; | 25 bool partial_swap_enabled; |
| 26 bool finish_rendering_on_resize; | 26 bool finish_rendering_on_resize; |
| 27 bool should_clear_root_render_pass; | 27 bool should_clear_root_render_pass; |
| 28 bool disable_display_vsync; | 28 bool disable_display_vsync; |
| 29 bool release_overlay_resources_after_gpu_query; | 29 bool release_overlay_resources_after_gpu_query; |
| 30 bool gl_composited_texture_quad_border; | 30 bool gl_composited_texture_quad_border; |
| 31 bool show_overdraw_feedback; |
| 31 | 32 |
| 32 double refresh_rate; | 33 double refresh_rate; |
| 33 int highp_threshold_min; | 34 int highp_threshold_min; |
| 34 size_t texture_id_allocation_chunk_size; | 35 size_t texture_id_allocation_chunk_size; |
| 35 bool use_gpu_memory_buffer_resources; | 36 bool use_gpu_memory_buffer_resources; |
| 36 ResourceFormat preferred_tile_format; | 37 ResourceFormat preferred_tile_format; |
| 37 BufferToTextureTargetMap buffer_to_texture_target_map; | 38 BufferToTextureTargetMap buffer_to_texture_target_map; |
| 38 | 39 |
| 39 bool operator==(const RendererSettings& other) const; | 40 bool operator==(const RendererSettings& other) const; |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace cc | 43 } // namespace cc |
| 43 | 44 |
| 44 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ | 45 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ |
| OLD | NEW |