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

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

Issue 2639293002: gpu: Add ARB_occlusion_query support. (Closed)
Patch Set: add unit test Created 3 years, 11 months 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
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() { 9 Capabilities::PerStagePrecisions::PerStagePrecisions() {
10 } 10 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 discard_framebuffer(false), 74 discard_framebuffer(false),
75 sync_query(false), 75 sync_query(false),
76 future_sync_points(false), 76 future_sync_points(false),
77 blend_equation_advanced(false), 77 blend_equation_advanced(false),
78 blend_equation_advanced_coherent(false), 78 blend_equation_advanced_coherent(false),
79 texture_rg(false), 79 texture_rg(false),
80 texture_half_float_linear(false), 80 texture_half_float_linear(false),
81 image_ycbcr_422(false), 81 image_ycbcr_422(false),
82 image_ycbcr_420v(false), 82 image_ycbcr_420v(false),
83 render_buffer_format_bgra8888(false), 83 render_buffer_format_bgra8888(false),
84 occlusion_query(false),
84 occlusion_query_boolean(false), 85 occlusion_query_boolean(false),
85 timer_queries(false), 86 timer_queries(false),
86 surfaceless(false), 87 surfaceless(false),
87 flips_vertically(false), 88 flips_vertically(false),
88 msaa_is_slow(false), 89 msaa_is_slow(false),
89 disable_one_component_textures(false), 90 disable_one_component_textures(false),
90 disable_multisampling_color_mask_usage(false), 91 disable_multisampling_color_mask_usage(false),
91 disable_webgl_rgb_multisampling_usage(false), 92 disable_webgl_rgb_multisampling_usage(false),
92 chromium_image_rgb_emulation(false), 93 chromium_image_rgb_emulation(false),
93 emulate_rgb_buffer_with_rgba(false), 94 emulate_rgb_buffer_with_rgba(false),
94 major_version(2), 95 major_version(2),
95 minor_version(0) {} 96 minor_version(0) {}
96 97
97 Capabilities::Capabilities(const Capabilities& other) = default; 98 Capabilities::Capabilities(const Capabilities& other) = default;
98 99
99 } // namespace gpu 100 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698