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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
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_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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void RemoveDestructionObserver(DestructionObserver* observer); 111 void RemoveDestructionObserver(DestructionObserver* observer);
112 112
113 private: 113 private:
114 ~ShaderTranslator() override; 114 ~ShaderTranslator() override;
115 115
116 int GetCompileOptions() const; 116 int GetCompileOptions() const;
117 117
118 ShHandle compiler_; 118 ShHandle compiler_;
119 bool implementation_is_glsl_es_; 119 bool implementation_is_glsl_es_;
120 ShCompileOptions driver_bug_workarounds_; 120 ShCompileOptions driver_bug_workarounds_;
121 ObserverList<DestructionObserver> destruction_observers_; 121 base::ObserverList<DestructionObserver> destruction_observers_;
122 }; 122 };
123 123
124 } // namespace gles2 124 } // namespace gles2
125 } // namespace gpu 125 } // namespace gpu
126 126
127 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ 127 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_
128 128
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_token_service.h ('k') | gpu/command_buffer/service/valuebuffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698