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

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

Issue 2321953002: Use 64-bits shader compile options (Closed)
Patch Set: Created 4 years, 3 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/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 NameMap* name_map) const override; 116 NameMap* name_map) const override;
117 117
118 std::string GetStringForOptionsThatWouldAffectCompilation() const override; 118 std::string GetStringForOptionsThatWouldAffectCompilation() const override;
119 119
120 void AddDestructionObserver(DestructionObserver* observer); 120 void AddDestructionObserver(DestructionObserver* observer);
121 void RemoveDestructionObserver(DestructionObserver* observer); 121 void RemoveDestructionObserver(DestructionObserver* observer);
122 122
123 private: 123 private:
124 ~ShaderTranslator() override; 124 ~ShaderTranslator() override;
125 125
126 int GetCompileOptions() const; 126 ShCompileOptions GetCompileOptions() const;
127 127
128 ShHandle compiler_; 128 ShHandle compiler_;
129 int compile_options_; 129 ShCompileOptions compile_options_;
130 base::ObserverList<DestructionObserver> destruction_observers_; 130 base::ObserverList<DestructionObserver> destruction_observers_;
131 }; 131 };
132 132
133 } // namespace gles2 133 } // namespace gles2
134 } // namespace gpu 134 } // namespace gpu
135 135
136 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_ 136 #endif // GPU_COMMAND_BUFFER_SERVICE_SHADER_TRANSLATOR_H_
137 137
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/shader_translator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698