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

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

Issue 1488313002: gpu: enable FRAMBUFFER_SRGB on desktop Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no change Created 5 years 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 | « no previous file | 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 <string> 8 #include <string>
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool blend_equation_advanced; 81 bool blend_equation_advanced;
82 bool blend_equation_advanced_coherent; 82 bool blend_equation_advanced_coherent;
83 bool ext_texture_rg; 83 bool ext_texture_rg;
84 bool chromium_image_ycbcr_420v; 84 bool chromium_image_ycbcr_420v;
85 bool chromium_image_ycbcr_422; 85 bool chromium_image_ycbcr_422;
86 bool enable_subscribe_uniform; 86 bool enable_subscribe_uniform;
87 bool emulate_primitive_restart_fixed_index; 87 bool emulate_primitive_restart_fixed_index;
88 bool ext_render_buffer_format_bgra8888; 88 bool ext_render_buffer_format_bgra8888;
89 bool ext_multisample_compatibility; 89 bool ext_multisample_compatibility;
90 bool ext_blend_func_extended; 90 bool ext_blend_func_extended;
91 bool ext_framebuffer_srgb;
91 }; 92 };
92 93
93 struct Workarounds { 94 struct Workarounds {
94 Workarounds(); 95 Workarounds();
95 96
96 #define GPU_OP(type, name) bool name; 97 #define GPU_OP(type, name) bool name;
97 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 98 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
98 #undef GPU_OP 99 #undef GPU_OP
99 100
100 // Note: 0 here means use driver limit. 101 // Note: 0 here means use driver limit.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 bool disable_shader_translator_; 190 bool disable_shader_translator_;
190 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; 191 scoped_ptr<gfx::GLVersionInfo> gl_version_info_;
191 192
192 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 193 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
193 }; 194 };
194 195
195 } // namespace gles2 196 } // namespace gles2
196 } // namespace gpu 197 } // namespace gpu
197 198
198 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 199 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698