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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 /* WebGL-specific enums */ | 453 /* WebGL-specific enums */ |
454 const GLenum UNPACK_FLIP_Y_WEBGL = 0x9240; | 454 const GLenum UNPACK_FLIP_Y_WEBGL = 0x9240; |
455 const GLenum UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | 455 const GLenum UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
456 const GLenum CONTEXT_LOST_WEBGL = 0x9242; | 456 const GLenum CONTEXT_LOST_WEBGL = 0x9242; |
457 const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | 457 const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
458 const GLenum BROWSER_DEFAULT_WEBGL = 0x9244; | 458 const GLenum BROWSER_DEFAULT_WEBGL = 0x9244; |
459 | 459 |
460 readonly attribute GLsizei drawingBufferWidth; | 460 readonly attribute GLsizei drawingBufferWidth; |
461 readonly attribute GLsizei drawingBufferHeight; | 461 readonly attribute GLsizei drawingBufferHeight; |
462 | 462 |
463 [StrictTypeChecking, RaisesException] void activeTexture(GLenum text
ure); | 463 [StrictTypeChecking] void activeTexture(GLenum texture); |
464 [StrictTypeChecking, RaisesException] void attachShader(WebGLProgram
program, WebGLShader shader); | 464 [StrictTypeChecking] void attachShader(WebGLProgram program, WebGLSh
ader shader); |
465 [StrictTypeChecking, RaisesException] void bindAttribLocation(WebGLP
rogram program, GLuint index, DOMString name); | 465 [StrictTypeChecking] void bindAttribLocation(WebGLProgram program, G
Luint index, DOMString name); |
466 [StrictTypeChecking, RaisesException] void bindBuffer(GLenum target,
WebGLBuffer buffer); | 466 [StrictTypeChecking] void bindBuffer(GLenum target, WebGLBuffer buff
er); |
467 [StrictTypeChecking, RaisesException] void bindFramebuffer(GLenum ta
rget, WebGLFramebuffer framebuffer); | 467 [StrictTypeChecking] void bindFramebuffer(GLenum target, WebGLFrameb
uffer framebuffer); |
468 [StrictTypeChecking, RaisesException] void bindRenderbuffer(GLenum t
arget, WebGLRenderbuffer renderbuffer); | 468 [StrictTypeChecking] void bindRenderbuffer(GLenum target, WebGLRende
rbuffer renderbuffer); |
469 [StrictTypeChecking, RaisesException] void bindTexture(GLenum target
, WebGLTexture texture); | 469 [StrictTypeChecking] void bindTexture(GLenum target, WebGLTexture te
xture); |
470 [StrictTypeChecking] void blendColor(GLclampf red, GLclampf green, G
Lclampf blue, GLclampf alpha); | 470 [StrictTypeChecking] void blendColor(GLclampf red, GLclampf green, G
Lclampf blue, GLclampf alpha); |
471 [StrictTypeChecking] void blendEquation(GLenum mode); | 471 [StrictTypeChecking] void blendEquation(GLenum mode); |
472 [StrictTypeChecking] void blendEquationSeparate(GLenum modeRGB, GLen
um modeAlpha); | 472 [StrictTypeChecking] void blendEquationSeparate(GLenum modeRGB, GLen
um modeAlpha); |
473 [StrictTypeChecking] void blendFunc(GLenum sfactor, GLenum dfactor); | 473 [StrictTypeChecking] void blendFunc(GLenum sfactor, GLenum dfactor); |
474 [StrictTypeChecking] void blendFuncSeparate(GLenum srcRGB, GLenum ds
tRGB, GLenum srcAlpha, GLenum dstAlpha); | 474 [StrictTypeChecking] void blendFuncSeparate(GLenum srcRGB, GLenum ds
tRGB, GLenum srcAlpha, GLenum dstAlpha); |
475 [StrictTypeChecking, RaisesException] void bufferData(GLenum target,
ArrayBuffer? data, GLenum usage); | 475 [StrictTypeChecking] void bufferData(GLenum target, ArrayBuffer? dat
a, GLenum usage); |
476 [StrictTypeChecking, RaisesException] void bufferData(GLenum target,
ArrayBufferView? data, GLenum usage); | 476 [StrictTypeChecking] void bufferData(GLenum target, ArrayBufferView?
data, GLenum usage); |
477 [StrictTypeChecking, RaisesException] void bufferData(GLenum target,
GLsizeiptr size, GLenum usage); | 477 [StrictTypeChecking] void bufferData(GLenum target, GLsizeiptr size,
GLenum usage); |
478 [StrictTypeChecking, RaisesException] void bufferSubData(GLenum targ
et, GLintptr offset, ArrayBuffer? data); | 478 [StrictTypeChecking] void bufferSubData(GLenum target, GLintptr offs
et, ArrayBuffer? data); |
479 [StrictTypeChecking, RaisesException] void bufferSubData(GLenum targ
et, GLintptr offset, ArrayBufferView? data); | 479 [StrictTypeChecking] void bufferSubData(GLenum target, GLintptr offs
et, ArrayBufferView? data); |
480 | 480 |
481 [StrictTypeChecking] GLenum checkFramebufferStatus(GLenum target); | 481 [StrictTypeChecking] GLenum checkFramebufferStatus(GLenum target); |
482 [StrictTypeChecking] void clear(GLbitfield mask); | 482 [StrictTypeChecking] void clear(GLbitfield mask); |
483 [StrictTypeChecking] void clearColor(GLclampf red, GLclampf green, G
Lclampf blue, GLclampf alpha); | 483 [StrictTypeChecking] void clearColor(GLclampf red, GLclampf green, G
Lclampf blue, GLclampf alpha); |
484 [StrictTypeChecking] void clearDepth(GLclampf depth); | 484 [StrictTypeChecking] void clearDepth(GLclampf depth); |
485 [StrictTypeChecking] void clearStencil(GLint s); | 485 [StrictTypeChecking] void clearStencil(GLint s); |
486 [StrictTypeChecking] void colorMask(GLboolean red, GLboolean green,
GLboolean blue, GLboolean alpha); | 486 [StrictTypeChecking] void colorMask(GLboolean red, GLboolean green,
GLboolean blue, GLboolean alpha); |
487 [StrictTypeChecking, RaisesException] void compileShader(WebGLShader
shader); | 487 [StrictTypeChecking] void compileShader(WebGLShader shader); |
488 | 488 |
489 [StrictTypeChecking] void compressedTexImage2D(GLenum target, GLint
level, GLenum internalformat, | 489 [StrictTypeChecking] void compressedTexImage2D(GLenum target, GLint
level, GLenum internalformat, |
490 GLsizei width, GLsize
i height, GLint border, ArrayBufferView data); | 490 GLsizei width, GLsize
i height, GLint border, ArrayBufferView data); |
491 [StrictTypeChecking] void compressedTexSubImage2D(GLenum target, GLi
nt level, GLint xoffset, GLint yoffset, | 491 [StrictTypeChecking] void compressedTexSubImage2D(GLenum target, GLi
nt level, GLint xoffset, GLint yoffset, |
492 GLsizei width, GLs
izei height, GLenum format, ArrayBufferView data); | 492 GLsizei width, GLs
izei height, GLenum format, ArrayBufferView data); |
493 | 493 |
494 [StrictTypeChecking] void copyTexImage2D(GLenum target, GLint level,
GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint b
order); | 494 [StrictTypeChecking] void copyTexImage2D(GLenum target, GLint level,
GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint b
order); |
495 [StrictTypeChecking] void copyTexSubImage2D(GLenum target, GLint lev
el, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei heigh
t); | 495 [StrictTypeChecking] void copyTexSubImage2D(GLenum target, GLint lev
el, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei heigh
t); |
496 | 496 |
497 [StrictTypeChecking] WebGLBuffer createBuffer(); | 497 [StrictTypeChecking] WebGLBuffer createBuffer(); |
498 [StrictTypeChecking] WebGLFramebuffer createFramebuffer(); | 498 [StrictTypeChecking] WebGLFramebuffer createFramebuffer(); |
499 [StrictTypeChecking] WebGLProgram createProgram(); | 499 [StrictTypeChecking] WebGLProgram createProgram(); |
500 [StrictTypeChecking] WebGLRenderbuffer createRenderbuffer(); | 500 [StrictTypeChecking] WebGLRenderbuffer createRenderbuffer(); |
501 [StrictTypeChecking, RaisesException] WebGLShader createShader(GLenum type); | 501 [StrictTypeChecking] WebGLShader createShader(GLenum type); |
502 [StrictTypeChecking] WebGLTexture createTexture(); | 502 [StrictTypeChecking] WebGLTexture createTexture(); |
503 | 503 |
504 [StrictTypeChecking] void cullFace(GLenum mode); | 504 [StrictTypeChecking] void cullFace(GLenum mode); |
505 | 505 |
506 [StrictTypeChecking] void deleteBuffer(WebGLBuffer buffer); | 506 [StrictTypeChecking] void deleteBuffer(WebGLBuffer buffer); |
507 [StrictTypeChecking] void deleteFramebuffer(WebGLFramebuffer framebu
ffer); | 507 [StrictTypeChecking] void deleteFramebuffer(WebGLFramebuffer framebu
ffer); |
508 [StrictTypeChecking] void deleteProgram(WebGLProgram program); | 508 [StrictTypeChecking] void deleteProgram(WebGLProgram program); |
509 [StrictTypeChecking] void deleteRenderbuffer(WebGLRenderbuffer rende
rbuffer); | 509 [StrictTypeChecking] void deleteRenderbuffer(WebGLRenderbuffer rende
rbuffer); |
510 [StrictTypeChecking] void deleteShader(WebGLShader shader); | 510 [StrictTypeChecking] void deleteShader(WebGLShader shader); |
511 [StrictTypeChecking] void deleteTexture(WebGLTexture texture); | 511 [StrictTypeChecking] void deleteTexture(WebGLTexture texture); |
512 | 512 |
513 [StrictTypeChecking] void depthFunc(GLenum func); | 513 [StrictTypeChecking] void depthFunc(GLenum func); |
514 [StrictTypeChecking] void depthMask(GLboolean flag); | 514 [StrictTypeChecking] void depthMask(GLboolean flag); |
515 [StrictTypeChecking] void depthRange(GLclampf zNear, GLclampf zFar); | 515 [StrictTypeChecking] void depthRange(GLclampf zNear, GLclampf zFar); |
516 [StrictTypeChecking, RaisesException] void detachShader(WebGLProgram
program, WebGLShader shader); | 516 [StrictTypeChecking] void detachShader(WebGLProgram program, WebGLSh
ader shader); |
517 [StrictTypeChecking] void disable(GLenum cap); | 517 [StrictTypeChecking] void disable(GLenum cap); |
518 [StrictTypeChecking, RaisesException] void disableVertexAttribArray(
GLuint index); | 518 [StrictTypeChecking] void disableVertexAttribArray(GLuint index); |
519 [StrictTypeChecking, RaisesException] void drawArrays(GLenum mode, G
Lint first, GLsizei count); | 519 [StrictTypeChecking] void drawArrays(GLenum mode, GLint first, GLsiz
ei count); |
520 [StrictTypeChecking, RaisesException] void drawElements(GLenum mode,
GLsizei count, GLenum type, GLintptr offset); | 520 [StrictTypeChecking] void drawElements(GLenum mode, GLsizei count, G
Lenum type, GLintptr offset); |
521 | 521 |
522 [StrictTypeChecking] void enable(GLenum cap); | 522 [StrictTypeChecking] void enable(GLenum cap); |
523 [StrictTypeChecking, RaisesException] void enableVertexAttribArray(G
Luint index); | 523 [StrictTypeChecking] void enableVertexAttribArray(GLuint index); |
524 [StrictTypeChecking] void finish(); | 524 [StrictTypeChecking] void finish(); |
525 [StrictTypeChecking] void flush(); | 525 [StrictTypeChecking] void flush(); |
526 [StrictTypeChecking, RaisesException] void framebufferRenderbuffer(G
Lenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer re
nderbuffer); | 526 [StrictTypeChecking] void framebufferRenderbuffer(GLenum target, GLe
num attachment, GLenum renderbuffertarget, WebGLRenderbuffer renderbuffer); |
527 [StrictTypeChecking, RaisesException] void framebufferTexture2D(GLen
um target, GLenum attachment, GLenum textarget, WebGLTexture texture, GLint leve
l); | 527 [StrictTypeChecking] void framebufferTexture2D(GLenum target, GLenum
attachment, GLenum textarget, WebGLTexture texture, GLint level); |
528 [StrictTypeChecking] void frontFace(GLenum mode); | 528 [StrictTypeChecking] void frontFace(GLenum mode); |
529 [StrictTypeChecking] void generateMipmap(GLenum target); | 529 [StrictTypeChecking] void generateMipmap(GLenum target); |
530 | 530 |
531 [StrictTypeChecking, RaisesException] WebGLActiveInfo getActiveAttrib(WebGLP
rogram program, GLuint index); | 531 [StrictTypeChecking] WebGLActiveInfo getActiveAttrib(WebGLProgram program, G
Luint index); |
532 [StrictTypeChecking, RaisesException] WebGLActiveInfo getActiveUniform(WebGL
Program program, GLuint index); | 532 [StrictTypeChecking] WebGLActiveInfo getActiveUniform(WebGLProgram program,
GLuint index); |
533 | 533 |
534 [StrictTypeChecking, Custom, RaisesException] void getAttachedShaders(WebGLP
rogram program); | 534 [StrictTypeChecking, Custom] void getAttachedShaders(WebGLProgram program); |
535 | 535 |
536 [StrictTypeChecking] GLint getAttribLocation(WebGLProgram program, DO
MString name); | 536 [StrictTypeChecking] GLint getAttribLocation(WebGLProgram program, DO
MString name); |
537 | 537 |
538 [StrictTypeChecking, Custom] any getBufferParameter(GLenum target, GLenum pn
ame); | 538 [StrictTypeChecking, Custom] any getBufferParameter(GLenum target, GLenum pn
ame); |
539 | 539 |
540 [StrictTypeChecking] WebGLContextAttributes getContextAttributes(); | 540 [StrictTypeChecking] WebGLContextAttributes getContextAttributes(); |
541 | 541 |
542 [StrictTypeChecking] GLenum getError(); | 542 [StrictTypeChecking] GLenum getError(); |
543 | 543 |
544 // object getExtension(DOMString name); | 544 // object getExtension(DOMString name); |
545 [StrictTypeChecking, Custom] any getExtension(DOMString name); | 545 [StrictTypeChecking, Custom] any getExtension(DOMString name); |
546 | 546 |
547 [StrictTypeChecking, Custom, RaisesException] any getFramebufferAttachmentPa
rameter(GLenum target, GLenum attachment, GLenum pname); | 547 [StrictTypeChecking, Custom] any getFramebufferAttachmentParameter(GLenum ta
rget, GLenum attachment, GLenum pname); |
548 [StrictTypeChecking, Custom, RaisesException] any getParameter(GLenum pname)
; | 548 [StrictTypeChecking, Custom] any getParameter(GLenum pname); |
549 [StrictTypeChecking, Custom, RaisesException] any getProgramParameter(WebGLP
rogram program, GLenum pname); | 549 [StrictTypeChecking, Custom] any getProgramParameter(WebGLProgram program, G
Lenum pname); |
550 [StrictTypeChecking, TreatReturnedNullStringAs=Null, RaisesException] DOMStr
ing getProgramInfoLog(WebGLProgram program); | 550 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getProgramInf
oLog(WebGLProgram program); |
551 [StrictTypeChecking, Custom, RaisesException] any getRenderbufferParameter(G
Lenum target, GLenum pname); | 551 [StrictTypeChecking, Custom] any getRenderbufferParameter(GLenum target, GLe
num pname); |
552 [StrictTypeChecking, Custom, RaisesException] any getShaderParameter(WebGLSh
ader shader, GLenum pname); | 552 [StrictTypeChecking, Custom] any getShaderParameter(WebGLShader shader, GLen
um pname); |
553 | 553 |
554 [StrictTypeChecking, TreatReturnedNullStringAs=Null, RaisesException] DOMStr
ing getShaderInfoLog(WebGLShader shader); | 554 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getShaderI
nfoLog(WebGLShader shader); |
555 | 555 |
556 [StrictTypeChecking, RaisesException] WebGLShaderPrecisionFormat getShaderPr
ecisionFormat(GLenum shadertype, GLenum precisiontype); | 556 [StrictTypeChecking] WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLe
num shadertype, GLenum precisiontype); |
557 | 557 |
558 [StrictTypeChecking, TreatReturnedNullStringAs=Null, RaisesException] DOMStr
ing getShaderSource(WebGLShader shader); | 558 [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getShaderS
ource(WebGLShader shader); |
559 | 559 |
560 [StrictTypeChecking, Custom] sequence<DOMString> getSupportedExtensions(); | 560 [StrictTypeChecking, Custom] sequence<DOMString> getSupportedExtensions(); |
561 | 561 |
562 [StrictTypeChecking, Custom, RaisesException] any getTexParameter(GLenum tar
get, GLenum pname); | 562 [StrictTypeChecking, Custom] any getTexParameter(GLenum target, GLenum pname
); |
563 | 563 |
564 [StrictTypeChecking, Custom, RaisesException] any getUniform(WebGLProgram pr
ogram, WebGLUniformLocation location); | 564 [StrictTypeChecking, Custom] any getUniform(WebGLProgram program, WebGLUnifo
rmLocation location); |
565 | 565 |
566 [StrictTypeChecking, RaisesException] WebGLUniformLocation getUniformLocatio
n(WebGLProgram program, DOMString name); | 566 [StrictTypeChecking] WebGLUniformLocation getUniformLocation(WebGLProgram pr
ogram, DOMString name); |
567 | 567 |
568 [StrictTypeChecking, Custom, RaisesException] any getVertexAttrib(GLuint ind
ex, GLenum pname); | 568 [StrictTypeChecking, Custom] any getVertexAttrib(GLuint index, GLenum pname)
; |
569 | 569 |
570 [StrictTypeChecking] GLsizeiptr getVertexAttribOffset(GLuint index, GLenum p
name); | 570 [StrictTypeChecking] GLsizeiptr getVertexAttribOffset(GLuint index, GLenum p
name); |
571 | 571 |
572 [StrictTypeChecking] void hint(GLenum target, GLenum mode); | 572 [StrictTypeChecking] void hint(GLenum target, GLenum mode); |
573 [StrictTypeChecking] GLboolean isBuffer(WebGLBuffer buffer); | 573 [StrictTypeChecking] GLboolean isBuffer(WebGLBuffer buffer); |
574 [StrictTypeChecking] GLboolean isContextLost(); | 574 [StrictTypeChecking] GLboolean isContextLost(); |
575 [StrictTypeChecking] GLboolean isEnabled(GLenum cap); | 575 [StrictTypeChecking] GLboolean isEnabled(GLenum cap); |
576 [StrictTypeChecking] GLboolean isFramebuffer(WebGLFramebuffer framebuffer
); | 576 [StrictTypeChecking] GLboolean isFramebuffer(WebGLFramebuffer framebuffer
); |
577 [StrictTypeChecking] GLboolean isProgram(WebGLProgram program); | 577 [StrictTypeChecking] GLboolean isProgram(WebGLProgram program); |
578 [StrictTypeChecking] GLboolean isRenderbuffer(WebGLRenderbuffer renderbuf
fer); | 578 [StrictTypeChecking] GLboolean isRenderbuffer(WebGLRenderbuffer renderbuf
fer); |
579 [StrictTypeChecking] GLboolean isShader(WebGLShader shader); | 579 [StrictTypeChecking] GLboolean isShader(WebGLShader shader); |
580 [StrictTypeChecking] GLboolean isTexture(WebGLTexture texture); | 580 [StrictTypeChecking] GLboolean isTexture(WebGLTexture texture); |
581 [StrictTypeChecking] void lineWidth(GLfloat width); | 581 [StrictTypeChecking] void lineWidth(GLfloat width); |
582 [StrictTypeChecking, RaisesException] void linkProgram(WebGLProgram
program); | 582 [StrictTypeChecking] void linkProgram(WebGLProgram program); |
583 [StrictTypeChecking] void pixelStorei(GLenum pname, GLint param); | 583 [StrictTypeChecking] void pixelStorei(GLenum pname, GLint param); |
584 [StrictTypeChecking] void polygonOffset(GLfloat factor, GLfloat unit
s); | 584 [StrictTypeChecking] void polygonOffset(GLfloat factor, GLfloat unit
s); |
585 | 585 |
586 [StrictTypeChecking, RaisesException] void readPixels(GLint x, GLint
y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView p
ixels); | 586 [StrictTypeChecking] void readPixels(GLint x, GLint y, GLsizei width
, GLsizei height, GLenum format, GLenum type, ArrayBufferView pixels); |
587 | 587 |
588 [StrictTypeChecking] void renderbufferStorage(GLenum target, GLenum
internalformat, GLsizei width, GLsizei height); | 588 [StrictTypeChecking] void renderbufferStorage(GLenum target, GLenum
internalformat, GLsizei width, GLsizei height); |
589 [StrictTypeChecking] void sampleCoverage(GLclampf value, GLboolean i
nvert); | 589 [StrictTypeChecking] void sampleCoverage(GLclampf value, GLboolean i
nvert); |
590 [StrictTypeChecking] void scissor(GLint x, GLint y, GLsizei width, G
Lsizei height); | 590 [StrictTypeChecking] void scissor(GLint x, GLint y, GLsizei width, G
Lsizei height); |
591 [StrictTypeChecking, RaisesException] void shaderSource(WebGLShader
shader, DOMString string); | 591 [StrictTypeChecking] void shaderSource(WebGLShader shader, DOMString
string); |
592 [StrictTypeChecking] void stencilFunc(GLenum func, GLint ref, GLuint
mask); | 592 [StrictTypeChecking] void stencilFunc(GLenum func, GLint ref, GLuint
mask); |
593 [StrictTypeChecking] void stencilFuncSeparate(GLenum face, GLenum fu
nc, GLint ref, GLuint mask); | 593 [StrictTypeChecking] void stencilFuncSeparate(GLenum face, GLenum fu
nc, GLint ref, GLuint mask); |
594 [StrictTypeChecking] void stencilMask(GLuint mask); | 594 [StrictTypeChecking] void stencilMask(GLuint mask); |
595 [StrictTypeChecking] void stencilMaskSeparate(GLenum face, GLuint ma
sk); | 595 [StrictTypeChecking] void stencilMaskSeparate(GLenum face, GLuint ma
sk); |
596 [StrictTypeChecking] void stencilOp(GLenum fail, GLenum zfail, GLenu
m zpass); | 596 [StrictTypeChecking] void stencilOp(GLenum fail, GLenum zfail, GLenu
m zpass); |
597 [StrictTypeChecking] void stencilOpSeparate(GLenum face, GLenum fail
, GLenum zfail, GLenum zpass); | 597 [StrictTypeChecking] void stencilOpSeparate(GLenum face, GLenum fail
, GLenum zfail, GLenum zpass); |
598 | 598 |
599 [StrictTypeChecking] void texParameterf(GLenum target, GLenum pname,
GLfloat param); | 599 [StrictTypeChecking] void texParameterf(GLenum target, GLenum pname,
GLfloat param); |
600 [StrictTypeChecking] void texParameteri(GLenum target, GLenum pname,
GLint param); | 600 [StrictTypeChecking] void texParameteri(GLenum target, GLenum pname,
GLint param); |
601 | 601 |
(...skipping 14 matching lines...) Expand all Loading... |
616 GLenum format, GLenum type,
ArrayBufferView? pixels); | 616 GLenum format, GLenum type,
ArrayBufferView? pixels); |
617 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, | 617 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, |
618 GLenum format, GLenum type,
ImageData? pixels); | 618 GLenum format, GLenum type,
ImageData? pixels); |
619 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, | 619 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, |
620 GLenum format, GLenum type,
HTMLImageElement? image); | 620 GLenum format, GLenum type,
HTMLImageElement? image); |
621 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, | 621 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, |
622 GLenum format, GLenum type,
HTMLCanvasElement? canvas); | 622 GLenum format, GLenum type,
HTMLCanvasElement? canvas); |
623 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, | 623 [StrictTypeChecking, RaisesException] void texSubImage2D(GLenum targ
et, GLint level, GLint xoffset, GLint yoffset, |
624 GLenum format, GLenum type,
HTMLVideoElement? video); | 624 GLenum format, GLenum type,
HTMLVideoElement? video); |
625 | 625 |
626 [StrictTypeChecking, RaisesException] void uniform1f(WebGLUniformLocation lo
cation, GLfloat x); | 626 [StrictTypeChecking] void uniform1f(WebGLUniformLocation location, GLfloat x
); |
627 [StrictTypeChecking, Custom, RaisesException] void uniform1fv(WebGLUniformLo
cation location, Float32Array v); | 627 [StrictTypeChecking, Custom] void uniform1fv(WebGLUniformLocation location,
Float32Array v); |
628 [StrictTypeChecking, RaisesException] void uniform1i(WebGLUniformLocation lo
cation, GLint x); | 628 [StrictTypeChecking] void uniform1i(WebGLUniformLocation location, GLint x); |
629 [StrictTypeChecking, Custom, RaisesException] void uniform1iv(WebGLUniformLo
cation location, Int32Array v); | 629 [StrictTypeChecking, Custom] void uniform1iv(WebGLUniformLocation location,
Int32Array v); |
630 [StrictTypeChecking, RaisesException] void uniform2f(WebGLUniformLocation lo
cation, GLfloat x, GLfloat y); | 630 [StrictTypeChecking] void uniform2f(WebGLUniformLocation location, GLfloat x
, GLfloat y); |
631 [StrictTypeChecking, Custom, RaisesException] void uniform2fv(WebGLUniformLo
cation location, Float32Array v); | 631 [StrictTypeChecking, Custom] void uniform2fv(WebGLUniformLocation location,
Float32Array v); |
632 [StrictTypeChecking, RaisesException] void uniform2i(WebGLUniformLocation lo
cation, GLint x, GLint y); | 632 [StrictTypeChecking] void uniform2i(WebGLUniformLocation location, GLint x,
GLint y); |
633 [StrictTypeChecking, Custom, RaisesException] void uniform2iv(WebGLUniformLo
cation location, Int32Array v); | 633 [StrictTypeChecking, Custom] void uniform2iv(WebGLUniformLocation location,
Int32Array v); |
634 [StrictTypeChecking, RaisesException] void uniform3f(WebGLUniformLocation lo
cation, GLfloat x, GLfloat y, GLfloat z); | 634 [StrictTypeChecking] void uniform3f(WebGLUniformLocation location, GLfloat x
, GLfloat y, GLfloat z); |
635 [StrictTypeChecking, Custom, RaisesException] void uniform3fv(WebGLUniformLo
cation location, Float32Array v); | 635 [StrictTypeChecking, Custom] void uniform3fv(WebGLUniformLocation location,
Float32Array v); |
636 [StrictTypeChecking, RaisesException] void uniform3i(WebGLUniformLocation lo
cation, GLint x, GLint y, GLint z); | 636 [StrictTypeChecking] void uniform3i(WebGLUniformLocation location, GLint x,
GLint y, GLint z); |
637 [StrictTypeChecking, Custom, RaisesException] void uniform3iv(WebGLUniformLo
cation location, Int32Array v); | 637 [StrictTypeChecking, Custom] void uniform3iv(WebGLUniformLocation location,
Int32Array v); |
638 [StrictTypeChecking, RaisesException] void uniform4f(WebGLUniformLocation lo
cation, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | 638 [StrictTypeChecking] void uniform4f(WebGLUniformLocation location, GLfloat x
, GLfloat y, GLfloat z, GLfloat w); |
639 [StrictTypeChecking, Custom, RaisesException] void uniform4fv(WebGLUniformLo
cation location, Float32Array v); | 639 [StrictTypeChecking, Custom] void uniform4fv(WebGLUniformLocation location,
Float32Array v); |
640 [StrictTypeChecking, RaisesException] void uniform4i(WebGLUniformLocation lo
cation, GLint x, GLint y, GLint z, GLint w); | 640 [StrictTypeChecking] void uniform4i(WebGLUniformLocation location, GLint x,
GLint y, GLint z, GLint w); |
641 [StrictTypeChecking, Custom, RaisesException] void uniform4iv(WebGLUniformLo
cation location, Int32Array v); | 641 [StrictTypeChecking, Custom] void uniform4iv(WebGLUniformLocation location,
Int32Array v); |
642 | 642 |
643 [StrictTypeChecking, Custom, RaisesException] void uniformMatrix2fv(WebGLUni
formLocation location, GLboolean transpose, Float32Array array); | 643 [StrictTypeChecking, Custom] void uniformMatrix2fv(WebGLUniformLocation loca
tion, GLboolean transpose, Float32Array array); |
644 [StrictTypeChecking, Custom, RaisesException] void uniformMatrix3fv(WebGLUni
formLocation location, GLboolean transpose, Float32Array array); | 644 [StrictTypeChecking, Custom] void uniformMatrix3fv(WebGLUniformLocation loca
tion, GLboolean transpose, Float32Array array); |
645 [StrictTypeChecking, Custom, RaisesException] void uniformMatrix4fv(WebGLUni
formLocation location, GLboolean transpose, Float32Array array); | 645 [StrictTypeChecking, Custom] void uniformMatrix4fv(WebGLUniformLocation loca
tion, GLboolean transpose, Float32Array array); |
646 | 646 |
647 [StrictTypeChecking, RaisesException] void useProgram(WebGLProgram p
rogram); | 647 [StrictTypeChecking] void useProgram(WebGLProgram program); |
648 [StrictTypeChecking, RaisesException] void validateProgram(WebGLProg
ram program); | 648 [StrictTypeChecking] void validateProgram(WebGLProgram program); |
649 | 649 |
650 [StrictTypeChecking] void vertexAttrib1f(GLuint indx, GLfloat x); | 650 [StrictTypeChecking] void vertexAttrib1f(GLuint indx, GLfloat x); |
651 [StrictTypeChecking, Custom] void vertexAttrib1fv(GLuint indx, Float32Array
values); | 651 [StrictTypeChecking, Custom] void vertexAttrib1fv(GLuint indx, Float32Array
values); |
652 [StrictTypeChecking] void vertexAttrib2f(GLuint indx, GLfloat x, GLf
loat y); | 652 [StrictTypeChecking] void vertexAttrib2f(GLuint indx, GLfloat x, GLf
loat y); |
653 [StrictTypeChecking, Custom] void vertexAttrib2fv(GLuint indx, Float32Array
values); | 653 [StrictTypeChecking, Custom] void vertexAttrib2fv(GLuint indx, Float32Array
values); |
654 [StrictTypeChecking] void vertexAttrib3f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z); | 654 [StrictTypeChecking] void vertexAttrib3f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z); |
655 [StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array
values); | 655 [StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array
values); |
656 [StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z, GLfloat w); | 656 [StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLf
loat y, GLfloat z, GLfloat w); |
657 [StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array
values); | 657 [StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array
values); |
658 [StrictTypeChecking, RaisesException] void vertexAttribPointer(GLuin
t indx, GLint size, GLenum type, GLboolean normalized, | 658 [StrictTypeChecking] void vertexAttribPointer(GLuint indx, GLint siz
e, GLenum type, GLboolean normalized, |
659 GLsizei stride, GLintp
tr offset); | 659 GLsizei stride, GLintp
tr offset); |
660 | 660 |
661 [StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width,
GLsizei height); | 661 [StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width,
GLsizei height); |
662 }; | 662 }; |
OLD | NEW |