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

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: modify comment to explain the use of RGBA_8888 to trigger a driver workaround Created 4 years, 4 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 texture_rg(false), 77 texture_rg(false),
78 texture_half_float_linear(false), 78 texture_half_float_linear(false),
79 image_ycbcr_422(false), 79 image_ycbcr_422(false),
80 image_ycbcr_420v(false), 80 image_ycbcr_420v(false),
81 render_buffer_format_bgra8888(false), 81 render_buffer_format_bgra8888(false),
82 occlusion_query_boolean(false), 82 occlusion_query_boolean(false),
83 timer_queries(false), 83 timer_queries(false),
84 surfaceless(false), 84 surfaceless(false),
85 flips_vertically(false), 85 flips_vertically(false),
86 msaa_is_slow(false), 86 msaa_is_slow(false),
87 force_software_yuv_conversion(false),
87 disable_multisampling_color_mask_usage(false), 88 disable_multisampling_color_mask_usage(false),
88 disable_webgl_rgb_multisampling_usage(false), 89 disable_webgl_rgb_multisampling_usage(false),
89 chromium_image_rgb_emulation(false), 90 chromium_image_rgb_emulation(false),
90 emulate_rgb_buffer_with_rgba(false), 91 emulate_rgb_buffer_with_rgba(false),
91 major_version(2), 92 major_version(2),
92 minor_version(0) {} 93 minor_version(0) {}
93 94
94 Capabilities::Capabilities(const Capabilities& other) = default; 95 Capabilities::Capabilities(const Capabilities& other) = default;
95 96
96 } // namespace gpu 97 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698