OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 const void* data)); | 147 const void* data)); |
148 // TODO(zmo): crbug.com/456340 | 148 // TODO(zmo): crbug.com/456340 |
149 // glCompressedTexSubImage3D cannot be mocked because it has 11 args. | 149 // glCompressedTexSubImage3D cannot be mocked because it has 11 args. |
150 MOCK_METHOD5(CopyBufferSubData, | 150 MOCK_METHOD5(CopyBufferSubData, |
151 void(GLenum readTarget, | 151 void(GLenum readTarget, |
152 GLenum writeTarget, | 152 GLenum writeTarget, |
153 GLintptr readOffset, | 153 GLintptr readOffset, |
154 GLintptr writeOffset, | 154 GLintptr writeOffset, |
155 GLsizeiptr size)); | 155 GLsizeiptr size)); |
156 // TODO(zmo): crbug.com/456340 | 156 // TODO(zmo): crbug.com/456340 |
157 // glCopySubTextureCHROMIUM cannot be mocked because it has 14 args. | 157 // glCopySubTextureCHROMIUM cannot be mocked because it has 11 args. |
158 MOCK_METHOD8(CopyTexImage2D, | 158 MOCK_METHOD8(CopyTexImage2D, |
159 void(GLenum target, | 159 void(GLenum target, |
160 GLint level, | 160 GLint level, |
161 GLenum internalformat, | 161 GLenum internalformat, |
162 GLint x, | 162 GLint x, |
163 GLint y, | 163 GLint y, |
164 GLsizei width, | 164 GLsizei width, |
165 GLsizei height, | 165 GLsizei height, |
166 GLint border)); | 166 GLint border)); |
167 MOCK_METHOD8(CopyTexSubImage2D, | 167 MOCK_METHOD8(CopyTexSubImage2D, |
168 void(GLenum target, | 168 void(GLenum target, |
169 GLint level, | 169 GLint level, |
170 GLint xoffset, | 170 GLint xoffset, |
171 GLint yoffset, | 171 GLint yoffset, |
172 GLint x, | 172 GLint x, |
173 GLint y, | 173 GLint y, |
174 GLsizei width, | 174 GLsizei width, |
175 GLsizei height)); | 175 GLsizei height)); |
176 MOCK_METHOD9(CopyTexSubImage3D, | 176 MOCK_METHOD9(CopyTexSubImage3D, |
177 void(GLenum target, | 177 void(GLenum target, |
178 GLint level, | 178 GLint level, |
179 GLint xoffset, | 179 GLint xoffset, |
180 GLint yoffset, | 180 GLint yoffset, |
181 GLint zoffset, | 181 GLint zoffset, |
182 GLint x, | 182 GLint x, |
183 GLint y, | 183 GLint y, |
184 GLsizei width, | 184 GLsizei width, |
185 GLsizei height)); | 185 GLsizei height)); |
186 MOCK_METHOD10(CopyTextureCHROMIUM, | 186 MOCK_METHOD7(CopyTextureCHROMIUM, |
187 void(GLuint sourceId, | 187 void(GLuint sourceId, |
188 GLint sourceLevel, | 188 GLuint destId, |
189 GLenum destTarget, | 189 GLint internalFormat, |
190 GLuint destId, | 190 GLenum destType, |
191 GLint destLevel, | 191 GLboolean unpackFlipY, |
192 GLint internalFormat, | 192 GLboolean unpackPremultiplyAlpha, |
193 GLenum destType, | 193 GLboolean unpackUnmultiplyAlpha)); |
194 GLboolean unpackFlipY, | |
195 GLboolean unpackPremultiplyAlpha, | |
196 GLboolean unpackUnmultiplyAlpha)); | |
197 MOCK_METHOD1(CoverageModulationNV, void(GLenum components)); | 194 MOCK_METHOD1(CoverageModulationNV, void(GLenum components)); |
198 MOCK_METHOD7(CoverFillPathInstancedNV, | 195 MOCK_METHOD7(CoverFillPathInstancedNV, |
199 void(GLsizei numPaths, | 196 void(GLsizei numPaths, |
200 GLenum pathNameType, | 197 GLenum pathNameType, |
201 const void* paths, | 198 const void* paths, |
202 GLuint pathBase, | 199 GLuint pathBase, |
203 GLenum coverMode, | 200 GLenum coverMode, |
204 GLenum transformType, | 201 GLenum transformType, |
205 const GLfloat* transformValues)); | 202 const GLfloat* transformValues)); |
206 MOCK_METHOD2(CoverFillPathNV, void(GLuint path, GLenum coverMode)); | 203 MOCK_METHOD2(CoverFillPathNV, void(GLuint path, GLenum coverMode)); |
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1213 const void* ptr)); | 1210 const void* ptr)); |
1214 MOCK_METHOD6(VertexAttribPointer, | 1211 MOCK_METHOD6(VertexAttribPointer, |
1215 void(GLuint indx, | 1212 void(GLuint indx, |
1216 GLint size, | 1213 GLint size, |
1217 GLenum type, | 1214 GLenum type, |
1218 GLboolean normalized, | 1215 GLboolean normalized, |
1219 GLsizei stride, | 1216 GLsizei stride, |
1220 const void* ptr)); | 1217 const void* ptr)); |
1221 MOCK_METHOD4(Viewport, void(GLint x, GLint y, GLsizei width, GLsizei height)); | 1218 MOCK_METHOD4(Viewport, void(GLint x, GLint y, GLsizei width, GLsizei height)); |
1222 MOCK_METHOD3(WaitSync, GLenum(GLsync sync, GLbitfield flags, GLuint64 timeout)); | 1219 MOCK_METHOD3(WaitSync, GLenum(GLsync sync, GLbitfield flags, GLuint64 timeout)); |
OLD | NEW |