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

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

Issue 10389107: Implement GL_EXT_occlusion_query_boolean on OSX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 <string> 8 #include <string>
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 10 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
(...skipping 16 matching lines...) Expand all
27 npot_ok(false), 27 npot_ok(false),
28 enable_texture_float_linear(false), 28 enable_texture_float_linear(false),
29 enable_texture_half_float_linear(false), 29 enable_texture_half_float_linear(false),
30 chromium_webglsl(false), 30 chromium_webglsl(false),
31 chromium_stream_texture(false), 31 chromium_stream_texture(false),
32 angle_translated_shader_source(false), 32 angle_translated_shader_source(false),
33 angle_pack_reverse_row_order(false), 33 angle_pack_reverse_row_order(false),
34 arb_texture_rectangle(false), 34 arb_texture_rectangle(false),
35 angle_instanced_arrays(false), 35 angle_instanced_arrays(false),
36 occlusion_query_boolean(false), 36 occlusion_query_boolean(false),
37 use_arb_occlusion_query2_for_occlusion_query_boolean(false) { 37 use_arb_occlusion_query2_for_occlusion_query_boolean(false),
38 use_arb_occlusion_query_for_occlusion_query_boolean(false) {
38 } 39 }
39 40
40 bool chromium_framebuffer_multisample; 41 bool chromium_framebuffer_multisample;
41 bool oes_standard_derivatives; 42 bool oes_standard_derivatives;
42 bool oes_egl_image_external; 43 bool oes_egl_image_external;
43 bool npot_ok; 44 bool npot_ok;
44 bool enable_texture_float_linear; 45 bool enable_texture_float_linear;
45 bool enable_texture_half_float_linear; 46 bool enable_texture_half_float_linear;
46 bool chromium_webglsl; 47 bool chromium_webglsl;
47 bool chromium_stream_texture; 48 bool chromium_stream_texture;
48 bool angle_translated_shader_source; 49 bool angle_translated_shader_source;
49 bool angle_pack_reverse_row_order; 50 bool angle_pack_reverse_row_order;
50 bool arb_texture_rectangle; 51 bool arb_texture_rectangle;
51 bool angle_instanced_arrays; 52 bool angle_instanced_arrays;
52 bool occlusion_query_boolean; 53 bool occlusion_query_boolean;
53 bool use_arb_occlusion_query2_for_occlusion_query_boolean; 54 bool use_arb_occlusion_query2_for_occlusion_query_boolean;
55 bool use_arb_occlusion_query_for_occlusion_query_boolean;
54 }; 56 };
55 57
56 FeatureInfo(); 58 FeatureInfo();
57 ~FeatureInfo(); 59 ~FeatureInfo();
58 60
59 // If allowed features = NULL or "*", all features are allowed. Otherwise 61 // If allowed features = NULL or "*", all features are allowed. Otherwise
60 // only features that match the strings in allowed_features are allowed. 62 // only features that match the strings in allowed_features are allowed.
61 bool Initialize(const char* allowed_features); 63 bool Initialize(const char* allowed_features);
62 bool Initialize(const DisallowedFeatures& disallowed_features, 64 bool Initialize(const DisallowedFeatures& disallowed_features,
63 const char* allowed_features); 65 const char* allowed_features);
(...skipping 29 matching lines...) Expand all
93 95
94 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 96 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
95 }; 97 };
96 98
97 } // namespace gles2 99 } // namespace gles2
98 } // namespace gpu 100 } // namespace gpu
99 101
100 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 102 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
101 103
102 104
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | gpu/command_buffer/service/query_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698