Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Side by Side Diff: gpu/command_buffer/common/capabilities.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/common/gles2_cmd_format.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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() {
10 }
11
9 Capabilities::Capabilities() 12 Capabilities::Capabilities()
10 : post_sub_buffer(false), 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 num_compressed_texture_formats(0),
24 num_shader_binary_formats(0),
25 bind_generates_resource_chromium(0),
26 post_sub_buffer(false),
11 egl_image_external(false), 27 egl_image_external(false),
12 texture_format_bgra8888(false), 28 texture_format_bgra8888(false),
13 texture_format_etc1(false), 29 texture_format_etc1(false),
14 texture_format_etc1_npot(false), 30 texture_format_etc1_npot(false),
15 texture_rectangle(false), 31 texture_rectangle(false),
16 iosurface(false), 32 iosurface(false),
17 texture_usage(false), 33 texture_usage(false),
18 texture_storage(false), 34 texture_storage(false),
19 discard_framebuffer(false), 35 discard_framebuffer(false),
20 sync_query(false), 36 sync_query(false),
21 image(false), 37 image(false),
22 future_sync_points(false), 38 future_sync_points(false),
23 blend_equation_advanced(false), 39 blend_equation_advanced(false),
24 blend_equation_advanced_coherent(false) { 40 blend_equation_advanced_coherent(false) {
25 } 41 }
26 42
27 } // namespace gpu 43 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/common/gles2_cmd_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698