| 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), | 13     : max_combined_texture_image_units(0), | 
| 14       max_cube_map_texture_size(0), | 14       max_cube_map_texture_size(0), | 
| 15       max_fragment_uniform_vectors(0), | 15       max_fragment_uniform_vectors(0), | 
| 16       max_renderbuffer_size(0), | 16       max_renderbuffer_size(0), | 
| 17       max_texture_image_units(0), | 17       max_texture_image_units(0), | 
| 18       max_texture_size(0), | 18       max_texture_size(0), | 
| 19       max_varying_vectors(0), | 19       max_varying_vectors(0), | 
| 20       max_vertex_attribs(0), | 20       max_vertex_attribs(0), | 
| 21       max_vertex_texture_image_units(0), | 21       max_vertex_texture_image_units(0), | 
| 22       max_vertex_uniform_vectors(0), | 22       max_vertex_uniform_vectors(0), | 
|  | 23       max_viewport_width(0), | 
|  | 24       max_viewport_height(0), | 
| 23       num_compressed_texture_formats(0), | 25       num_compressed_texture_formats(0), | 
| 24       num_shader_binary_formats(0), | 26       num_shader_binary_formats(0), | 
| 25       bind_generates_resource_chromium(0), | 27       bind_generates_resource_chromium(0), | 
| 26       max_3d_texture_size(0), | 28       max_3d_texture_size(0), | 
| 27       max_array_texture_layers(0), | 29       max_array_texture_layers(0), | 
| 28       max_color_attachments(0), | 30       max_color_attachments(0), | 
| 29       max_combined_fragment_uniform_components(0), | 31       max_combined_fragment_uniform_components(0), | 
| 30       max_combined_uniform_blocks(0), | 32       max_combined_uniform_blocks(0), | 
| 31       max_combined_vertex_uniform_components(0), | 33       max_combined_vertex_uniform_components(0), | 
| 32       max_copy_texture_chromium_size(0), | 34       max_copy_texture_chromium_size(0), | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 88       disable_multisampling_color_mask_usage(false), | 90       disable_multisampling_color_mask_usage(false), | 
| 89       disable_webgl_rgb_multisampling_usage(false), | 91       disable_webgl_rgb_multisampling_usage(false), | 
| 90       chromium_image_rgb_emulation(false), | 92       chromium_image_rgb_emulation(false), | 
| 91       emulate_rgb_buffer_with_rgba(false), | 93       emulate_rgb_buffer_with_rgba(false), | 
| 92       major_version(2), | 94       major_version(2), | 
| 93       minor_version(0) {} | 95       minor_version(0) {} | 
| 94 | 96 | 
| 95 Capabilities::Capabilities(const Capabilities& other) = default; | 97 Capabilities::Capabilities(const Capabilities& other) = default; | 
| 96 | 98 | 
| 97 }  // namespace gpu | 99 }  // namespace gpu | 
| OLD | NEW | 
|---|