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

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

Issue 19579008: Revert "Revert 210138 "Perform glReadPixels with PBOs in the gpu, if PBO..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: previous upload reverts the revert, here are the changes Created 7 years, 5 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 | 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 30 matching lines...) Expand all
41 bool arb_texture_rectangle; 41 bool arb_texture_rectangle;
42 bool angle_instanced_arrays; 42 bool angle_instanced_arrays;
43 bool occlusion_query_boolean; 43 bool occlusion_query_boolean;
44 bool use_arb_occlusion_query2_for_occlusion_query_boolean; 44 bool use_arb_occlusion_query2_for_occlusion_query_boolean;
45 bool use_arb_occlusion_query_for_occlusion_query_boolean; 45 bool use_arb_occlusion_query_for_occlusion_query_boolean;
46 bool native_vertex_array_object; 46 bool native_vertex_array_object;
47 bool enable_shader_name_hashing; 47 bool enable_shader_name_hashing;
48 bool enable_samplers; 48 bool enable_samplers;
49 bool ext_draw_buffers; 49 bool ext_draw_buffers;
50 bool ext_frag_depth; 50 bool ext_frag_depth;
51 bool use_async_readpixels;
51 }; 52 };
52 53
53 struct Workarounds { 54 struct Workarounds {
54 Workarounds(); 55 Workarounds();
55 56
56 #define GPU_OP(type, name) bool name; 57 #define GPU_OP(type, name) bool name;
57 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 58 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
58 #undef GPU_OP 59 #undef GPU_OP
59 60
60 // Note: 0 here means use driver limit. 61 // Note: 0 here means use driver limit.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Flags for Workarounds. 119 // Flags for Workarounds.
119 Workarounds workarounds_; 120 Workarounds workarounds_;
120 121
121 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 122 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
122 }; 123 };
123 124
124 } // namespace gles2 125 } // namespace gles2
125 } // namespace gpu 126 } // namespace gpu
126 127
127 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 128 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_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