| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void(GLuint sourceId, GLuint destId)); | 118 void(GLuint sourceId, GLuint destId)); |
| 119 MOCK_METHOD8(CompressedTexImage2D, | 119 MOCK_METHOD8(CompressedTexImage2D, |
| 120 void(GLenum target, | 120 void(GLenum target, |
| 121 GLint level, | 121 GLint level, |
| 122 GLenum internalformat, | 122 GLenum internalformat, |
| 123 GLsizei width, | 123 GLsizei width, |
| 124 GLsizei height, | 124 GLsizei height, |
| 125 GLint border, | 125 GLint border, |
| 126 GLsizei imageSize, | 126 GLsizei imageSize, |
| 127 const void* data)); | 127 const void* data)); |
| 128 MOCK_METHOD9(CompressedTexImage2DRobustANGLE, |
| 129 void(GLenum target, |
| 130 GLint level, |
| 131 GLenum internalformat, |
| 132 GLsizei width, |
| 133 GLsizei height, |
| 134 GLint border, |
| 135 GLsizei imageSize, |
| 136 GLsizei dataSize, |
| 137 const void* data)); |
| 128 MOCK_METHOD9(CompressedTexImage3D, | 138 MOCK_METHOD9(CompressedTexImage3D, |
| 129 void(GLenum target, | 139 void(GLenum target, |
| 130 GLint level, | 140 GLint level, |
| 131 GLenum internalformat, | 141 GLenum internalformat, |
| 132 GLsizei width, | 142 GLsizei width, |
| 133 GLsizei height, | 143 GLsizei height, |
| 134 GLsizei depth, | 144 GLsizei depth, |
| 135 GLint border, | 145 GLint border, |
| 136 GLsizei imageSize, | 146 GLsizei imageSize, |
| 137 const void* data)); | 147 const void* data)); |
| 148 MOCK_METHOD10(CompressedTexImage3DRobustANGLE, |
| 149 void(GLenum target, |
| 150 GLint level, |
| 151 GLenum internalformat, |
| 152 GLsizei width, |
| 153 GLsizei height, |
| 154 GLsizei depth, |
| 155 GLint border, |
| 156 GLsizei imageSize, |
| 157 GLsizei dataSize, |
| 158 const void* data)); |
| 138 MOCK_METHOD9(CompressedTexSubImage2D, | 159 MOCK_METHOD9(CompressedTexSubImage2D, |
| 139 void(GLenum target, | 160 void(GLenum target, |
| 140 GLint level, | 161 GLint level, |
| 141 GLint xoffset, | 162 GLint xoffset, |
| 142 GLint yoffset, | 163 GLint yoffset, |
| 143 GLsizei width, | 164 GLsizei width, |
| 144 GLsizei height, | 165 GLsizei height, |
| 145 GLenum format, | 166 GLenum format, |
| 146 GLsizei imageSize, | 167 GLsizei imageSize, |
| 147 const void* data)); | 168 const void* data)); |
| 169 MOCK_METHOD10(CompressedTexSubImage2DRobustANGLE, |
| 170 void(GLenum target, |
| 171 GLint level, |
| 172 GLint xoffset, |
| 173 GLint yoffset, |
| 174 GLsizei width, |
| 175 GLsizei height, |
| 176 GLenum format, |
| 177 GLsizei imageSize, |
| 178 GLsizei dataSize, |
| 179 const void* data)); |
| 148 // TODO(zmo): crbug.com/456340 | 180 // TODO(zmo): crbug.com/456340 |
| 149 // glCompressedTexSubImage3D cannot be mocked because it has 11 args. | 181 // glCompressedTexSubImage3D cannot be mocked because it has 11 args. |
| 182 // TODO(zmo): crbug.com/456340 |
| 183 // glCompressedTexSubImage3DRobustANGLE cannot be mocked because it has 12 args. |
| 150 MOCK_METHOD5(CopyBufferSubData, | 184 MOCK_METHOD5(CopyBufferSubData, |
| 151 void(GLenum readTarget, | 185 void(GLenum readTarget, |
| 152 GLenum writeTarget, | 186 GLenum writeTarget, |
| 153 GLintptr readOffset, | 187 GLintptr readOffset, |
| 154 GLintptr writeOffset, | 188 GLintptr writeOffset, |
| 155 GLsizeiptr size)); | 189 GLsizeiptr size)); |
| 156 // TODO(zmo): crbug.com/456340 | 190 // TODO(zmo): crbug.com/456340 |
| 157 // glCopySubTextureCHROMIUM cannot be mocked because it has 14 args. | 191 // glCopySubTextureCHROMIUM cannot be mocked because it has 14 args. |
| 158 MOCK_METHOD8(CopyTexImage2D, | 192 MOCK_METHOD8(CopyTexImage2D, |
| 159 void(GLenum target, | 193 void(GLenum target, |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1197 const void* ptr)); | 1231 const void* ptr)); |
| 1198 MOCK_METHOD6(VertexAttribPointer, | 1232 MOCK_METHOD6(VertexAttribPointer, |
| 1199 void(GLuint indx, | 1233 void(GLuint indx, |
| 1200 GLint size, | 1234 GLint size, |
| 1201 GLenum type, | 1235 GLenum type, |
| 1202 GLboolean normalized, | 1236 GLboolean normalized, |
| 1203 GLsizei stride, | 1237 GLsizei stride, |
| 1204 const void* ptr)); | 1238 const void* ptr)); |
| 1205 MOCK_METHOD4(Viewport, void(GLint x, GLint y, GLsizei width, GLsizei height)); | 1239 MOCK_METHOD4(Viewport, void(GLint x, GLint y, GLsizei width, GLsizei height)); |
| 1206 MOCK_METHOD3(WaitSync, GLenum(GLsync sync, GLbitfield flags, GLuint64 timeout)); | 1240 MOCK_METHOD3(WaitSync, GLenum(GLsync sync, GLbitfield flags, GLuint64 timeout)); |
| OLD | NEW |