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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 | 455 |
456 const GLenum INVALID_FRAMEBUFFER_OPERATION = 0x0506; | 456 const GLenum INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
457 | 457 |
458 /* WebGL-specific enums */ | 458 /* WebGL-specific enums */ |
459 const GLenum UNPACK_FLIP_Y_WEBGL = 0x9240; | 459 const GLenum UNPACK_FLIP_Y_WEBGL = 0x9240; |
460 const GLenum UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | 460 const GLenum UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
461 const GLenum CONTEXT_LOST_WEBGL = 0x9242; | 461 const GLenum CONTEXT_LOST_WEBGL = 0x9242; |
462 const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | 462 const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
463 const GLenum BROWSER_DEFAULT_WEBGL = 0x9244; | 463 const GLenum BROWSER_DEFAULT_WEBGL = 0x9244; |
464 | 464 |
465 readonly attribute GLsizei drawingBufferWidth; | 465 [DartNoAutoScope] readonly attribute GLsizei drawingBufferWidth; |
466 readonly attribute GLsizei drawingBufferHeight; | 466 [DartNoAutoScope] readonly attribute GLsizei drawingBufferHeight; |
467 | 467 |
468 void activeTexture(GLenum texture); | 468 [DartNoAutoScope] void activeTexture(GLenum texture); |
469 void attachShader(WebGLProgram? program, WebGLShader? shader); | 469 [DartNoAutoScope] void attachShader(WebGLProgram? program, WebGLShader? shad
er); |
470 void bindAttribLocation(WebGLProgram? program, GLuint index, DOMString name)
; | 470 [DartNoAutoScope] void bindAttribLocation(WebGLProgram? program, GLuint inde
x, DOMString name); |
471 void bindBuffer(GLenum target, WebGLBuffer? buffer); | 471 [DartNoAutoScope] void bindBuffer(GLenum target, WebGLBuffer? buffer); |
472 void bindFramebuffer(GLenum target, WebGLFramebuffer? framebuffer); | 472 [DartNoAutoScope] void bindFramebuffer(GLenum target, WebGLFramebuffer? fram
ebuffer); |
473 void bindRenderbuffer(GLenum target, WebGLRenderbuffer? renderbuffer); | 473 [DartNoAutoScope] void bindRenderbuffer(GLenum target, WebGLRenderbuffer? re
nderbuffer); |
474 void bindTexture(GLenum target, WebGLTexture? texture); | 474 [DartNoAutoScope] void bindTexture(GLenum target, WebGLTexture? texture); |
475 void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
; | 475 [DartNoAutoScope] void blendColor(GLclampf red, GLclampf green, GLclampf blu
e, GLclampf alpha); |
476 void blendEquation(GLenum mode); | 476 [DartNoAutoScope] void blendEquation(GLenum mode); |
477 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); | 477 [DartNoAutoScope] void blendEquationSeparate(GLenum modeRGB, GLenum modeAlph
a); |
478 void blendFunc(GLenum sfactor, GLenum dfactor); | 478 [DartNoAutoScope] void blendFunc(GLenum sfactor, GLenum dfactor); |
479 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum
dstAlpha); | 479 [DartNoAutoScope] void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenu
m srcAlpha, GLenum dstAlpha); |
480 void bufferData(GLenum target, ArrayBuffer? data, GLenum usage); | 480 void bufferData(GLenum target, ArrayBuffer? data, GLenum usage); |
481 void bufferData(GLenum target, ArrayBufferView? data, GLenum usage); | 481 void bufferData(GLenum target, ArrayBufferView? data, GLenum usage); |
482 void bufferData(GLenum target, GLsizeiptr size, GLenum usage); | 482 void bufferData(GLenum target, GLsizeiptr size, GLenum usage); |
483 void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data); | 483 void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data); |
484 void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView? data); | 484 void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView? data); |
485 | 485 |
486 GLenum checkFramebufferStatus(GLenum target); | 486 [DartNoAutoScope] GLenum checkFramebufferStatus(GLenum target); |
487 void clear(GLbitfield mask); | 487 [DartNoAutoScope] void clear(GLbitfield mask); |
488 void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
; | 488 [DartNoAutoScope] void clearColor(GLclampf red, GLclampf green, GLclampf blu
e, GLclampf alpha); |
489 void clearDepth(GLclampf depth); | 489 [DartNoAutoScope] void clearDepth(GLclampf depth); |
490 void clearStencil(GLint s); | 490 [DartNoAutoScope] void clearStencil(GLint s); |
491 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp
ha); | 491 [DartNoAutoScope] void colorMask(GLboolean red, GLboolean green, GLboolean b
lue, GLboolean alpha); |
492 void compileShader(WebGLShader? shader); | 492 [DartNoAutoScope] void compileShader(WebGLShader? shader); |
493 | 493 |
494 void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, | 494 [DartNoAutoScope] void compressedTexImage2D(GLenum target, GLint level, GLen
um internalformat, |
495 GLsizei width, GLsizei height, GLint border, Array
BufferView? data); | 495 GLsizei width, GLsizei height, GLint border, Array
BufferView? data); |
496 void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLin
t yoffset, | 496 [DartNoAutoScope] void compressedTexSubImage2D(GLenum target, GLint level, G
Lint xoffset, GLint yoffset, |
497 GLsizei width, GLsizei height, GLenum format, A
rrayBufferView? data); | 497 GLsizei width, GLsizei height, GLenum format, A
rrayBufferView? data); |
498 | 498 |
499 void copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint
x, GLint y, GLsizei width, GLsizei height, GLint border); | 499 [DartNoAutoScope] void copyTexImage2D(GLenum target, GLint level, GLenum int
ernalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
500 void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoff
set, GLint x, GLint y, GLsizei width, GLsizei height); | 500 [DartNoAutoScope] void copyTexSubImage2D(GLenum target, GLint level, GLint x
offset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
501 | 501 |
502 WebGLBuffer createBuffer(); | 502 WebGLBuffer createBuffer(); |
503 WebGLFramebuffer createFramebuffer(); | 503 WebGLFramebuffer createFramebuffer(); |
504 WebGLProgram createProgram(); | 504 WebGLProgram createProgram(); |
505 WebGLRenderbuffer createRenderbuffer(); | 505 WebGLRenderbuffer createRenderbuffer(); |
506 WebGLShader createShader(GLenum type); | 506 WebGLShader createShader(GLenum type); |
507 WebGLTexture createTexture(); | 507 WebGLTexture createTexture(); |
508 | 508 |
509 void cullFace(GLenum mode); | 509 [DartNoAutoScope] void cullFace(GLenum mode); |
510 | 510 |
511 void deleteBuffer(WebGLBuffer? buffer); | 511 [DartNoAutoScope] void deleteBuffer(WebGLBuffer? buffer); |
512 void deleteFramebuffer(WebGLFramebuffer? framebuffer); | 512 [DartNoAutoScope] void deleteFramebuffer(WebGLFramebuffer? framebuffer); |
513 void deleteProgram(WebGLProgram? program); | 513 [DartNoAutoScope] void deleteProgram(WebGLProgram? program); |
514 void deleteRenderbuffer(WebGLRenderbuffer? renderbuffer); | 514 [DartNoAutoScope] void deleteRenderbuffer(WebGLRenderbuffer? renderbuffer); |
515 void deleteShader(WebGLShader? shader); | 515 [DartNoAutoScope] void deleteShader(WebGLShader? shader); |
516 void deleteTexture(WebGLTexture? texture); | 516 [DartNoAutoScope] void deleteTexture(WebGLTexture? texture); |
517 | 517 |
518 void depthFunc(GLenum func); | 518 [DartNoAutoScope] void depthFunc(GLenum func); |
519 void depthMask(GLboolean flag); | 519 [DartNoAutoScope] void depthMask(GLboolean flag); |
520 void depthRange(GLclampf zNear, GLclampf zFar); | 520 [DartNoAutoScope] void depthRange(GLclampf zNear, GLclampf zFar); |
521 void detachShader(WebGLProgram? program, WebGLShader? shader); | 521 [DartNoAutoScope] void detachShader(WebGLProgram? program, WebGLShader? shad
er); |
522 void disable(GLenum cap); | 522 [DartNoAutoScope] void disable(GLenum cap); |
523 void disableVertexAttribArray(GLuint index); | 523 [DartNoAutoScope] void disableVertexAttribArray(GLuint index); |
524 void drawArrays(GLenum mode, GLint first, GLsizei count); | 524 [DartNoAutoScope] void drawArrays(GLenum mode, GLint first, GLsizei count); |
525 void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset); | 525 [DartNoAutoScope] void drawElements(GLenum mode, GLsizei count, GLenum type,
GLintptr offset); |
526 | 526 |
527 void enable(GLenum cap); | 527 [DartNoAutoScope] void enable(GLenum cap); |
528 void enableVertexAttribArray(GLuint index); | 528 [DartNoAutoScope] void enableVertexAttribArray(GLuint index); |
529 void finish(); | 529 [DartNoAutoScope] void finish(); |
530 void flush(); | 530 [DartNoAutoScope] void flush(); |
531 void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum render
buffertarget, WebGLRenderbuffer? renderbuffer); | 531 [DartNoAutoScope] void framebufferRenderbuffer(GLenum target, GLenum attachm
ent, GLenum renderbuffertarget, WebGLRenderbuffer? renderbuffer); |
532 void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget
, WebGLTexture? texture, GLint level); | 532 [DartNoAutoScope] void framebufferTexture2D(GLenum target, GLenum attachment
, GLenum textarget, WebGLTexture? texture, GLint level); |
533 void frontFace(GLenum mode); | 533 [DartNoAutoScope] void frontFace(GLenum mode); |
534 void generateMipmap(GLenum target); | 534 [DartNoAutoScope] void generateMipmap(GLenum target); |
535 | 535 |
536 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); | 536 [DartNoAutoScope] WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLu
int index); |
537 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); | 537 [DartNoAutoScope] WebGLActiveInfo getActiveUniform(WebGLProgram? program, GL
uint index); |
538 | 538 |
539 [Custom] void getAttachedShaders(WebGLProgram? program); | 539 [Custom, DartNoAutoScope] void getAttachedShaders(WebGLProgram? program); |
540 | 540 |
541 GLint getAttribLocation(WebGLProgram? program, DOMString name); | 541 [DartNoAutoScope] GLint getAttribLocation(WebGLProgram? program, DOMString n
ame); |
542 | 542 |
543 [Custom] any getBufferParameter(GLenum target, GLenum pname); | 543 [Custom] any getBufferParameter(GLenum target, GLenum pname); |
544 | 544 |
545 WebGLContextAttributes getContextAttributes(); | 545 WebGLContextAttributes getContextAttributes(); |
546 | 546 |
547 GLenum getError(); | 547 GLenum getError(); |
548 | 548 |
549 // object getExtension(DOMString name); | 549 // object getExtension(DOMString name); |
550 [Custom] any getExtension(DOMString name); | 550 [Custom] any getExtension(DOMString name); |
551 | 551 |
(...skipping 15 matching lines...) Expand all Loading... |
567 [Custom] any getTexParameter(GLenum target, GLenum pname); | 567 [Custom] any getTexParameter(GLenum target, GLenum pname); |
568 | 568 |
569 [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation location
); | 569 [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation location
); |
570 | 570 |
571 WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString nam
e); | 571 WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString nam
e); |
572 | 572 |
573 [Custom] any getVertexAttrib(GLuint index, GLenum pname); | 573 [Custom] any getVertexAttrib(GLuint index, GLenum pname); |
574 | 574 |
575 GLsizeiptr getVertexAttribOffset(GLuint index, GLenum pname); | 575 GLsizeiptr getVertexAttribOffset(GLuint index, GLenum pname); |
576 | 576 |
577 void hint(GLenum target, GLenum mode); | 577 [DartNoAutoScope] void hint(GLenum target, GLenum mode); |
578 GLboolean isBuffer(WebGLBuffer? buffer); | 578 [DartNoAutoScope] GLboolean isBuffer(WebGLBuffer? buffer); |
579 GLboolean isContextLost(); | 579 [DartNoAutoScope] GLboolean isContextLost(); |
580 GLboolean isEnabled(GLenum cap); | 580 [DartNoAutoScope] GLboolean isEnabled(GLenum cap); |
581 GLboolean isFramebuffer(WebGLFramebuffer? framebuffer); | 581 [DartNoAutoScope] GLboolean isFramebuffer(WebGLFramebuffer? framebuffer); |
582 GLboolean isProgram(WebGLProgram? program); | 582 [DartNoAutoScope] GLboolean isProgram(WebGLProgram? program); |
583 GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer); | 583 [DartNoAutoScope] GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer); |
584 GLboolean isShader(WebGLShader? shader); | 584 [DartNoAutoScope] GLboolean isShader(WebGLShader? shader); |
585 GLboolean isTexture(WebGLTexture? texture); | 585 [DartNoAutoScope] GLboolean isTexture(WebGLTexture? texture); |
586 void lineWidth(GLfloat width); | 586 [DartNoAutoScope] void lineWidth(GLfloat width); |
587 void linkProgram(WebGLProgram? program); | 587 [DartNoAutoScope] void linkProgram(WebGLProgram? program); |
588 void pixelStorei(GLenum pname, GLint param); | 588 [DartNoAutoScope] void pixelStorei(GLenum pname, GLint param); |
589 void polygonOffset(GLfloat factor, GLfloat units); | 589 [DartNoAutoScope] void polygonOffset(GLfloat factor, GLfloat units); |
590 | 590 |
591 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, ArrayBufferView? pixels); | 591 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form
at, GLenum type, ArrayBufferView? pixels); |
592 | 592 |
593 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width
, GLsizei height); | 593 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width
, GLsizei height); |
594 void sampleCoverage(GLclampf value, GLboolean invert); | 594 void sampleCoverage(GLclampf value, GLboolean invert); |
595 void scissor(GLint x, GLint y, GLsizei width, GLsizei height); | 595 [DartNoAutoScope] void scissor(GLint x, GLint y, GLsizei width, GLsizei heig
ht); |
596 void shaderSource(WebGLShader? shader, DOMString string); | 596 void shaderSource(WebGLShader? shader, DOMString string); |
597 void stencilFunc(GLenum func, GLint ref, GLuint mask); | 597 [DartNoAutoScope] void stencilFunc(GLenum func, GLint ref, GLuint mask); |
598 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); | 598 [DartNoAutoScope] void stencilFuncSeparate(GLenum face, GLenum func, GLint r
ef, GLuint mask); |
599 void stencilMask(GLuint mask); | 599 [DartNoAutoScope] void stencilMask(GLuint mask); |
600 void stencilMaskSeparate(GLenum face, GLuint mask); | 600 [DartNoAutoScope] void stencilMaskSeparate(GLenum face, GLuint mask); |
601 void stencilOp(GLenum fail, GLenum zfail, GLenum zpass); | 601 [DartNoAutoScope] void stencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
602 void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
; | 602 [DartNoAutoScope] void stencilOpSeparate(GLenum face, GLenum fail, GLenum zf
ail, GLenum zpass); |
603 | 603 |
604 void texParameterf(GLenum target, GLenum pname, GLfloat param); | 604 void texParameterf(GLenum target, GLenum pname, GLfloat param); |
605 void texParameteri(GLenum target, GLenum pname, GLint param); | 605 void texParameteri(GLenum target, GLenum pname, GLint param); |
606 | 606 |
607 // Supported forms: | 607 // Supported forms: |
608 [RaisesException] void texImage2D( | 608 [RaisesException] void texImage2D( |
609 GLenum target, GLint level, GLenum internalformat, | 609 GLenum target, GLint level, GLenum internalformat, |
610 GLsizei width, GLsizei height, GLint border, | 610 GLsizei width, GLsizei height, GLint border, |
611 GLenum format, GLenum type, ArrayBufferView? pixels); | 611 GLenum format, GLenum type, ArrayBufferView? pixels); |
612 [RaisesException] void texImage2D( | 612 [RaisesException] void texImage2D( |
(...skipping 19 matching lines...) Expand all Loading... |
632 [RaisesException] void texSubImage2D( | 632 [RaisesException] void texSubImage2D( |
633 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 633 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
634 GLenum format, GLenum type, HTMLImageElement? image); | 634 GLenum format, GLenum type, HTMLImageElement? image); |
635 [RaisesException] void texSubImage2D( | 635 [RaisesException] void texSubImage2D( |
636 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 636 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
637 GLenum format, GLenum type, HTMLCanvasElement? canvas); | 637 GLenum format, GLenum type, HTMLCanvasElement? canvas); |
638 [RaisesException] void texSubImage2D( | 638 [RaisesException] void texSubImage2D( |
639 GLenum target, GLint level, GLint xoffset, GLint yoffset, | 639 GLenum target, GLint level, GLint xoffset, GLint yoffset, |
640 GLenum format, GLenum type, HTMLVideoElement? video); | 640 GLenum format, GLenum type, HTMLVideoElement? video); |
641 | 641 |
642 void uniform1f(WebGLUniformLocation? location, GLfloat x); | 642 [DartNoAutoScope] void uniform1f(WebGLUniformLocation? location, GLfloat x); |
643 [Custom] void uniform1fv(WebGLUniformLocation? location, Float32Array v); | 643 [Custom, DartNoAutoScope] void uniform1fv(WebGLUniformLocation? location, Fl
oat32Array v); |
644 void uniform1i(WebGLUniformLocation? location, GLint x); | 644 [DartNoAutoScope] void uniform1i(WebGLUniformLocation? location, GLint x); |
645 [Custom] void uniform1iv(WebGLUniformLocation? location, Int32Array v); | 645 [Custom, DartNoAutoScope] void uniform1iv(WebGLUniformLocation? location, In
t32Array v); |
646 void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y); | 646 [DartNoAutoScope] void uniform2f(WebGLUniformLocation? location, GLfloat x,
GLfloat y); |
647 [Custom] void uniform2fv(WebGLUniformLocation? location, Float32Array v); | 647 [Custom, DartNoAutoScope] void uniform2fv(WebGLUniformLocation? location, Fl
oat32Array v); |
648 void uniform2i(WebGLUniformLocation? location, GLint x, GLint y); | 648 [DartNoAutoScope] void uniform2i(WebGLUniformLocation? location, GLint x, GL
int y); |
649 [Custom] void uniform2iv(WebGLUniformLocation? location, Int32Array v); | 649 [Custom, DartNoAutoScope] void uniform2iv(WebGLUniformLocation? location, In
t32Array v); |
650 void uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat
z); | 650 [DartNoAutoScope] void uniform3f(WebGLUniformLocation? location, GLfloat x,
GLfloat y, GLfloat z); |
651 [Custom] void uniform3fv(WebGLUniformLocation? location, Float32Array v); | 651 [Custom, DartNoAutoScope] void uniform3fv(WebGLUniformLocation? location, Fl
oat32Array v); |
652 void uniform3i(WebGLUniformLocation? location, GLint x, GLint y, GLint z); | 652 [DartNoAutoScope] void uniform3i(WebGLUniformLocation? location, GLint x, GL
int y, GLint z); |
653 [Custom] void uniform3iv(WebGLUniformLocation? location, Int32Array v); | 653 [Custom, DartNoAutoScope] void uniform3iv(WebGLUniformLocation? location, In
t32Array v); |
654 void uniform4f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat
z, GLfloat w); | 654 [DartNoAutoScope] void uniform4f(WebGLUniformLocation? location, GLfloat x,
GLfloat y, GLfloat z, GLfloat w); |
655 [Custom] void uniform4fv(WebGLUniformLocation? location, Float32Array v); | 655 [Custom, DartNoAutoScope] void uniform4fv(WebGLUniformLocation? location, Fl
oat32Array v); |
656 void uniform4i(WebGLUniformLocation? location, GLint x, GLint y, GLint z, GL
int w); | 656 [DartNoAutoScope] void uniform4i(WebGLUniformLocation? location, GLint x, GL
int y, GLint z, GLint w); |
657 [Custom] void uniform4iv(WebGLUniformLocation? location, Int32Array v); | 657 [Custom, DartNoAutoScope] void uniform4iv(WebGLUniformLocation? location, In
t32Array v); |
658 | 658 |
659 [Custom] void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean tra
nspose, Float32Array array); | 659 [Custom, DartNoAutoScope] void uniformMatrix2fv(WebGLUniformLocation? locati
on, GLboolean transpose, Float32Array array); |
660 [Custom] void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean tra
nspose, Float32Array array); | 660 [Custom, DartNoAutoScope] void uniformMatrix3fv(WebGLUniformLocation? locati
on, GLboolean transpose, Float32Array array); |
661 [Custom] void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean tra
nspose, Float32Array array); | 661 [Custom, DartNoAutoScope] void uniformMatrix4fv(WebGLUniformLocation? locati
on, GLboolean transpose, Float32Array array); |
662 | 662 |
663 void useProgram(WebGLProgram? program); | 663 [DartNoAutoScope] void useProgram(WebGLProgram? program); |
664 void validateProgram(WebGLProgram? program); | 664 [DartNoAutoScope] void validateProgram(WebGLProgram? program); |
665 | 665 |
666 void vertexAttrib1f(GLuint indx, GLfloat x); | 666 [DartNoAutoScope] void vertexAttrib1f(GLuint indx, GLfloat x); |
667 [Custom] void vertexAttrib1fv(GLuint indx, Float32Array values); | 667 [Custom, DartNoAutoScope] void vertexAttrib1fv(GLuint indx, Float32Array val
ues); |
668 void vertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); | 668 [DartNoAutoScope] void vertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); |
669 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values); | 669 [Custom, DartNoAutoScope] void vertexAttrib2fv(GLuint indx, Float32Array val
ues); |
670 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); | 670 [DartNoAutoScope] void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLf
loat z); |
671 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values); | 671 [Custom, DartNoAutoScope] void vertexAttrib3fv(GLuint indx, Float32Array val
ues); |
672 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; | 672 [DartNoAutoScope] void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLf
loat z, GLfloat w); |
673 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values); | 673 [Custom, DartNoAutoScope] void vertexAttrib4fv(GLuint indx, Float32Array val
ues); |
674 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, | 674 [DartNoAutoScope] void vertexAttribPointer(GLuint indx, GLint size, GLenum t
ype, GLboolean normalized, |
675 GLsizei stride, GLintptr offset); | 675 GLsizei stride, GLintptr offset); |
676 | 676 |
677 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); | 677 [DartNoAutoScope] void viewport(GLint x, GLint y, GLsizei width, GLsizei hei
ght); |
678 }; | 678 }; |
OLD | NEW |