| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 const GLenum LOW_FLOAT = 0x8DF0; | 400 const GLenum LOW_FLOAT = 0x8DF0; |
| 401 const GLenum MEDIUM_FLOAT = 0x8DF1; | 401 const GLenum MEDIUM_FLOAT = 0x8DF1; |
| 402 const GLenum HIGH_FLOAT = 0x8DF2; | 402 const GLenum HIGH_FLOAT = 0x8DF2; |
| 403 const GLenum LOW_INT = 0x8DF3; | 403 const GLenum LOW_INT = 0x8DF3; |
| 404 const GLenum MEDIUM_INT = 0x8DF4; | 404 const GLenum MEDIUM_INT = 0x8DF4; |
| 405 const GLenum HIGH_INT = 0x8DF5; | 405 const GLenum HIGH_INT = 0x8DF5; |
| 406 | 406 |
| 407 /* Framebuffer Object. */ | 407 /* Framebuffer Object. */ |
| 408 const GLenum FRAMEBUFFER = 0x8D40; | 408 const GLenum FRAMEBUFFER = 0x8D40; |
| 409 const GLenum RENDERBUFFER = 0x8D41; | 409 const GLenum RENDERBUFFER = 0x8D41; |
| 410 const GLenum READ_FRAMEBUFFER = 0x8CA8; |
| 411 const GLenum DRAW_FRAMEBUFFER = 0x8CA9; |
| 410 | 412 |
| 411 const GLenum RGBA4 = 0x8056; | 413 const GLenum RGBA4 = 0x8056; |
| 412 const GLenum RGB5_A1 = 0x8057; | 414 const GLenum RGB5_A1 = 0x8057; |
| 413 const GLenum RGB565 = 0x8D62; | 415 const GLenum RGB565 = 0x8D62; |
| 414 const GLenum DEPTH_COMPONENT16 = 0x81A5; | 416 const GLenum DEPTH_COMPONENT16 = 0x81A5; |
| 415 const GLenum STENCIL_INDEX = 0x1901; | 417 const GLenum STENCIL_INDEX = 0x1901; |
| 416 const GLenum STENCIL_INDEX8 = 0x8D48; | 418 const GLenum STENCIL_INDEX8 = 0x8D48; |
| 417 const GLenum DEPTH_STENCIL = 0x84F9; | 419 const GLenum DEPTH_STENCIL = 0x84F9; |
| 418 | 420 |
| 419 const GLenum RENDERBUFFER_WIDTH = 0x8D42; | 421 const GLenum RENDERBUFFER_WIDTH = 0x8D42; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 [StrictTypeChecking, Custom] void vertexAttrib2fv(GLuint indx, Float32Array
values); | 655 [StrictTypeChecking, Custom] void vertexAttrib2fv(GLuint indx, Float32Array
values); |
| 654 [StrictTypeChecking] void vertexAttrib3f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z); | 656 [StrictTypeChecking] void vertexAttrib3f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z); |
| 655 [StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array
values); | 657 [StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array
values); |
| 656 [StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z, GLfloat w); | 658 [StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z, GLfloat w); |
| 657 [StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array
values); | 659 [StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array
values); |
| 658 [StrictTypeChecking, RaisesException] void vertexAttribPointer(GLuin
t indx, GLint size, GLenum type, GLboolean normalized, | 660 [StrictTypeChecking, RaisesException] void vertexAttribPointer(GLuin
t indx, GLint size, GLenum type, GLboolean normalized, |
| 659 GLsizei stride, GLintp
tr offset); | 661 GLsizei stride, GLintp
tr offset); |
| 660 | 662 |
| 661 [StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width,
GLsizei height); | 663 [StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width,
GLsizei height); |
| 662 }; | 664 }; |
| OLD | NEW |