Chromium Code Reviews| 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 492 GLint size, | 492 GLint size, |
| 493 GLenum type, | 493 GLenum type, |
| 494 GLboolean normalized, | 494 GLboolean normalized, |
| 495 GLsizei stride, | 495 GLsizei stride, |
| 496 const void* ptr); | 496 const void* ptr); |
| 497 void (*Viewport)(PP_Resource context, | 497 void (*Viewport)(PP_Resource context, |
| 498 GLint x, | 498 GLint x, |
| 499 GLint y, | 499 GLint y, |
| 500 GLsizei width, | 500 GLsizei width, |
| 501 GLsizei height); | 501 GLsizei height); |
| 502 void (*LoadIdentity)(PP_Resource context); | |
|
vmiura
2014/04/11 21:54:48
Should the other APIs also be added here?
void gl
piman
2014/04/11 22:19:27
Actually, we shouldn't change this interface, othe
vmiura
2014/04/11 22:49:50
Right. Please follow @jbauman's comment to remove
Kimmo Kinnunen
2014/04/15 16:16:58
Done.
| |
| 502 }; | 503 }; |
| 503 | 504 |
| 504 #define PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE_1_0 \ | 505 #define PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE_1_0 \ |
| 505 "PPB_OpenGLES2InstancedArrays;1.0" | 506 "PPB_OpenGLES2InstancedArrays;1.0" |
| 506 #define PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE \ | 507 #define PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE \ |
| 507 PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE_1_0 | 508 PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE_1_0 |
| 508 | 509 |
| 509 struct PPB_OpenGLES2InstancedArrays { | 510 struct PPB_OpenGLES2InstancedArrays { |
| 510 void (*DrawArraysInstancedANGLE)(PP_Resource context, | 511 void (*DrawArraysInstancedANGLE)(PP_Resource context, |
| 511 GLenum mode, | 512 GLenum mode, |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 605 GLenum target, | 606 GLenum target, |
| 606 GLenum pname, | 607 GLenum pname, |
| 607 GLint* params); | 608 GLint* params); |
| 608 void (*GetQueryObjectuivEXT)(PP_Resource context, | 609 void (*GetQueryObjectuivEXT)(PP_Resource context, |
| 609 GLuint id, | 610 GLuint id, |
| 610 GLenum pname, | 611 GLenum pname, |
| 611 GLuint* params); | 612 GLuint* params); |
| 612 }; | 613 }; |
| 613 | 614 |
| 614 #endif // PPAPI_C_PPB_OPENGLES2_H_ | 615 #endif // PPAPI_C_PPB_OPENGLES2_H_ |
| OLD | NEW |