| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 [StrictTypeChecking] void bindFramebuffer(in unsigned long targe
t, in WebGLFramebuffer framebuffer) raises(DOMException); | 456 [StrictTypeChecking] void bindFramebuffer(in unsigned long targe
t, in WebGLFramebuffer framebuffer) raises(DOMException); |
| 457 [StrictTypeChecking] void bindRenderbuffer(in unsigned long targ
et, in WebGLRenderbuffer renderbuffer) raises(DOMException); | 457 [StrictTypeChecking] void bindRenderbuffer(in unsigned long targ
et, in WebGLRenderbuffer renderbuffer) raises(DOMException); |
| 458 [StrictTypeChecking] void bindTexture(in unsigned long target, i
n WebGLTexture texture) raises(DOMException); | 458 [StrictTypeChecking] void bindTexture(in unsigned long target, i
n WebGLTexture texture) raises(DOMException); |
| 459 [StrictTypeChecking] void blendColor(in float red, in float gree
n, in float blue, in float alpha); | 459 [StrictTypeChecking] void blendColor(in float red, in float gree
n, in float blue, in float alpha); |
| 460 [StrictTypeChecking] void blendEquation( in unsigned long mode )
; | 460 [StrictTypeChecking] void blendEquation( in unsigned long mode )
; |
| 461 [StrictTypeChecking] void blendEquationSeparate(in unsigned long
modeRGB, in unsigned long modeAlpha); | 461 [StrictTypeChecking] void blendEquationSeparate(in unsigned long
modeRGB, in unsigned long modeAlpha); |
| 462 [StrictTypeChecking] void blendFunc(in unsigned long sfactor, in
unsigned long dfactor); | 462 [StrictTypeChecking] void blendFunc(in unsigned long sfactor, in
unsigned long dfactor); |
| 463 [StrictTypeChecking] void blendFuncSeparate(in unsigned long src
RGB, in unsigned long dstRGB, in unsigned long srcAlpha, in unsigned long dstAlp
ha); | 463 [StrictTypeChecking] void blendFuncSeparate(in unsigned long src
RGB, in unsigned long dstRGB, in unsigned long srcAlpha, in unsigned long dstAlp
ha); |
| 464 [StrictTypeChecking] void bufferData(in unsigned long target, in
ArrayBuffer data, in unsigned long usage) raises (DOMException); | 464 [StrictTypeChecking] void bufferData(in unsigned long target, in
ArrayBuffer data, in unsigned long usage) raises (DOMException); |
| 465 [StrictTypeChecking] void bufferData(in unsigned long target, in
ArrayBufferView data, in unsigned long usage) raises (DOMException); | 465 [StrictTypeChecking] void bufferData(in unsigned long target, in
ArrayBufferView data, in unsigned long usage) raises (DOMException); |
| 466 [StrictTypeChecking] void bufferData(in unsigned long target, in
long size, in unsigned long usage) raises (DOMException); | 466 [StrictTypeChecking] void bufferData(in unsigned long target, in
long long size, in unsigned long usage) raises (DOMException); |
| 467 [StrictTypeChecking] void bufferSubData(in unsigned long target,
in long offset, in ArrayBuffer data) raises (DOMException); | 467 [StrictTypeChecking] void bufferSubData(in unsigned long target,
in long long offset, in ArrayBuffer data) raises (DOMException); |
| 468 [StrictTypeChecking] void bufferSubData(in unsigned long target,
in long offset, in ArrayBufferView data) raises (DOMException); | 468 [StrictTypeChecking] void bufferSubData(in unsigned long target,
in long long offset, in ArrayBufferView data) raises (DOMException); |
| 469 | 469 |
| 470 [StrictTypeChecking] unsigned long checkFramebufferStatus(in unsigned lo
ng target); | 470 [StrictTypeChecking] unsigned long checkFramebufferStatus(in unsigned lo
ng target); |
| 471 [StrictTypeChecking] void clear(in unsigned long mask); | 471 [StrictTypeChecking] void clear(in unsigned long mask); |
| 472 [StrictTypeChecking] void clearColor(in float red, in float gree
n, in float blue, in float alpha); | 472 [StrictTypeChecking] void clearColor(in float red, in float gree
n, in float blue, in float alpha); |
| 473 [StrictTypeChecking] void clearDepth(in float depth); | 473 [StrictTypeChecking] void clearDepth(in float depth); |
| 474 [StrictTypeChecking] void clearStencil(in long s); | 474 [StrictTypeChecking] void clearStencil(in long s); |
| 475 [StrictTypeChecking] void colorMask(in boolean red, in boolean g
reen, in boolean blue, in boolean alpha); | 475 [StrictTypeChecking] void colorMask(in boolean red, in boolean g
reen, in boolean blue, in boolean alpha); |
| 476 [StrictTypeChecking] void compileShader(in WebGLShader shader) r
aises(DOMException); | 476 [StrictTypeChecking] void compileShader(in WebGLShader shader) r
aises(DOMException); |
| 477 | 477 |
| 478 [StrictTypeChecking] void compressedTexImage2D(in unsigned long
target, in long level, in unsigned long internalformat, | 478 [StrictTypeChecking] void compressedTexImage2D(in unsigned long
target, in long level, in unsigned long internalformat, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 500 [StrictTypeChecking] void deleteTexture(in WebGLTexture texture)
; | 500 [StrictTypeChecking] void deleteTexture(in WebGLTexture texture)
; |
| 501 | 501 |
| 502 [StrictTypeChecking] void depthFunc(in unsigned long func); | 502 [StrictTypeChecking] void depthFunc(in unsigned long func); |
| 503 [StrictTypeChecking] void depthMask(in boolean flag); | 503 [StrictTypeChecking] void depthMask(in boolean flag); |
| 504 // FIXME: this differs from the current WebGL spec (depthRangef) | 504 // FIXME: this differs from the current WebGL spec (depthRangef) |
| 505 [StrictTypeChecking] void depthRange(in float zNear, in float zF
ar); | 505 [StrictTypeChecking] void depthRange(in float zNear, in float zF
ar); |
| 506 [StrictTypeChecking] void detachShader(in WebGLProgram program,
in WebGLShader shader) raises(DOMException); | 506 [StrictTypeChecking] void detachShader(in WebGLProgram program,
in WebGLShader shader) raises(DOMException); |
| 507 [StrictTypeChecking] void disable(in unsigned long cap); | 507 [StrictTypeChecking] void disable(in unsigned long cap); |
| 508 [StrictTypeChecking] void disableVertexAttribArray(in unsigned l
ong index) raises(DOMException); | 508 [StrictTypeChecking] void disableVertexAttribArray(in unsigned l
ong index) raises(DOMException); |
| 509 [StrictTypeChecking] void drawArrays(in unsigned long mode, in l
ong first, in long count) raises(DOMException); | 509 [StrictTypeChecking] void drawArrays(in unsigned long mode, in l
ong first, in long count) raises(DOMException); |
| 510 [StrictTypeChecking] void drawElements(in unsigned long mode, in
long count, in unsigned long type, in long offset) raises(DOMException); | 510 [StrictTypeChecking] void drawElements(in unsigned long mode, in
long count, in unsigned long type, in long long offset) raises(DOMException); |
| 511 | 511 |
| 512 [StrictTypeChecking] void enable(in unsigned long cap); | 512 [StrictTypeChecking] void enable(in unsigned long cap); |
| 513 [StrictTypeChecking] void enableVertexAttribArray(in unsigned lo
ng index) raises(DOMException); | 513 [StrictTypeChecking] void enableVertexAttribArray(in unsigned lo
ng index) raises(DOMException); |
| 514 [StrictTypeChecking] void finish(); | 514 [StrictTypeChecking] void finish(); |
| 515 [StrictTypeChecking] void flush(); | 515 [StrictTypeChecking] void flush(); |
| 516 [StrictTypeChecking] void framebufferRenderbuffer(in unsigned lo
ng target, in unsigned long attachment, in unsigned long renderbuffertarget, in
WebGLRenderbuffer renderbuffer) raises(DOMException); | 516 [StrictTypeChecking] void framebufferRenderbuffer(in unsigned lo
ng target, in unsigned long attachment, in unsigned long renderbuffertarget, in
WebGLRenderbuffer renderbuffer) raises(DOMException); |
| 517 [StrictTypeChecking] void framebufferTexture2D(in unsigned long
target, in unsigned long attachment, in unsigned long textarget, in WebGLTexture
texture, in long level) raises(DOMException); | 517 [StrictTypeChecking] void framebufferTexture2D(in unsigned long
target, in unsigned long attachment, in unsigned long textarget, in WebGLTexture
texture, in long level) raises(DOMException); |
| 518 [StrictTypeChecking] void frontFace(in unsigned long mode); | 518 [StrictTypeChecking] void frontFace(in unsigned long mode); |
| 519 [StrictTypeChecking] void generateMipmap(in unsigned long target
); | 519 [StrictTypeChecking] void generateMipmap(in unsigned long target
); |
| 520 | 520 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 | 592 |
| 593 [StrictTypeChecking] WebGLUniformLocation getUniformLocation(in WebGLPro
gram program, in DOMString name) raises(DOMException); | 593 [StrictTypeChecking] WebGLUniformLocation getUniformLocation(in WebGLPro
gram program, in DOMString name) raises(DOMException); |
| 594 | 594 |
| 595 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) | 595 #if (defined(LANGUAGE_DART) && LANGUAGE_DART) |
| 596 [StrictTypeChecking, Custom] any getVertexAttrib(in unsigned long index,
in unsigned long pname) raises(DOMException); | 596 [StrictTypeChecking, Custom] any getVertexAttrib(in unsigned long index,
in unsigned long pname) raises(DOMException); |
| 597 #else | 597 #else |
| 598 // any getVertexAttrib(in unsigned long index, in unsigned long pname) r
aises(DOMException); | 598 // any getVertexAttrib(in unsigned long index, in unsigned long pname) r
aises(DOMException); |
| 599 [StrictTypeChecking, Custom] void getVertexAttrib(); | 599 [StrictTypeChecking, Custom] void getVertexAttrib(); |
| 600 #endif | 600 #endif |
| 601 | 601 |
| 602 [StrictTypeChecking] long getVertexAttribOffset(in unsigned long index,
in unsigned long pname); | 602 [StrictTypeChecking] long long getVertexAttribOffset(in unsigned long in
dex, in unsigned long pname); |
| 603 | 603 |
| 604 [StrictTypeChecking] void hint(in unsigned long target, in unsig
ned long mode); | 604 [StrictTypeChecking] void hint(in unsigned long target, in unsig
ned long mode); |
| 605 [StrictTypeChecking] boolean isBuffer(in WebGLBuffer buffer); | 605 [StrictTypeChecking] boolean isBuffer(in WebGLBuffer buffer); |
| 606 [StrictTypeChecking] boolean isContextLost(); | 606 [StrictTypeChecking] boolean isContextLost(); |
| 607 [StrictTypeChecking] boolean isEnabled(in unsigned long cap); | 607 [StrictTypeChecking] boolean isEnabled(in unsigned long cap); |
| 608 [StrictTypeChecking] boolean isFramebuffer(in WebGLFramebuffer fram
ebuffer); | 608 [StrictTypeChecking] boolean isFramebuffer(in WebGLFramebuffer fram
ebuffer); |
| 609 [StrictTypeChecking] boolean isProgram(in WebGLProgram program); | 609 [StrictTypeChecking] boolean isProgram(in WebGLProgram program); |
| 610 [StrictTypeChecking] boolean isRenderbuffer(in WebGLRenderbuffer re
nderbuffer); | 610 [StrictTypeChecking] boolean isRenderbuffer(in WebGLRenderbuffer re
nderbuffer); |
| 611 [StrictTypeChecking] boolean isShader(in WebGLShader shader); | 611 [StrictTypeChecking] boolean isShader(in WebGLShader shader); |
| 612 [StrictTypeChecking] boolean isTexture(in WebGLTexture texture); | 612 [StrictTypeChecking] boolean isTexture(in WebGLTexture texture); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 | 686 |
| 687 [StrictTypeChecking] void vertexAttrib1f(in unsigned long indx,
in float x); | 687 [StrictTypeChecking] void vertexAttrib1f(in unsigned long indx,
in float x); |
| 688 [StrictTypeChecking, Custom] void vertexAttrib1fv(in unsigned lo
ng indx, in Float32Array values); | 688 [StrictTypeChecking, Custom] void vertexAttrib1fv(in unsigned lo
ng indx, in Float32Array values); |
| 689 [StrictTypeChecking] void vertexAttrib2f(in unsigned long indx,
in float x, in float y); | 689 [StrictTypeChecking] void vertexAttrib2f(in unsigned long indx,
in float x, in float y); |
| 690 [StrictTypeChecking, Custom] void vertexAttrib2fv(in unsigned lo
ng indx, in Float32Array values); | 690 [StrictTypeChecking, Custom] void vertexAttrib2fv(in unsigned lo
ng indx, in Float32Array values); |
| 691 [StrictTypeChecking] void vertexAttrib3f(in unsigned long indx,
in float x, in float y, in float z); | 691 [StrictTypeChecking] void vertexAttrib3f(in unsigned long indx,
in float x, in float y, in float z); |
| 692 [StrictTypeChecking, Custom] void vertexAttrib3fv(in unsigned lo
ng indx, in Float32Array values); | 692 [StrictTypeChecking, Custom] void vertexAttrib3fv(in unsigned lo
ng indx, in Float32Array values); |
| 693 [StrictTypeChecking] void vertexAttrib4f(in unsigned long indx,
in float x, in float y, in float z, in float w); | 693 [StrictTypeChecking] void vertexAttrib4f(in unsigned long indx,
in float x, in float y, in float z, in float w); |
| 694 [StrictTypeChecking, Custom] void vertexAttrib4fv(in unsigned lo
ng indx, in Float32Array values); | 694 [StrictTypeChecking, Custom] void vertexAttrib4fv(in unsigned lo
ng indx, in Float32Array values); |
| 695 [StrictTypeChecking] void vertexAttribPointer(in unsigned long i
ndx, in long size, in unsigned long type, in boolean normalized, | 695 [StrictTypeChecking] void vertexAttribPointer(in unsigned long i
ndx, in long size, in unsigned long type, in boolean normalized, |
| 696 in long stride, in
long offset) raises(DOMException); | 696 in long stride, in
long long offset) raises(DOMException); |
| 697 | 697 |
| 698 [StrictTypeChecking] void viewport(in long x, in long y, in long
width, in long height); | 698 [StrictTypeChecking] void viewport(in long x, in long y, in long
width, in long height); |
| 699 }; | 699 }; |
| 700 } | 700 } |
| 701 | 701 |
| OLD | NEW |