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

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

Issue 240273006: Revert of gpu: Add CHROMIUM_sync_query extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 13 matching lines...) Expand all
24 24
25 // FeatureInfo records the features that are available for a ContextGroup. 25 // FeatureInfo records the features that are available for a ContextGroup.
26 class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> { 26 class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
27 public: 27 public:
28 struct FeatureFlags { 28 struct FeatureFlags {
29 FeatureFlags(); 29 FeatureFlags();
30 30
31 bool chromium_color_buffer_float_rgba; 31 bool chromium_color_buffer_float_rgba;
32 bool chromium_color_buffer_float_rgb; 32 bool chromium_color_buffer_float_rgb;
33 bool chromium_framebuffer_multisample; 33 bool chromium_framebuffer_multisample;
34 bool chromium_sync_query;
35 // Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with 34 // Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with
36 // GL_EXT_framebuffer_multisample-style semantics, since they are exposed 35 // GL_EXT_framebuffer_multisample-style semantics, since they are exposed
37 // as core GL functions on this implementation. 36 // as core GL functions on this implementation.
38 bool use_core_framebuffer_multisample; 37 bool use_core_framebuffer_multisample;
39 bool multisampled_render_to_texture; 38 bool multisampled_render_to_texture;
40 // Use the IMG GLenum values and functions rather than EXT. 39 // Use the IMG GLenum values and functions rather than EXT.
41 bool use_img_for_multisampled_render_to_texture; 40 bool use_img_for_multisampled_render_to_texture;
42 bool oes_standard_derivatives; 41 bool oes_standard_derivatives;
43 bool oes_egl_image_external; 42 bool oes_egl_image_external;
44 bool oes_depth24; 43 bool oes_depth24;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Flags for Workarounds. 137 // Flags for Workarounds.
139 Workarounds workarounds_; 138 Workarounds workarounds_;
140 139
141 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 140 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
142 }; 141 };
143 142
144 } // namespace gles2 143 } // namespace gles2
145 } // namespace gpu 144 } // namespace gpu
146 145
147 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 146 #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