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

Side by Side Diff: gpu/command_buffer/common/capabilities.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, 2 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/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/capabilities.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 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 #ifndef GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
7 7
8 #include "gpu/gpu_export.h" 8 #include "gpu/gpu_export.h"
9 9
10 namespace gpu { 10 namespace gpu {
11 11
12 struct GPU_EXPORT Capabilities { 12 struct GPU_EXPORT Capabilities {
13 bool post_sub_buffer; 13 bool post_sub_buffer;
14 bool egl_image_external; 14 bool egl_image_external;
15 bool texture_format_bgra8888; 15 bool texture_format_bgra8888;
16 bool texture_format_etc1; 16 bool texture_format_etc1;
17 bool texture_format_etc1_npot; 17 bool texture_format_etc1_npot;
18 bool texture_rectangle; 18 bool texture_rectangle;
19 bool iosurface; 19 bool iosurface;
20 bool texture_usage; 20 bool texture_usage;
21 bool texture_storage; 21 bool texture_storage;
22 bool discard_framebuffer; 22 bool discard_framebuffer;
23 bool sync_query; 23 bool sync_query;
24 bool image; 24 bool image;
25 bool future_sync_points; 25 bool future_sync_points;
26 bool blend_minmax; 26 bool blend_minmax;
27 bool blend_equation_advanced;
28 bool blend_equation_advanced_coherent;
27 29
28 Capabilities(); 30 Capabilities();
29 }; 31 };
30 32
31 } // namespace gpu 33 } // namespace gpu
32 34
33 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 35 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698