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/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 void RemoveDestructionObserver(DestructionObserver* observer); | 109 void RemoveDestructionObserver(DestructionObserver* observer); |
110 | 110 |
111 private: | 111 private: |
112 ~ShaderTranslator() override; | 112 ~ShaderTranslator() override; |
113 | 113 |
114 int GetCompileOptions() const; | 114 int GetCompileOptions() const; |
115 | 115 |
116 ShHandle compiler_; | 116 ShHandle compiler_; |
117 bool implementation_is_glsl_es_; | 117 bool implementation_is_glsl_es_; |
118 ShCompileOptions driver_bug_workarounds_; | 118 ShCompileOptions driver_bug_workarounds_; |
119 ObserverList<DestructionObserver> destruction_observers_; | 119 base::ObserverList<DestructionObserver> destruction_observers_; |
120 }; | 120 }; |
121 | 121 |
122 } // namespace gles2 | 122 } // namespace gles2 |
123 } // namespace gpu | 123 } // namespace gpu |
124 | 124 |
125 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ | 125 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ |
126 | 126 |
OLD | NEW |