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

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

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased 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
« no previous file with comments | « gin/modules/module_registry.h ('k') | gpu/command_buffer/service/valuebuffer_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « gin/modules/module_registry.h ('k') | gpu/command_buffer/service/valuebuffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698