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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 GLenum format, GLenum type, ImageData? pixels); | 624 GLenum format, GLenum type, ImageData? pixels); |
625 [RaisesException] void texImage2D( | 625 [RaisesException] void texImage2D( |
626 GLenum target, GLint level, GLint internalformat, | 626 GLenum target, GLint level, GLint internalformat, |
627 GLenum format, GLenum type, HTMLImageElement image); | 627 GLenum format, GLenum type, HTMLImageElement image); |
628 [RaisesException] void texImage2D( | 628 [RaisesException] void texImage2D( |
629 GLenum target, GLint level, GLint internalformat, | 629 GLenum target, GLint level, GLint internalformat, |
630 GLenum format, GLenum type, HTMLCanvasElement canvas); | 630 GLenum format, GLenum type, HTMLCanvasElement canvas); |
631 [RaisesException] void texImage2D( | 631 [RaisesException] void texImage2D( |
632 GLenum target, GLint level, GLint internalformat, | 632 GLenum target, GLint level, GLint internalformat, |
633 GLenum format, GLenum type, HTMLVideoElement video); | 633 GLenum format, GLenum type, HTMLVideoElement video); |
634 [RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] void texImage2D
( | 634 [RaisesException] void texImage2D( |
635 GLenum target, GLint level, GLint internalformat, | 635 GLenum target, GLint level, GLint internalformat, |
636 GLenum format, GLenum type, ImageBitmap bitmap); | 636 GLenum format, GLenum type, ImageBitmap bitmap); |
637 | 637 |
638 void texSubImage2D( | 638 void texSubImage2D( |
639 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 639 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
640 GLsizei width, GLsizei height, | 640 GLsizei width, GLsizei height, |
641 GLenum format, GLenum type, ArrayBufferView? pixels); | 641 GLenum format, GLenum type, ArrayBufferView? pixels); |
642 void texSubImage2D( | 642 void texSubImage2D( |
643 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 643 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
644 GLenum format, GLenum type, ImageData? pixels); | 644 GLenum format, GLenum type, ImageData? pixels); |
645 [RaisesException] void texSubImage2D( | 645 [RaisesException] void texSubImage2D( |
646 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 646 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
647 GLenum format, GLenum type, HTMLImageElement image); | 647 GLenum format, GLenum type, HTMLImageElement image); |
648 [RaisesException] void texSubImage2D( | 648 [RaisesException] void texSubImage2D( |
649 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 649 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
650 GLenum format, GLenum type, HTMLCanvasElement canvas); | 650 GLenum format, GLenum type, HTMLCanvasElement canvas); |
651 [RaisesException] void texSubImage2D( | 651 [RaisesException] void texSubImage2D( |
652 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 652 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
653 GLenum format, GLenum type, HTMLVideoElement video); | 653 GLenum format, GLenum type, HTMLVideoElement video); |
654 [RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] void texSubImag
e2D( | 654 [RaisesException] void texSubImage2D( |
655 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 655 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
656 GLenum format, GLenum type, ImageBitmap bitmap); | 656 GLenum format, GLenum type, ImageBitmap bitmap); |
657 | 657 |
658 void uniform1f(WebGLUniformLocation? location, GLfloat x); | 658 void uniform1f(WebGLUniformLocation? location, GLfloat x); |
659 void uniform1fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Fl
oat32Array v); | 659 void uniform1fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Fl
oat32Array v); |
660 void uniform1fv(WebGLUniformLocation? location, sequence<GLfloat> v); | 660 void uniform1fv(WebGLUniformLocation? location, sequence<GLfloat> v); |
661 void uniform1i(WebGLUniformLocation? location, GLint x); | 661 void uniform1i(WebGLUniformLocation? location, GLint x); |
662 void uniform1iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] In
t32Array v); | 662 void uniform1iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] In
t32Array v); |
663 void uniform1iv(WebGLUniformLocation? location, sequence<GLint> v); | 663 void uniform1iv(WebGLUniformLocation? location, sequence<GLint> v); |
664 void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y); | 664 void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 void vertexAttrib3fv(GLuint indx, Float32Array values); | 700 void vertexAttrib3fv(GLuint indx, Float32Array values); |
701 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); | 701 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); |
702 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; | 702 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; |
703 void vertexAttrib4fv(GLuint indx, Float32Array values); | 703 void vertexAttrib4fv(GLuint indx, Float32Array values); |
704 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); | 704 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); |
705 [CallWith=ScriptState] void vertexAttribPointer(GLuint indx, GLint size, GLe
num type, GLboolean normalized, | 705 [CallWith=ScriptState] void vertexAttribPointer(GLuint indx, GLint size, GLe
num type, GLboolean normalized, |
706 GLsizei stride, GLintptr off
set); | 706 GLsizei stride, GLintptr off
set); |
707 | 707 |
708 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); | 708 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); |
709 }; | 709 }; |
OLD | NEW |