| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.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 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1232 GLenum dest_id, | 1232 GLenum dest_id, |
| 1233 GLint xoffset, | 1233 GLint xoffset, |
| 1234 GLint yoffset, | 1234 GLint yoffset, |
| 1235 GLint x, | 1235 GLint x, |
| 1236 GLint y, | 1236 GLint y, |
| 1237 GLsizei width, | 1237 GLsizei width, |
| 1238 GLsizei height) { | 1238 GLsizei height) { |
| 1239 gles2::GetGLContext()->CopySubTextureCHROMIUM( | 1239 gles2::GetGLContext()->CopySubTextureCHROMIUM( |
| 1240 target, source_id, dest_id, xoffset, yoffset, x, y, width, height); | 1240 target, source_id, dest_id, xoffset, yoffset, x, y, width, height); |
| 1241 } | 1241 } |
| 1242 void GLES2CompressedCopyTextureCHROMIUM(GLenum target, |
| 1243 GLenum source_id, |
| 1244 GLenum dest_id) { |
| 1245 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, |
| 1246 dest_id); |
| 1247 } |
| 1242 void GLES2DrawArraysInstancedANGLE(GLenum mode, | 1248 void GLES2DrawArraysInstancedANGLE(GLenum mode, |
| 1243 GLint first, | 1249 GLint first, |
| 1244 GLsizei count, | 1250 GLsizei count, |
| 1245 GLsizei primcount) { | 1251 GLsizei primcount) { |
| 1246 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, | 1252 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, |
| 1247 primcount); | 1253 primcount); |
| 1248 } | 1254 } |
| 1249 void GLES2DrawElementsInstancedANGLE(GLenum mode, | 1255 void GLES2DrawElementsInstancedANGLE(GLenum mode, |
| 1250 GLsizei count, | 1256 GLsizei count, |
| 1251 GLenum type, | 1257 GLenum type, |
| (...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2480 }, | 2486 }, |
| 2481 { | 2487 { |
| 2482 "glCopyTextureCHROMIUM", | 2488 "glCopyTextureCHROMIUM", |
| 2483 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), | 2489 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), |
| 2484 }, | 2490 }, |
| 2485 { | 2491 { |
| 2486 "glCopySubTextureCHROMIUM", | 2492 "glCopySubTextureCHROMIUM", |
| 2487 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), | 2493 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), |
| 2488 }, | 2494 }, |
| 2489 { | 2495 { |
| 2496 "glCompressedCopyTextureCHROMIUM", |
| 2497 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), |
| 2498 }, |
| 2499 { |
| 2490 "glDrawArraysInstancedANGLE", | 2500 "glDrawArraysInstancedANGLE", |
| 2491 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), | 2501 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), |
| 2492 }, | 2502 }, |
| 2493 { | 2503 { |
| 2494 "glDrawElementsInstancedANGLE", | 2504 "glDrawElementsInstancedANGLE", |
| 2495 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), | 2505 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), |
| 2496 }, | 2506 }, |
| 2497 { | 2507 { |
| 2498 "glVertexAttribDivisorANGLE", | 2508 "glVertexAttribDivisorANGLE", |
| 2499 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), | 2509 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2631 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2641 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
| 2632 }, | 2642 }, |
| 2633 { | 2643 { |
| 2634 NULL, | 2644 NULL, |
| 2635 NULL, | 2645 NULL, |
| 2636 }, | 2646 }, |
| 2637 }; | 2647 }; |
| 2638 | 2648 |
| 2639 } // namespace gles2 | 2649 } // namespace gles2 |
| 2640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2650 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |