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

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: address review comment Created 6 years, 3 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 bool ext_frag_depth; 62 bool ext_frag_depth;
63 bool ext_shader_texture_lod; 63 bool ext_shader_texture_lod;
64 bool use_async_readpixels; 64 bool use_async_readpixels;
65 bool map_buffer_range; 65 bool map_buffer_range;
66 bool ext_discard_framebuffer; 66 bool ext_discard_framebuffer;
67 bool angle_depth_texture; 67 bool angle_depth_texture;
68 bool is_angle; 68 bool is_angle;
69 bool is_swiftshader; 69 bool is_swiftshader;
70 bool angle_texture_usage; 70 bool angle_texture_usage;
71 bool ext_texture_storage; 71 bool ext_texture_storage;
72 bool chromium_path_rendering;
72 }; 73 };
73 74
74 struct Workarounds { 75 struct Workarounds {
75 Workarounds(); 76 Workarounds();
76 77
77 #define GPU_OP(type, name) bool name; 78 #define GPU_OP(type, name) bool name;
78 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 79 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
79 #undef GPU_OP 80 #undef GPU_OP
80 81
81 // Note: 0 here means use driver limit. 82 // Note: 0 here means use driver limit.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Flags for Workarounds. 143 // Flags for Workarounds.
143 Workarounds workarounds_; 144 Workarounds workarounds_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 146 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
146 }; 147 };
147 148
148 } // namespace gles2 149 } // namespace gles2
149 } // namespace gpu 150 } // namespace gpu
150 151
151 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 152 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_state_impl_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