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

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

Issue 2852923004: Remove NameMap from shader translator and shader/program managers (Closed)
Patch Set: split CL Created 3 years, 7 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_TEST_HELPER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 ::gl::MockGLInterface* gl, 190 ::gl::MockGLInterface* gl,
191 Shader* shader, 191 Shader* shader,
192 bool expected_valid, 192 bool expected_valid,
193 const std::string* const expected_log_info, 193 const std::string* const expected_log_info,
194 const std::string* const expected_translated_source, 194 const std::string* const expected_translated_source,
195 const int* const expected_shader_version, 195 const int* const expected_shader_version,
196 const AttributeMap* const expected_attrib_map, 196 const AttributeMap* const expected_attrib_map,
197 const UniformMap* const expected_uniform_map, 197 const UniformMap* const expected_uniform_map,
198 const VaryingMap* const expected_varying_map, 198 const VaryingMap* const expected_varying_map,
199 const InterfaceBlockMap* const expected_interface_block_map, 199 const InterfaceBlockMap* const expected_interface_block_map,
200 const OutputVariableList* const expected_output_variable_list, 200 const OutputVariableList* const expected_output_variable_list);
201 const NameMap* const expected_name_map);
202 201
203 static void SetShaderStates(::gl::MockGLInterface* gl, 202 static void SetShaderStates(::gl::MockGLInterface* gl,
204 Shader* shader, 203 Shader* shader,
205 bool valid); 204 bool valid);
206 205
207 static sh::Attribute ConstructAttribute( 206 static sh::Attribute ConstructAttribute(
208 GLenum type, GLint array_size, GLenum precision, 207 GLenum type, GLint array_size, GLenum precision,
209 bool static_use, const std::string& name); 208 bool static_use, const std::string& name);
210 static sh::Uniform ConstructUniform( 209 static sh::Uniform ConstructUniform(
211 GLenum type, GLint array_size, GLenum precision, 210 GLenum type, GLint array_size, GLenum precision,
(...skipping 16 matching lines...) Expand all
228 bool use_default_textures); 227 bool use_default_textures);
229 228
230 static std::vector<std::string> split_extensions_; 229 static std::vector<std::string> split_extensions_;
231 }; 230 };
232 231
233 } // namespace gles2 232 } // namespace gles2
234 } // namespace gpu 233 } // namespace gpu
235 234
236 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 235 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
237 236
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698