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

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

Issue 18492005: Add GL_EXT_multisampled_render_to_texture support to command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved ahead to TOT 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
« 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/sys_info.h" 12 #include "base/sys_info.h"
13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
14 #include "gpu/command_buffer/service/gles2_cmd_validation.h" 14 #include "gpu/command_buffer/service/gles2_cmd_validation.h"
15 #include "gpu/config/gpu_driver_bug_workaround_type.h" 15 #include "gpu/config/gpu_driver_bug_workaround_type.h"
16 #include "gpu/gpu_export.h" 16 #include "gpu/gpu_export.h"
17 17
18 class CommandLine; 18 class CommandLine;
19 19
20 namespace gpu { 20 namespace gpu {
21 namespace gles2 { 21 namespace gles2 {
22 22
23 // FeatureInfo records the features that are available for a ContextGroup. 23 // FeatureInfo records the features that are available for a ContextGroup.
24 class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> { 24 class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
25 public: 25 public:
26 struct FeatureFlags { 26 struct FeatureFlags {
27 FeatureFlags(); 27 FeatureFlags();
28 28
29 bool chromium_framebuffer_multisample; 29 bool chromium_framebuffer_multisample;
30 bool multisampled_render_to_texture;
31 // Use the IMG GLenum values and functions rather than EXT.
32 bool use_img_for_multisampled_render_to_texture;
30 bool oes_standard_derivatives; 33 bool oes_standard_derivatives;
31 bool oes_egl_image_external; 34 bool oes_egl_image_external;
32 bool npot_ok; 35 bool npot_ok;
33 bool enable_texture_float_linear; 36 bool enable_texture_float_linear;
34 bool enable_texture_half_float_linear; 37 bool enable_texture_half_float_linear;
35 bool chromium_stream_texture; 38 bool chromium_stream_texture;
36 bool angle_translated_shader_source; 39 bool angle_translated_shader_source;
37 bool angle_pack_reverse_row_order; 40 bool angle_pack_reverse_row_order;
38 bool arb_texture_rectangle; 41 bool arb_texture_rectangle;
39 bool angle_instanced_arrays; 42 bool angle_instanced_arrays;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // Flags for Workarounds. 119 // Flags for Workarounds.
117 Workarounds workarounds_; 120 Workarounds workarounds_;
118 121
119 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 122 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
120 }; 123 };
121 124
122 } // namespace gles2 125 } // namespace gles2
123 } // namespace gpu 126 } // namespace gpu
124 127
125 #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/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