OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "gpu/command_buffer/common/capabilities.h" | 5 #include "gpu/command_buffer/common/capabilities.h" |
6 | 6 |
7 namespace gpu { | 7 namespace gpu { |
8 | 8 |
9 Capabilities::PerStagePrecisions::PerStagePrecisions() { | 9 Capabilities::PerStagePrecisions::PerStagePrecisions() { |
10 } | 10 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 max_uniform_buffer_bindings(0), | 48 max_uniform_buffer_bindings(0), |
49 max_varying_components(0), | 49 max_varying_components(0), |
50 max_vertex_output_components(0), | 50 max_vertex_output_components(0), |
51 max_vertex_uniform_blocks(0), | 51 max_vertex_uniform_blocks(0), |
52 max_vertex_uniform_components(0), | 52 max_vertex_uniform_components(0), |
53 min_program_texel_offset(0), | 53 min_program_texel_offset(0), |
54 num_extensions(0), | 54 num_extensions(0), |
55 num_program_binary_formats(0), | 55 num_program_binary_formats(0), |
56 uniform_buffer_offset_alignment(1), | 56 uniform_buffer_offset_alignment(1), |
57 post_sub_buffer(false), | 57 post_sub_buffer(false), |
| 58 swap_buffers_with_damage(false), |
58 commit_overlay_planes(false), | 59 commit_overlay_planes(false), |
59 egl_image_external(false), | 60 egl_image_external(false), |
60 texture_format_astc(false), | 61 texture_format_astc(false), |
61 texture_format_atc(false), | 62 texture_format_atc(false), |
62 texture_format_bgra8888(false), | 63 texture_format_bgra8888(false), |
63 texture_format_dxt1(false), | 64 texture_format_dxt1(false), |
64 texture_format_dxt5(false), | 65 texture_format_dxt5(false), |
65 texture_format_etc1(false), | 66 texture_format_etc1(false), |
66 texture_format_etc1_npot(false), | 67 texture_format_etc1_npot(false), |
67 texture_rectangle(false), | 68 texture_rectangle(false), |
(...skipping 19 matching lines...) Expand all Loading... |
87 disable_multisampling_color_mask_usage(false), | 88 disable_multisampling_color_mask_usage(false), |
88 disable_webgl_rgb_multisampling_usage(false), | 89 disable_webgl_rgb_multisampling_usage(false), |
89 chromium_image_rgb_emulation(false), | 90 chromium_image_rgb_emulation(false), |
90 emulate_rgb_buffer_with_rgba(false), | 91 emulate_rgb_buffer_with_rgba(false), |
91 major_version(2), | 92 major_version(2), |
92 minor_version(0) {} | 93 minor_version(0) {} |
93 | 94 |
94 Capabilities::Capabilities(const Capabilities& other) = default; | 95 Capabilities::Capabilities(const Capabilities& other) = default; |
95 | 96 |
96 } // namespace gpu | 97 } // namespace gpu |
OLD | NEW |