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

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

Issue 643373003: Add support for all blendmodes if we have GL_KHR_blend_equation_advanced. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix feature_info_unittest Created 6 years, 1 month 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 (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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool use_async_readpixels; 65 bool use_async_readpixels;
66 bool map_buffer_range; 66 bool map_buffer_range;
67 bool ext_discard_framebuffer; 67 bool ext_discard_framebuffer;
68 bool angle_depth_texture; 68 bool angle_depth_texture;
69 bool is_angle; 69 bool is_angle;
70 bool is_swiftshader; 70 bool is_swiftshader;
71 bool angle_texture_usage; 71 bool angle_texture_usage;
72 bool ext_texture_storage; 72 bool ext_texture_storage;
73 bool chromium_path_rendering; 73 bool chromium_path_rendering;
74 bool ext_blend_minmax; 74 bool ext_blend_minmax;
75 bool blend_equation_advanced;
76 bool blend_equation_advanced_coherent;
75 }; 77 };
76 78
77 struct Workarounds { 79 struct Workarounds {
78 Workarounds(); 80 Workarounds();
79 81
80 #define GPU_OP(type, name) bool name; 82 #define GPU_OP(type, name) bool name;
81 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 83 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
82 #undef GPU_OP 84 #undef GPU_OP
83 85
84 // Note: 0 here means use driver limit. 86 // Note: 0 here means use driver limit.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Flags for Workarounds. 147 // Flags for Workarounds.
146 Workarounds workarounds_; 148 Workarounds workarounds_;
147 149
148 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 150 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
149 }; 151 };
150 152
151 } // namespace gles2 153 } // namespace gles2
152 } // namespace gpu 154 } // namespace gpu
153 155
154 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 156 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698