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

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

Issue 79123004: Implemented failIfMajorPerformanceCaveat WebGL context creation attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments, logging updates Created 7 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 | Annotate | Revision Log
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 bool native_vertex_array_object; 52 bool native_vertex_array_object;
53 bool enable_shader_name_hashing; 53 bool enable_shader_name_hashing;
54 bool enable_samplers; 54 bool enable_samplers;
55 bool ext_draw_buffers; 55 bool ext_draw_buffers;
56 bool ext_frag_depth; 56 bool ext_frag_depth;
57 bool use_async_readpixels; 57 bool use_async_readpixels;
58 bool map_buffer_range; 58 bool map_buffer_range;
59 bool ext_discard_framebuffer; 59 bool ext_discard_framebuffer;
60 bool angle_depth_texture; 60 bool angle_depth_texture;
61 bool is_angle; 61 bool is_angle;
62 bool is_swiftshader;
62 }; 63 };
63 64
64 struct Workarounds { 65 struct Workarounds {
65 Workarounds(); 66 Workarounds();
66 67
67 #define GPU_OP(type, name) bool name; 68 #define GPU_OP(type, name) bool name;
68 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 69 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
69 #undef GPU_OP 70 #undef GPU_OP
70 71
71 // Note: 0 here means use driver limit. 72 // Note: 0 here means use driver limit.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // Flags for Workarounds. 131 // Flags for Workarounds.
131 Workarounds workarounds_; 132 Workarounds workarounds_;
132 133
133 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 134 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
134 }; 135 };
135 136
136 } // namespace gles2 137 } // namespace gles2
137 } // namespace gpu 138 } // namespace gpu
138 139
139 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 140 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698