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_SHADER_TRANSLATOR_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
15 #include "gpu/gpu_export.h" | 14 #include "gpu/gpu_export.h" |
16 #include "third_party/angle/include/GLSLANG/ShaderLang.h" | 15 #include "third_party/angle/include/GLSLANG/ShaderLang.h" |
17 | 16 |
18 namespace gfx { | 17 namespace gfx { |
19 struct GLVersionInfo; | 18 struct GLVersionInfo; |
20 } | 19 } |
21 | 20 |
22 namespace gpu { | 21 namespace gpu { |
23 namespace gles2 { | 22 namespace gles2 { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 ShCompileOptions driver_bug_workarounds_; | 129 ShCompileOptions driver_bug_workarounds_; |
131 bool gl_shader_interm_output_; | 130 bool gl_shader_interm_output_; |
132 base::ObserverList<DestructionObserver> destruction_observers_; | 131 base::ObserverList<DestructionObserver> destruction_observers_; |
133 }; | 132 }; |
134 | 133 |
135 } // namespace gles2 | 134 } // namespace gles2 |
136 } // namespace gpu | 135 } // namespace gpu |
137 | 136 |
138 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ | 137 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ |
139 | 138 |
OLD | NEW |