Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / gpu / command_buffer / common / capabilities.cc
blob9d9e90d2470ba1848180d64543dc9c0b48879f72
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
3 // found in the LICENSE file.
5 #include "gpu/command_buffer/common/capabilities.h"
7 namespace gpu {
9 Capabilities::PerStagePrecisions::PerStagePrecisions() {
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 num_compressed_texture_formats(0),
24 num_shader_binary_formats(0),
25 bind_generates_resource_chromium(0),
26 post_sub_buffer(false),
27 egl_image_external(false),
28 texture_format_bgra8888(false),
29 texture_format_etc1(false),
30 texture_format_etc1_npot(false),
31 texture_rectangle(false),
32 iosurface(false),
33 texture_usage(false),
34 texture_storage(false),
35 discard_framebuffer(false),
36 sync_query(false),
37 image(false),
38 future_sync_points(false),
39 blend_equation_advanced(false),
40 blend_equation_advanced_coherent(false) {
43 } // namespace gpu