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 } |
11 | 11 |
12 Capabilities::Capabilities() | 12 Capabilities::Capabilities() {} |
13 : max_combined_texture_image_units(0), | |
14 max_cube_map_texture_size(0), | |
15 max_fragment_uniform_vectors(0), | |
16 max_renderbuffer_size(0), | |
17 max_texture_image_units(0), | |
18 max_texture_size(0), | |
19 max_varying_vectors(0), | |
20 max_vertex_attribs(0), | |
21 max_vertex_texture_image_units(0), | |
22 max_vertex_uniform_vectors(0), | |
23 max_viewport_width(0), | |
24 max_viewport_height(0), | |
25 num_compressed_texture_formats(0), | |
26 num_shader_binary_formats(0), | |
27 num_stencil_bits(0), | |
28 bind_generates_resource_chromium(0), | |
29 max_3d_texture_size(0), | |
30 max_array_texture_layers(0), | |
31 max_color_attachments(0), | |
32 max_combined_fragment_uniform_components(0), | |
33 max_combined_uniform_blocks(0), | |
34 max_combined_vertex_uniform_components(0), | |
35 max_copy_texture_chromium_size(0), | |
36 max_draw_buffers(0), | |
37 max_element_index(0), | |
38 max_elements_indices(0), | |
39 max_elements_vertices(0), | |
40 max_fragment_input_components(0), | |
41 max_fragment_uniform_blocks(0), | |
42 max_fragment_uniform_components(0), | |
43 max_program_texel_offset(0), | |
44 max_samples(0), | |
45 max_server_wait_timeout(0), | |
46 max_texture_lod_bias(0.f), | |
47 max_transform_feedback_interleaved_components(0), | |
48 max_transform_feedback_separate_attribs(0), | |
49 max_transform_feedback_separate_components(0), | |
50 max_uniform_block_size(0), | |
51 max_uniform_buffer_bindings(0), | |
52 max_varying_components(0), | |
53 max_vertex_output_components(0), | |
54 max_vertex_uniform_blocks(0), | |
55 max_vertex_uniform_components(0), | |
56 min_program_texel_offset(0), | |
57 num_extensions(0), | |
58 num_program_binary_formats(0), | |
59 uniform_buffer_offset_alignment(1), | |
60 post_sub_buffer(false), | |
61 swap_buffers_with_damage(false), | |
62 commit_overlay_planes(false), | |
63 egl_image_external(false), | |
64 texture_format_astc(false), | |
65 texture_format_atc(false), | |
66 texture_format_bgra8888(false), | |
67 texture_format_dxt1(false), | |
68 texture_format_dxt5(false), | |
69 texture_format_etc1(false), | |
70 texture_format_etc1_npot(false), | |
71 texture_rectangle(false), | |
72 iosurface(false), | |
73 texture_usage(false), | |
74 texture_storage(false), | |
75 discard_framebuffer(false), | |
76 sync_query(false), | |
77 future_sync_points(false), | |
78 blend_equation_advanced(false), | |
79 blend_equation_advanced_coherent(false), | |
80 texture_rg(false), | |
81 texture_half_float_linear(false), | |
82 image_ycbcr_422(false), | |
83 image_ycbcr_420v(false), | |
84 render_buffer_format_bgra8888(false), | |
85 occlusion_query(false), | |
86 occlusion_query_boolean(false), | |
87 timer_queries(false), | |
88 surfaceless(false), | |
89 flips_vertically(false), | |
90 msaa_is_slow(false), | |
91 disable_one_component_textures(false), | |
92 disable_multisampling_color_mask_usage(false), | |
93 disable_webgl_rgb_multisampling_usage(false), | |
94 chromium_image_rgb_emulation(false), | |
95 emulate_rgb_buffer_with_rgba(false), | |
96 major_version(2), | |
97 minor_version(0) {} | |
98 | 13 |
99 Capabilities::Capabilities(const Capabilities& other) = default; | 14 Capabilities::Capabilities(const Capabilities& other) = default; |
100 | 15 |
101 } // namespace gpu | 16 } // namespace gpu |
OLD | NEW |