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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
; | 483 void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
; |
484 void blendEquation(GLenum mode); | 484 void blendEquation(GLenum mode); |
485 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); | 485 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
486 void blendFunc(GLenum sfactor, GLenum dfactor); | 486 void blendFunc(GLenum sfactor, GLenum dfactor); |
487 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum
dstAlpha); | 487 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum
dstAlpha); |
488 // FIXME: should be union type | 488 // FIXME: should be union type |
489 // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172 | 489 // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172 |
490 void bufferData(GLenum target, GLsizeiptr size, GLenum usage); | 490 void bufferData(GLenum target, GLsizeiptr size, GLenum usage); |
491 void bufferData(GLenum target, ArrayBufferView data, GLenum usage); | 491 void bufferData(GLenum target, ArrayBufferView data, GLenum usage); |
492 void bufferData(GLenum target, ArrayBuffer? data, GLenum usage); | 492 void bufferData(GLenum target, ArrayBuffer? data, GLenum usage); |
| 493 void bufferSubData(GLenum target, GLintptr offset, SmallTypedArray data); |
493 void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView data); | 494 void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView data); |
494 void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data); | 495 void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data); |
495 | 496 |
496 GLenum checkFramebufferStatus(GLenum target); | 497 GLenum checkFramebufferStatus(GLenum target); |
497 void clear(GLbitfield mask); | 498 void clear(GLbitfield mask); |
498 void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
; | 499 void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
; |
499 void clearDepth(GLclampf depth); | 500 void clearDepth(GLclampf depth); |
500 void clearStencil(GLint s); | 501 void clearStencil(GLint s); |
501 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp
ha); | 502 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp
ha); |
502 void compileShader(WebGLShader? shader); | 503 void compileShader(WebGLShader? shader); |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 void vertexAttrib3fv(GLuint indx, Float32Array values); | 696 void vertexAttrib3fv(GLuint indx, Float32Array values); |
696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); | 697 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); |
697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; | 698 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; |
698 void vertexAttrib4fv(GLuint indx, Float32Array values); | 699 void vertexAttrib4fv(GLuint indx, Float32Array values); |
699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); | 700 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); |
700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, | 701 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, |
701 GLsizei stride, GLintptr offset); | 702 GLsizei stride, GLintptr offset); |
702 | 703 |
703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); | 704 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); |
704 }; | 705 }; |
OLD | NEW |