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

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

Issue 9581018: GPU: Build most of the gpu as a single DLL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
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"
11 #include "gpu/command_buffer/service/gles2_cmd_validation.h" 11 #include "gpu/command_buffer/service/gles2_cmd_validation.h"
12 #include "gpu/gpu_export.h"
12 13
13 namespace gpu { 14 namespace gpu {
14 namespace gles2 { 15 namespace gles2 {
15 16
16 // FeatureInfo records the features that are available for a ContextGroup. 17 // FeatureInfo records the features that are available for a ContextGroup.
17 class FeatureInfo : public base::RefCounted<FeatureInfo> { 18 class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
18 public: 19 public:
19 typedef scoped_refptr<FeatureInfo> Ref; 20 typedef scoped_refptr<FeatureInfo> Ref;
20 21
21 struct FeatureFlags { 22 struct FeatureFlags {
22 FeatureFlags() 23 FeatureFlags()
23 : chromium_framebuffer_multisample(false), 24 : chromium_framebuffer_multisample(false),
24 oes_standard_derivatives(false), 25 oes_standard_derivatives(false),
25 oes_egl_image_external(false), 26 oes_egl_image_external(false),
26 npot_ok(false), 27 npot_ok(false),
27 enable_texture_float_linear(false), 28 enable_texture_float_linear(false),
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 89
89 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 90 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
90 }; 91 };
91 92
92 } // namespace gles2 93 } // namespace gles2
93 } // namespace gpu 94 } // namespace gpu
94 95
95 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 96 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
96 97
97 98
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/framebuffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698