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

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

Issue 2242453002: Avoid planar YUV resources when one component EGL images are not supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Abstract out resource immutability. Created 4 years, 3 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 texture_rg(false), 78 texture_rg(false),
79 texture_half_float_linear(false), 79 texture_half_float_linear(false),
80 image_ycbcr_422(false), 80 image_ycbcr_422(false),
81 image_ycbcr_420v(false), 81 image_ycbcr_420v(false),
82 render_buffer_format_bgra8888(false), 82 render_buffer_format_bgra8888(false),
83 occlusion_query_boolean(false), 83 occlusion_query_boolean(false),
84 timer_queries(false), 84 timer_queries(false),
85 surfaceless(false), 85 surfaceless(false),
86 flips_vertically(false), 86 flips_vertically(false),
87 msaa_is_slow(false), 87 msaa_is_slow(false),
88 disable_one_component_textures(false),
88 disable_multisampling_color_mask_usage(false), 89 disable_multisampling_color_mask_usage(false),
89 disable_webgl_rgb_multisampling_usage(false), 90 disable_webgl_rgb_multisampling_usage(false),
90 chromium_image_rgb_emulation(false), 91 chromium_image_rgb_emulation(false),
91 emulate_rgb_buffer_with_rgba(false), 92 emulate_rgb_buffer_with_rgba(false),
92 major_version(2), 93 major_version(2),
93 minor_version(0) {} 94 minor_version(0) {}
94 95
95 Capabilities::Capabilities(const Capabilities& other) = default; 96 Capabilities::Capabilities(const Capabilities& other) = default;
96 97
97 } // namespace gpu 98 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698