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

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

Issue 10795037: Revert 147328 - Current status of patch: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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 "gpu/command_buffer/common/gl_mock.h" 8 #include "gpu/command_buffer/common/gl_mock.h"
9 9
10 namespace gpu { 10 namespace gpu {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 static void SetupExpectationsForClearingUniforms( 75 static void SetupExpectationsForClearingUniforms(
76 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms); 76 ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms);
77 77
78 static void SetupShader( 78 static void SetupShader(
79 ::gfx::MockGLInterface* gl, 79 ::gfx::MockGLInterface* gl,
80 AttribInfo* attribs, size_t num_attribs, 80 AttribInfo* attribs, size_t num_attribs,
81 UniformInfo* uniforms, size_t num_uniforms, 81 UniformInfo* uniforms, size_t num_uniforms,
82 GLuint service_id); 82 GLuint service_id);
83 83
84 static void SetupProgramSuccessExpectations(::gfx::MockGLInterface* gl,
85 AttribInfo* attribs, size_t num_attribs,
86 UniformInfo* uniforms, size_t num_uniforms,
87 GLuint service_id);
88
89 private: 84 private:
90 static void SetupTextureInitializationExpectations( 85 static void SetupTextureInitializationExpectations(
91 ::gfx::MockGLInterface* gl, GLenum target); 86 ::gfx::MockGLInterface* gl, GLenum target);
92 static void SetupTextureDestructionExpectations( 87 static void SetupTextureDestructionExpectations(
93 ::gfx::MockGLInterface* gl, GLenum target); 88 ::gfx::MockGLInterface* gl, GLenum target);
94 }; 89 };
95 90
96 } // namespace gles2 91 } // namespace gles2
97 } // namespace gpu 92 } // namespace gpu
98 93
99 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 94 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
100 95
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/shader_translator.h ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698