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

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

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 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 (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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool ext_draw_buffers; 60 bool ext_draw_buffers;
61 bool ext_frag_depth; 61 bool ext_frag_depth;
62 bool use_async_readpixels; 62 bool use_async_readpixels;
63 bool map_buffer_range; 63 bool map_buffer_range;
64 bool ext_discard_framebuffer; 64 bool ext_discard_framebuffer;
65 bool angle_depth_texture; 65 bool angle_depth_texture;
66 bool is_angle; 66 bool is_angle;
67 bool is_swiftshader; 67 bool is_swiftshader;
68 bool angle_texture_usage; 68 bool angle_texture_usage;
69 bool ext_texture_storage; 69 bool ext_texture_storage;
70 bool nv_path_rendering;
70 }; 71 };
71 72
72 struct Workarounds { 73 struct Workarounds {
73 Workarounds(); 74 Workarounds();
74 75
75 #define GPU_OP(type, name) bool name; 76 #define GPU_OP(type, name) bool name;
76 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 77 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
77 #undef GPU_OP 78 #undef GPU_OP
78 79
79 // Note: 0 here means use driver limit. 80 // Note: 0 here means use driver limit.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // Flags for Workarounds. 138 // Flags for Workarounds.
138 Workarounds workarounds_; 139 Workarounds workarounds_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 141 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
141 }; 142 };
142 143
143 } // namespace gles2 144 } // namespace gles2
144 } // namespace gpu 145 } // namespace gpu
145 146
146 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 147 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698