| OLD | NEW |
| 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/hash_tables.h" | 10 #include "base/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/command_buffer/service/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: |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Flags for Workarounds. | 114 // Flags for Workarounds. |
| 115 Workarounds workarounds_; | 115 Workarounds workarounds_; |
| 116 | 116 |
| 117 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 117 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace gles2 | 120 } // namespace gles2 |
| 121 } // namespace gpu | 121 } // namespace gpu |
| 122 | 122 |
| 123 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 123 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |