Chromium Code Reviews| 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 |
| 11 * documentation and/or other materials provided with the distribution. | 11 * documentation and/or other materials provided with the distribution. |
| 12 * | 12 * |
| 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY | 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY |
| 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
| 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 module html { | 26 module html { |
| 27 | 27 |
| 28 interface [ | 28 interface [ |
| 29 Conditional=WEBGL, | 29 Conditional=WEBGL, |
| 30 InterfaceUUID=98fb48ae-7216-489c-862b-8e1217fc4443, | 30 InterfaceUUID=98fb48ae-7216-489c-862b-8e1217fc4443, |
| 31 ImplementationUUID=ab4f0781-152f-450e-9546-5b3987491a54, | 31 ImplementationUUID=ab4f0781-152f-450e-9546-5b3987491a54, |
| 32 CustomMarkFunction, | 32 CustomMarkFunction, |
| 33 DontCheckEnums | 33 DontCheckEnums |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 471 [StrictTypeChecking] void bufferSubData(in unsigned long target, in long offset, in ArrayBuffer data) raises (DOMException); | 471 [StrictTypeChecking] void bufferSubData(in unsigned long target, in long offset, in ArrayBuffer data) raises (DOMException); |
| 472 [StrictTypeChecking] void bufferSubData(in unsigned long target, in long offset, in ArrayBufferView data) raises (DOMException); | 472 [StrictTypeChecking] void bufferSubData(in unsigned long target, in long offset, in ArrayBufferView data) raises (DOMException); |
| 473 | 473 |
| 474 [StrictTypeChecking] unsigned long checkFramebufferStatus(in unsigned lo ng target); | 474 [StrictTypeChecking] unsigned long checkFramebufferStatus(in unsigned lo ng target); |
| 475 [StrictTypeChecking] void clear(in unsigned long mask); | 475 [StrictTypeChecking] void clear(in unsigned long mask); |
| 476 [StrictTypeChecking] void clearColor(in float red, in float gree n, in float blue, in float alpha); | 476 [StrictTypeChecking] void clearColor(in float red, in float gree n, in float blue, in float alpha); |
| 477 [StrictTypeChecking] void clearDepth(in float depth); | 477 [StrictTypeChecking] void clearDepth(in float depth); |
| 478 [StrictTypeChecking] void clearStencil(in long s); | 478 [StrictTypeChecking] void clearStencil(in long s); |
| 479 [StrictTypeChecking] void colorMask(in boolean red, in boolean g reen, in boolean blue, in boolean alpha); | 479 [StrictTypeChecking] void colorMask(in boolean red, in boolean g reen, in boolean blue, in boolean alpha); |
| 480 [StrictTypeChecking] void compileShader(in WebGLShader shader) r aises(DOMException); | 480 [StrictTypeChecking] void compileShader(in WebGLShader shader) r aises(DOMException); |
| 481 | 481 |
| 482 //void compressedTexImage2D(in unsigned long target, in long lev el, in unsigned long internalformat, in unsigned long width, in unsigned long he ight, in long border, in unsigned long imageSize, const void* data); | 482 //void compressedTexImage2D(in unsigned long target, in long lev el, in unsigned long internalformat, in unsigned long width, in unsigned long he ight, in long border, in unsigned long imageSize, const void* data); |
| 483 //void compressedTexSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, in unsigned long width, in unsigned lon g height, in unsigned long format, in unsigned long imageSize, const void* data) ; | 483 //void compressedTexSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, in unsigned long width, in unsigned lon g height, in unsigned long format, in unsigned long imageSize, const void* data) ; |
| 484 | 484 |
| 485 [StrictTypeChecking] void copyTexImage2D(in unsigned long target , in long level, in unsigned long internalformat, in long x, in long y, in long width, in long height, in long border); | 485 [StrictTypeChecking] void copyTexImage2D(in unsigned long target , in long level, in unsigned long internalformat, in long x, in long y, in long width, in long height, in long border); |
| 486 [StrictTypeChecking] void copyTexSubImage2D(in unsigned long tar get, in long level, in long xoffset, in long yoffset, in long x, in long y, in l ong width, in long height); | 486 [StrictTypeChecking] void copyTexSubImage2D(in unsigned long tar get, in long level, in long xoffset, in long yoffset, in long x, in long y, in l ong width, in long height); |
| 487 | 487 |
| 488 [StrictTypeChecking] WebGLBuffer createBuffer(); | 488 [StrictTypeChecking] WebGLBuffer createBuffer(); |
| 489 [StrictTypeChecking] WebGLFramebuffer createFramebuffer(); | 489 [StrictTypeChecking] WebGLFramebuffer createFramebuffer(); |
| 490 [StrictTypeChecking] WebGLProgram createProgram(); | 490 [StrictTypeChecking] WebGLProgram createProgram(); |
| 491 [StrictTypeChecking] WebGLRenderbuffer createRenderbuffer(); | 491 [StrictTypeChecking] WebGLRenderbuffer createRenderbuffer(); |
| 492 [StrictTypeChecking] WebGLShader createShader(in unsigned long type) rai ses(DOMException); | 492 [StrictTypeChecking] WebGLShader createShader(in unsigned long type) rai ses(DOMException); |
| 493 [StrictTypeChecking] WebGLTexture createTexture(); | 493 [StrictTypeChecking] WebGLTexture createTexture(); |
| 494 | 494 |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 512 [StrictTypeChecking] void drawElements(in unsigned long mode, in long count, in unsigned long type, in long offset) raises(DOMException); | 512 [StrictTypeChecking] void drawElements(in unsigned long mode, in long count, in unsigned long type, in long offset) raises(DOMException); |
| 513 | 513 |
| 514 [StrictTypeChecking] void enable(in unsigned long cap); | 514 [StrictTypeChecking] void enable(in unsigned long cap); |
| 515 [StrictTypeChecking] void enableVertexAttribArray(in unsigned lo ng index) raises(DOMException); | 515 [StrictTypeChecking] void enableVertexAttribArray(in unsigned lo ng index) raises(DOMException); |
| 516 [StrictTypeChecking] void finish(); | 516 [StrictTypeChecking] void finish(); |
| 517 [StrictTypeChecking] void flush(); | 517 [StrictTypeChecking] void flush(); |
| 518 [StrictTypeChecking] void framebufferRenderbuffer(in unsigned lo ng target, in unsigned long attachment, in unsigned long renderbuffertarget, in WebGLRenderbuffer renderbuffer) raises(DOMException); | 518 [StrictTypeChecking] void framebufferRenderbuffer(in unsigned lo ng target, in unsigned long attachment, in unsigned long renderbuffertarget, in WebGLRenderbuffer renderbuffer) raises(DOMException); |
| 519 [StrictTypeChecking] void framebufferTexture2D(in unsigned long target, in unsigned long attachment, in unsigned long textarget, in WebGLTexture texture, in long level) raises(DOMException); | 519 [StrictTypeChecking] void framebufferTexture2D(in unsigned long target, in unsigned long attachment, in unsigned long textarget, in WebGLTexture texture, in long level) raises(DOMException); |
| 520 [StrictTypeChecking] void frontFace(in unsigned long mode); | 520 [StrictTypeChecking] void frontFace(in unsigned long mode); |
| 521 [StrictTypeChecking] void generateMipmap(in unsigned long target ); | 521 [StrictTypeChecking] void generateMipmap(in unsigned long target ); |
| 522 | 522 |
| 523 [StrictTypeChecking] WebGLActiveInfo getActiveAttrib(in WebGLProgram pro gram, in unsigned long index) raises (DOMException); | 523 [StrictTypeChecking] WebGLActiveInfo getActiveAttrib(in WebGLProgram pro gram, in unsigned long index) raises (DOMException); |
| 524 [StrictTypeChecking] WebGLActiveInfo getActiveUniform(in WebGLProgram pr ogram, in unsigned long index) raises (DOMException); | 524 [StrictTypeChecking] WebGLActiveInfo getActiveUniform(in WebGLProgram pr ogram, in unsigned long index) raises (DOMException); |
| 525 | 525 |
| 526 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) | |
| 527 [StrictTypeChecking, Custom] any[] getAttachedShaders(in WebGLProgram pr ogram) raises (DOMException); | |
| 528 #else | |
| 526 [StrictTypeChecking, Custom] void getAttachedShaders(in WebGLProgram pro gram) raises (DOMException); | 529 [StrictTypeChecking, Custom] void getAttachedShaders(in WebGLProgram pro gram) raises (DOMException); |
| 530 #endif | |
| 527 | 531 |
| 528 [StrictTypeChecking] int getAttribLocation(in WebGLProgram prog ram, in DOMString name); | 532 [StrictTypeChecking] int getAttribLocation(in WebGLProgram prog ram, in DOMString name); |
| 529 | 533 |
| 530 // any getBufferParameter(in unsigned long target, in unsigned long pnam e) raises(DOMException); | 534 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 535 [StrictTypeChecking, Custom] any getBufferParameter(in unsigned long tar get, in unsigned long pname) raises(DOMException); | |
| 536 #else | |
| 531 [StrictTypeChecking, Custom] void getBufferParameter(); | 537 [StrictTypeChecking, Custom] void getBufferParameter(); |
| 538 #endif | |
| 532 | 539 |
| 533 [StrictTypeChecking] WebGLContextAttributes getContextAttributes(); | 540 [StrictTypeChecking] WebGLContextAttributes getContextAttributes(); |
| 534 | 541 |
| 535 [StrictTypeChecking] unsigned long getError(); | 542 [StrictTypeChecking] unsigned long getError(); |
| 536 | 543 |
| 537 // object getExtension(in DOMString name); | 544 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 545 [StrictTypeChecking, Custom] any getExtension(in DOMString name); | |
| 546 [StrictTypeChecking, Custom] any getParameter(in unsigned long pname) ra ises(DOMException); | |
| 547 [StrictTypeChecking, Custom] any getFramebufferAttachmentParameter(in un signed long target, in unsigned long attachment, in unsigned long pname) raises( DOMException); | |
| 548 [StrictTypeChecking, Custom] any getProgramParameter(in WebGLProgram pro gram, in unsigned long pname) raises(DOMException); | |
| 549 #else | |
| 538 [StrictTypeChecking, Custom] void getExtension(in DOMString name); | 550 [StrictTypeChecking, Custom] void getExtension(in DOMString name); |
| 539 | 551 [StrictTypeChecking, Custom] void getParameter(); |
| 540 // any getFramebufferAttachmentParameter(in unsigned long target, in uns igned long attachment, in unsigned long pname) raises(DOMException); | |
| 541 [StrictTypeChecking, Custom] void getFramebufferAttachmentParameter(); | 552 [StrictTypeChecking, Custom] void getFramebufferAttachmentParameter(); |
| 542 // any getParameter(in unsigned long pname) raises(DOMException); | |
| 543 [StrictTypeChecking, Custom] void getParameter(); | |
| 544 // any getProgramParameter(in WebGLProgram program, in unsigned long pna me) raises(DOMException); | |
| 545 [StrictTypeChecking, Custom] void getProgramParameter(); | 553 [StrictTypeChecking, Custom] void getProgramParameter(); |
| 554 #endif | |
| 546 [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getProgramInfoL og(in WebGLProgram program) raises(DOMException); | 555 [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getProgramInfoL og(in WebGLProgram program) raises(DOMException); |
| 547 // any getRenderbufferParameter(in unsigned long target, in unsigned lon g pname) raises(DOMException); | 556 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 557 [StrictTypeChecking, Custom] any getRenderbufferParameter(in unsigned lo ng target, in unsigned long pname) raises(DOMException); | |
| 558 [StrictTypeChecking, Custom] any getShaderParameter(in WebGLShader shade r, in unsigned long pname) raises(DOMException); | |
| 559 #else | |
| 548 [StrictTypeChecking, Custom] void getRenderbufferParameter(); | 560 [StrictTypeChecking, Custom] void getRenderbufferParameter(); |
| 549 // any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises(DOMException); | |
| 550 [StrictTypeChecking, Custom] void getShaderParameter() raises(DOMExcepti on); | 561 [StrictTypeChecking, Custom] void getShaderParameter() raises(DOMExcepti on); |
| 562 #endif | |
| 551 | 563 |
| 552 [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getShaderInf oLog(in WebGLShader shader) raises(DOMException); | 564 [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getShaderInf oLog(in WebGLShader shader) raises(DOMException); |
| 553 | 565 |
| 554 // TBD | 566 // TBD |
| 555 // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiont ype, GLint* range, GLint* precision); | 567 // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiont ype, GLint* range, GLint* precision); |
| 556 | 568 |
| 557 [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getShaderSou rce(in WebGLShader shader) raises(DOMException); | 569 [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getShaderSou rce(in WebGLShader shader) raises(DOMException); |
| 558 | 570 |
| 559 // DOMString[] getSupportedExtensions() | 571 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 572 [StrictTypeChecking, Custom] DOMString[] getSupportedExtensions(); | |
| 573 [StrictTypeChecking, Custom] any getTexParameter(in unsigned long target , in unsigned long pname) raises(DOMException); | |
| 574 [StrictTypeChecking, Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation location) raises(DOMException); | |
| 575 #else | |
| 560 [StrictTypeChecking, Custom] void getSupportedExtensions(); | 576 [StrictTypeChecking, Custom] void getSupportedExtensions(); |
| 561 | |
| 562 // any getTexParameter(in unsigned long target, in unsigned long pname) raises(DOMException); | |
| 563 [StrictTypeChecking, Custom] void getTexParameter(); | 577 [StrictTypeChecking, Custom] void getTexParameter(); |
| 564 | |
| 565 // any getUniform(in WebGLProgram program, in WebGLUniformLocation locat ion) raises(DOMException); | |
| 566 [StrictTypeChecking, Custom] void getUniform(); | 578 [StrictTypeChecking, Custom] void getUniform(); |
| 579 #endif | |
| 567 | 580 |
| 568 [StrictTypeChecking] WebGLUniformLocation getUniformLocation(in WebGLPro gram program, in DOMString name) raises(DOMException); | 581 [StrictTypeChecking] WebGLUniformLocation getUniformLocation(in WebGLPro gram program, in DOMString name) raises(DOMException); |
| 569 | 582 |
| 570 // any getVertexAttrib(in unsigned long index, in unsigned long pname) r aises(DOMException); | 583 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 584 [StrictTypeChecking, Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname) raises(DOMException); | |
| 585 #else | |
| 571 [StrictTypeChecking, Custom] void getVertexAttrib(); | 586 [StrictTypeChecking, Custom] void getVertexAttrib(); |
| 587 #endif | |
| 572 | 588 |
| 573 [StrictTypeChecking] long getVertexAttribOffset(in unsigned long index, in unsigned long pname); | 589 [StrictTypeChecking] long getVertexAttribOffset(in unsigned long index, in unsigned long pname); |
| 574 | 590 |
| 575 [StrictTypeChecking] void hint(in unsigned long target, in unsig ned long mode); | 591 [StrictTypeChecking] void hint(in unsigned long target, in unsig ned long mode); |
| 576 [StrictTypeChecking] boolean isBuffer(in WebGLBuffer buffer); | 592 [StrictTypeChecking] boolean isBuffer(in WebGLBuffer buffer); |
| 577 [StrictTypeChecking] boolean isContextLost(); | 593 [StrictTypeChecking] boolean isContextLost(); |
| 578 [StrictTypeChecking] boolean isEnabled(in unsigned long cap); | 594 [StrictTypeChecking] boolean isEnabled(in unsigned long cap); |
| 579 [StrictTypeChecking] boolean isFramebuffer(in WebGLFramebuffer fram ebuffer); | 595 [StrictTypeChecking] boolean isFramebuffer(in WebGLFramebuffer fram ebuffer); |
| 580 [StrictTypeChecking] boolean isProgram(in WebGLProgram program); | 596 [StrictTypeChecking] boolean isProgram(in WebGLProgram program); |
| 581 [StrictTypeChecking] boolean isRenderbuffer(in WebGLRenderbuffer re nderbuffer); | 597 [StrictTypeChecking] boolean isRenderbuffer(in WebGLRenderbuffer re nderbuffer); |
| 582 [StrictTypeChecking] boolean isShader(in WebGLShader shader); | 598 [StrictTypeChecking] boolean isShader(in WebGLShader shader); |
| 583 [StrictTypeChecking] boolean isTexture(in WebGLTexture texture); | 599 [StrictTypeChecking] boolean isTexture(in WebGLTexture texture); |
| 584 [StrictTypeChecking] void lineWidth(in float width); | 600 [StrictTypeChecking] void lineWidth(in float width); |
| 585 [StrictTypeChecking] void linkProgram(in WebGLProgram program) r aises(DOMException); | 601 [StrictTypeChecking] void linkProgram(in WebGLProgram program) r aises(DOMException); |
| 586 [StrictTypeChecking] void pixelStorei(in unsigned long pname, in long param); | 602 [StrictTypeChecking] void pixelStorei(in unsigned long pname, in long param); |
| 587 [StrictTypeChecking] void polygonOffset(in float factor, in floa t units); | 603 [StrictTypeChecking] void polygonOffset(in float factor, in floa t units); |
| 588 | 604 |
| 589 [StrictTypeChecking] void readPixels(in long x, in long y, in lo ng width, in long height, in unsigned long format, in unsigned long type, in Arr ayBufferView pixels) raises(DOMException); | 605 [StrictTypeChecking] void readPixels(in long x, in long y, in lo ng width, in long height, in unsigned long format, in unsigned long type, in Arr ayBufferView pixels) raises(DOMException); |
| 590 | 606 |
| 591 [StrictTypeChecking] void releaseShaderCompiler(); | 607 [StrictTypeChecking] void releaseShaderCompiler(); |
| 592 [StrictTypeChecking] void renderbufferStorage(in unsigned long t arget, in unsigned long internalformat, in long width, in long height); | 608 [StrictTypeChecking] void renderbufferStorage(in unsigned long t arget, in unsigned long internalformat, in long width, in long height); |
| 593 [StrictTypeChecking] void sampleCoverage(in float value, in bool ean invert); | 609 [StrictTypeChecking] void sampleCoverage(in float value, in bool ean invert); |
| 594 [StrictTypeChecking] void scissor(in long x, in long y, in long width, in long height); | 610 [StrictTypeChecking] void scissor(in long x, in long y, in long width, in long height); |
| 595 [StrictTypeChecking] void shaderSource(in WebGLShader shader, in DOMString string) raises(DOMException); | 611 [StrictTypeChecking] void shaderSource(in WebGLShader shader, in DOMString string) raises(DOMException); |
| 596 [StrictTypeChecking] void stencilFunc(in unsigned long func, in long ref, in unsigned long mask); | 612 [StrictTypeChecking] void stencilFunc(in unsigned long func, in long ref, in unsigned long mask); |
| 597 [StrictTypeChecking] void stencilFuncSeparate(in unsigned long f ace, in unsigned long func, in long ref, in unsigned long mask); | 613 [StrictTypeChecking] void stencilFuncSeparate(in unsigned long f ace, in unsigned long func, in long ref, in unsigned long mask); |
| 598 [StrictTypeChecking] void stencilMask(in unsigned long mask); | 614 [StrictTypeChecking] void stencilMask(in unsigned long mask); |
| 599 [StrictTypeChecking] void stencilMaskSeparate(in unsigned long f ace, in unsigned long mask); | 615 [StrictTypeChecking] void stencilMaskSeparate(in unsigned long f ace, in unsigned long mask); |
| 600 [StrictTypeChecking] void stencilOp(in unsigned long fail, in un signed long zfail, in unsigned long zpass); | 616 [StrictTypeChecking] void stencilOp(in unsigned long fail, in un signed long zfail, in unsigned long zpass); |
| 601 [StrictTypeChecking] void stencilOpSeparate(in unsigned long fac e, in unsigned long fail, in unsigned long zfail, in unsigned long zpass); | 617 [StrictTypeChecking] void stencilOpSeparate(in unsigned long fac e, in unsigned long fail, in unsigned long zfail, in unsigned long zpass); |
| 602 | 618 |
| 603 [StrictTypeChecking] void texParameterf(in unsigned long target, in unsigned long pname, in float param); | 619 [StrictTypeChecking] void texParameterf(in unsigned long target, in unsigned long pname, in float param); |
| 604 [StrictTypeChecking] void texParameteri(in unsigned long target, in unsigned long pname, in long param); | 620 [StrictTypeChecking] void texParameteri(in unsigned long target, in unsigned long pname, in long param); |
| 605 | 621 |
| 606 // Supported forms: | 622 // Supported forms: |
| 607 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, in long width, in long height, | 623 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, in long width, in long height, |
| 608 in long border, in unsigned long format, in unsigned long type, in ArrayBufferView pixels) raises (DOMExcep tion); | 624 in long border, in unsigned long format, in unsigned long type, in ArrayBufferView pixels) raises (DOMExcep tion); |
| 609 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, | 625 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, |
| 610 in unsigned long format, in unsigned long type, in ImageData pixels) raises (DOMException); | 626 in unsigned long format, in unsigned long type, in ImageData pixels) raises (DOMException); |
| 611 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, | 627 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, |
| 612 in unsigned long format, in unsigned long type, in HTMLImageElement image) raises (DOMException); | 628 in unsigned long format, in unsigned long type, in HTMLImageElement image) raises (DOMException); |
| 613 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, | 629 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, |
| 614 in unsigned long format, in unsigned long type, in HTMLCanvasElement canvas) raises (DOMException); | 630 in unsigned long format, in unsigned long type, in HTMLCanvasElement canvas) raises (DOMException); |
| 615 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO | 631 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO |
| 616 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, | 632 [StrictTypeChecking] void texImage2D(in unsigned long target, in long level, in unsigned long internalformat, |
| 617 in unsigned long format, in unsigned long type, in HTMLVideoElement video) raises (DOMException); | 633 in unsigned long format, in unsigned long type, in HTMLVideoElement video) raises (DOMException); |
| 618 #endif | 634 #endif |
| 619 | 635 |
| 620 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, | 636 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, |
| 621 in long width, in long h eight, | 637 in long width, in long h eight, |
| 622 in unsigned long format, in unsigned long type, in ArrayBufferView pixels) raises (DOMException); | 638 in unsigned long format, in unsigned long type, in ArrayBufferView pixels) raises (DOMException); |
| 623 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, | 639 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, |
| 624 in unsigned long format, in unsigned long type, in ImageData pixels) raises (DOMException); | 640 in unsigned long format, in unsigned long type, in ImageData pixels) raises (DOMException); |
| 625 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, | 641 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, |
| 626 in unsigned long format, in unsigned long type, in HTMLImageElement image) raises (DOMException); | 642 in unsigned long format, in unsigned long type, in HTMLImageElement image) raises (DOMException); |
| 627 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, | 643 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, |
| 628 in unsigned long format, in unsigned long type, in HTMLCanvasElement canvas) raises (DOMException); | 644 in unsigned long format, in unsigned long type, in HTMLCanvasElement canvas) raises (DOMException); |
| 629 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO | 645 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO |
| 630 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, | 646 [StrictTypeChecking] void texSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, |
| 631 in unsigned long format, in unsigned long type, in HTMLVideoElement video) raises (DOMException); | 647 in unsigned long format, in unsigned long type, in HTMLVideoElement video) raises (DOMException); |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 656 [StrictTypeChecking] void validateProgram(in WebGLProgram progra m) raises(DOMException); | 672 [StrictTypeChecking] void validateProgram(in WebGLProgram progra m) raises(DOMException); |
| 657 | 673 |
| 658 [StrictTypeChecking] void vertexAttrib1f(in unsigned long indx, in float x); | 674 [StrictTypeChecking] void vertexAttrib1f(in unsigned long indx, in float x); |
| 659 [StrictTypeChecking, Custom] void vertexAttrib1fv(in unsigned lo ng indx, in Float32Array values); | 675 [StrictTypeChecking, Custom] void vertexAttrib1fv(in unsigned lo ng indx, in Float32Array values); |
| 660 [StrictTypeChecking] void vertexAttrib2f(in unsigned long indx, in float x, in float y); | 676 [StrictTypeChecking] void vertexAttrib2f(in unsigned long indx, in float x, in float y); |
| 661 [StrictTypeChecking, Custom] void vertexAttrib2fv(in unsigned lo ng indx, in Float32Array values); | 677 [StrictTypeChecking, Custom] void vertexAttrib2fv(in unsigned lo ng indx, in Float32Array values); |
| 662 [StrictTypeChecking] void vertexAttrib3f(in unsigned long indx, in float x, in float y, in float z); | 678 [StrictTypeChecking] void vertexAttrib3f(in unsigned long indx, in float x, in float y, in float z); |
| 663 [StrictTypeChecking, Custom] void vertexAttrib3fv(in unsigned lo ng indx, in Float32Array values); | 679 [StrictTypeChecking, Custom] void vertexAttrib3fv(in unsigned lo ng indx, in Float32Array values); |
| 664 [StrictTypeChecking] void vertexAttrib4f(in unsigned long indx, in float x, in float y, in float z, in float w); | 680 [StrictTypeChecking] void vertexAttrib4f(in unsigned long indx, in float x, in float y, in float z, in float w); |
| 665 [StrictTypeChecking, Custom] void vertexAttrib4fv(in unsigned lo ng indx, in Float32Array values); | 681 [StrictTypeChecking, Custom] void vertexAttrib4fv(in unsigned lo ng indx, in Float32Array values); |
| 666 [StrictTypeChecking] void vertexAttribPointer(in unsigned long i ndx, in long size, in unsigned long type, in boolean normalized, | 682 [StrictTypeChecking] void vertexAttribPointer(in unsigned long i ndx, in long size, in unsigned long type, in boolean normalized, |
|
antonm
2012/01/18 15:12:23
please, rever whitespace only changes---they make
Nikolay
2012/01/19 13:27:34
Done.
| |
| 667 in long stride, in long offset) raises(DOMException); | 683 in long stride, in long offset) raises(DOMException); |
| 668 | 684 |
| 669 [StrictTypeChecking] void viewport(in long x, in long y, in long width, in long height); | 685 [StrictTypeChecking] void viewport(in long x, in long y, in long width, in long height); |
| 670 }; | 686 }; |
| 671 } | 687 } |
| 672 | 688 |
| OLD | NEW |