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

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

Issue 10635011: Add glBindUniformLocationCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 GLenum type; 45 GLenum type;
46 GLint location; 46 GLint location;
47 }; 47 };
48 48
49 struct UniformInfo { 49 struct UniformInfo {
50 const char* name; 50 const char* name;
51 GLint size; 51 GLint size;
52 GLenum type; 52 GLenum type;
53 GLint fake_location; 53 GLint fake_location;
54 GLint real_location; 54 GLint real_location;
55 GLint desired_location;
55 const char* good_name; 56 const char* good_name;
56 }; 57 };
57 58
58 static void SetupContextGroupInitExpectations( 59 static void SetupContextGroupInitExpectations(
59 ::gfx::MockGLInterface* gl, 60 ::gfx::MockGLInterface* gl,
60 const DisallowedFeatures& disallowed_features, 61 const DisallowedFeatures& disallowed_features,
61 const char* extensions); 62 const char* extensions);
62 static void SetupFeatureInfoInitExpectations( 63 static void SetupFeatureInfoInitExpectations(
63 ::gfx::MockGLInterface* gl, const char* extensions); 64 ::gfx::MockGLInterface* gl, const char* extensions);
64 static void SetupFeatureInfoInitExpectationsWithVendor( 65 static void SetupFeatureInfoInitExpectationsWithVendor(
(...skipping 20 matching lines...) Expand all
85 ::gfx::MockGLInterface* gl, GLenum target); 86 ::gfx::MockGLInterface* gl, GLenum target);
86 static void SetupTextureDestructionExpectations( 87 static void SetupTextureDestructionExpectations(
87 ::gfx::MockGLInterface* gl, GLenum target); 88 ::gfx::MockGLInterface* gl, GLenum target);
88 }; 89 };
89 90
90 } // namespace gles2 91 } // namespace gles2
91 } // namespace gpu 92 } // namespace gpu
92 93
93 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ 94 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
94 95
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/program_manager_unittest.cc ('k') | gpu/command_buffer/service/test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698