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

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

Issue 12545014: Implement EXT_draw_buffers WebGL extention support in command buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 21 matching lines...) Expand all
32 bool angle_translated_shader_source; 32 bool angle_translated_shader_source;
33 bool angle_pack_reverse_row_order; 33 bool angle_pack_reverse_row_order;
34 bool arb_texture_rectangle; 34 bool arb_texture_rectangle;
35 bool angle_instanced_arrays; 35 bool angle_instanced_arrays;
36 bool occlusion_query_boolean; 36 bool occlusion_query_boolean;
37 bool use_arb_occlusion_query2_for_occlusion_query_boolean; 37 bool use_arb_occlusion_query2_for_occlusion_query_boolean;
38 bool use_arb_occlusion_query_for_occlusion_query_boolean; 38 bool use_arb_occlusion_query_for_occlusion_query_boolean;
39 bool native_vertex_array_object; 39 bool native_vertex_array_object;
40 bool disable_workarounds; 40 bool disable_workarounds;
41 bool enable_shader_name_hashing; 41 bool enable_shader_name_hashing;
42 bool ext_draw_buffers;
42 }; 43 };
43 44
44 struct Workarounds { 45 struct Workarounds {
45 Workarounds(); 46 Workarounds();
46 47
47 bool clear_alpha_in_readpixels; 48 bool clear_alpha_in_readpixels;
48 bool clear_uniforms_before_program_use; 49 bool clear_uniforms_before_program_use;
49 bool needs_glsl_built_in_function_emulation; 50 bool needs_glsl_built_in_function_emulation;
50 bool needs_offscreen_buffer_workaround; 51 bool needs_offscreen_buffer_workaround;
51 bool reverse_point_sprite_coord_origin; 52 bool reverse_point_sprite_coord_origin;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Flags for Workarounds. 116 // Flags for Workarounds.
116 Workarounds workarounds_; 117 Workarounds workarounds_;
117 118
118 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 119 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
119 }; 120 };
120 121
121 } // namespace gles2 122 } // namespace gles2
122 } // namespace gpu 123 } // namespace gpu
123 124
124 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 125 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698