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

Side by Side Diff: ui/gl/gl_mock_autogen_gl.h

Issue 2776753002: Update the passthrough command decoder to use the new CHROMIUM_copy_texture. (Closed)
Patch Set: Re-roll ANGLE Created 3 years, 8 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
« no previous file with comments | « ui/gl/gl_mock.h ('k') | ui/gl/gl_stub_autogen_gl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 11 args. 157 // glCopySubTextureCHROMIUM cannot be mocked because it has 14 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_METHOD7(CopyTextureCHROMIUM, 186 MOCK_METHOD10(CopyTextureCHROMIUM,
187 void(GLuint sourceId, 187 void(GLuint sourceId,
188 GLuint destId, 188 GLint sourceLevel,
189 GLint internalFormat, 189 GLenum destTarget,
190 GLenum destType, 190 GLuint destId,
191 GLboolean unpackFlipY, 191 GLint destLevel,
192 GLboolean unpackPremultiplyAlpha, 192 GLint internalFormat,
193 GLboolean unpackUnmultiplyAlpha)); 193 GLenum destType,
194 GLboolean unpackFlipY,
195 GLboolean unpackPremultiplyAlpha,
196 GLboolean unpackUnmultiplyAlpha));
194 MOCK_METHOD1(CoverageModulationNV, void(GLenum components)); 197 MOCK_METHOD1(CoverageModulationNV, void(GLenum components));
195 MOCK_METHOD7(CoverFillPathInstancedNV, 198 MOCK_METHOD7(CoverFillPathInstancedNV,
196 void(GLsizei numPaths, 199 void(GLsizei numPaths,
197 GLenum pathNameType, 200 GLenum pathNameType,
198 const void* paths, 201 const void* paths,
199 GLuint pathBase, 202 GLuint pathBase,
200 GLenum coverMode, 203 GLenum coverMode,
201 GLenum transformType, 204 GLenum transformType,
202 const GLfloat* transformValues)); 205 const GLfloat* transformValues));
203 MOCK_METHOD2(CoverFillPathNV, void(GLuint path, GLenum coverMode)); 206 MOCK_METHOD2(CoverFillPathNV, void(GLuint path, GLenum coverMode));
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 const void* ptr)); 1213 const void* ptr));
1211 MOCK_METHOD6(VertexAttribPointer, 1214 MOCK_METHOD6(VertexAttribPointer,
1212 void(GLuint indx, 1215 void(GLuint indx,
1213 GLint size, 1216 GLint size,
1214 GLenum type, 1217 GLenum type,
1215 GLboolean normalized, 1218 GLboolean normalized,
1216 GLsizei stride, 1219 GLsizei stride,
1217 const void* ptr)); 1220 const void* ptr));
1218 MOCK_METHOD4(Viewport, void(GLint x, GLint y, GLsizei width, GLsizei height)); 1221 MOCK_METHOD4(Viewport, void(GLint x, GLint y, GLsizei width, GLsizei height));
1219 MOCK_METHOD3(WaitSync, GLenum(GLsync sync, GLbitfield flags, GLuint64 timeout)); 1222 MOCK_METHOD3(WaitSync, GLenum(GLsync sync, GLbitfield flags, GLuint64 timeout));
OLDNEW
« no previous file with comments | « ui/gl/gl_mock.h ('k') | ui/gl/gl_stub_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698