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

Side by Side Diff: gpu/command_buffer/service/feature_info.h

Issue 1174733003: cc, gpu: Use RGBA when using msaa on systems that don't support BGRA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 5 years, 6 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
« no previous file with comments | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool angle_depth_texture; 72 bool angle_depth_texture;
73 bool is_swiftshader; 73 bool is_swiftshader;
74 bool angle_texture_usage; 74 bool angle_texture_usage;
75 bool ext_texture_storage; 75 bool ext_texture_storage;
76 bool chromium_path_rendering; 76 bool chromium_path_rendering;
77 bool blend_equation_advanced; 77 bool blend_equation_advanced;
78 bool blend_equation_advanced_coherent; 78 bool blend_equation_advanced_coherent;
79 bool ext_texture_rg; 79 bool ext_texture_rg;
80 bool enable_subscribe_uniform; 80 bool enable_subscribe_uniform;
81 bool emulate_primitive_restart_fixed_index; 81 bool emulate_primitive_restart_fixed_index;
82 bool ext_render_buffer_format_bgra8888;
82 }; 83 };
83 84
84 struct Workarounds { 85 struct Workarounds {
85 Workarounds(); 86 Workarounds();
86 87
87 #define GPU_OP(type, name) bool name; 88 #define GPU_OP(type, name) bool name;
88 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 89 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
89 #undef GPU_OP 90 #undef GPU_OP
90 91
91 // Note: 0 here means use driver limit. 92 // Note: 0 here means use driver limit.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 166
166 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; 167 scoped_ptr<gfx::GLVersionInfo> gl_version_info_;
167 168
168 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 169 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
169 }; 170 };
170 171
171 } // namespace gles2 172 } // namespace gles2
172 } // namespace gpu 173 } // namespace gpu
173 174
174 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 175 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698