Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl

Issue 2485443002: Change WebGL API arg nullable behavior. (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 const GLenum UNPACK_FLIP_Y_WEBGL = 0x9240; 465 const GLenum UNPACK_FLIP_Y_WEBGL = 0x9240;
466 const GLenum UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; 466 const GLenum UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
467 const GLenum CONTEXT_LOST_WEBGL = 0x9242; 467 const GLenum CONTEXT_LOST_WEBGL = 0x9242;
468 const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; 468 const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
469 const GLenum BROWSER_DEFAULT_WEBGL = 0x9244; 469 const GLenum BROWSER_DEFAULT_WEBGL = 0x9244;
470 470
471 readonly attribute GLsizei drawingBufferWidth; 471 readonly attribute GLsizei drawingBufferWidth;
472 readonly attribute GLsizei drawingBufferHeight; 472 readonly attribute GLsizei drawingBufferHeight;
473 473
474 void activeTexture(GLenum texture); 474 void activeTexture(GLenum texture);
475 void attachShader(WebGLProgram? program, WebGLShader? shader); 475 void attachShader(WebGLProgram program, WebGLShader shader);
476 void bindAttribLocation(WebGLProgram? program, GLuint index, DOMString name) ; 476 void bindAttribLocation(WebGLProgram program, GLuint index, DOMString name);
477 void bindBuffer(GLenum target, WebGLBuffer? buffer); 477 void bindBuffer(GLenum target, WebGLBuffer? buffer);
478 void bindFramebuffer(GLenum target, WebGLFramebuffer? framebuffer); 478 void bindFramebuffer(GLenum target, WebGLFramebuffer? framebuffer);
479 void bindRenderbuffer(GLenum target, WebGLRenderbuffer? renderbuffer); 479 void bindRenderbuffer(GLenum target, WebGLRenderbuffer? renderbuffer);
480 void bindTexture(GLenum target, WebGLTexture? texture); 480 void bindTexture(GLenum target, WebGLTexture? texture);
481 void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) ; 481 void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) ;
482 void blendEquation(GLenum mode); 482 void blendEquation(GLenum mode);
483 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); 483 void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
484 void blendFunc(GLenum sfactor, GLenum dfactor); 484 void blendFunc(GLenum sfactor, GLenum dfactor);
485 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 485 void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
486 // FIXME: should be union type 486 // FIXME: should be union type
487 // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172 487 // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172
488 void bufferData(GLenum target, GLsizeiptr size, GLenum usage); 488 void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
489 void bufferData(GLenum target, ArrayBufferView data, GLenum usage); 489 void bufferData(GLenum target, ArrayBufferView data, GLenum usage);
490 void bufferData(GLenum target, ArrayBuffer? data, GLenum usage); 490 void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);
491 void bufferSubData(GLenum target, GLintptr offset, [FlexibleArrayBufferView] ArrayBufferView data); 491 void bufferSubData(GLenum target, GLintptr offset, [FlexibleArrayBufferView] ArrayBufferView data);
492 void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data); 492 void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer data);
493 493
494 GLenum checkFramebufferStatus(GLenum target); 494 GLenum checkFramebufferStatus(GLenum target);
495 void clear(GLbitfield mask); 495 void clear(GLbitfield mask);
496 void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) ; 496 void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) ;
497 void clearDepth(GLclampf depth); 497 void clearDepth(GLclampf depth);
498 void clearStencil(GLint s); 498 void clearStencil(GLint s);
499 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp ha); 499 void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alp ha);
500 void compileShader(WebGLShader? shader); 500 void compileShader(WebGLShader shader);
501 501
502 void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, 502 void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
503 GLsizei width, GLsizei height, GLint border, Array BufferView data); 503 GLsizei width, GLsizei height, GLint border, Array BufferView data);
504 void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLin t yoffset, 504 void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLin t yoffset,
505 GLsizei width, GLsizei height, GLenum format, A rrayBufferView data); 505 GLsizei width, GLsizei height, GLenum format, A rrayBufferView data);
506 506
507 void copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 507 void copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
508 void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoff set, GLint x, GLint y, GLsizei width, GLsizei height); 508 void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoff set, GLint x, GLint y, GLsizei width, GLsizei height);
509 509
510 WebGLBuffer createBuffer(); 510 WebGLBuffer createBuffer();
511 WebGLFramebuffer createFramebuffer(); 511 WebGLFramebuffer createFramebuffer();
512 WebGLProgram createProgram(); 512 WebGLProgram createProgram();
513 WebGLRenderbuffer createRenderbuffer(); 513 WebGLRenderbuffer createRenderbuffer();
514 WebGLShader createShader(GLenum type); 514 WebGLShader createShader(GLenum type);
515 WebGLTexture createTexture(); 515 WebGLTexture createTexture();
516 516
517 void cullFace(GLenum mode); 517 void cullFace(GLenum mode);
518 518
519 void deleteBuffer(WebGLBuffer? buffer); 519 void deleteBuffer(WebGLBuffer? buffer);
520 void deleteFramebuffer(WebGLFramebuffer? framebuffer); 520 void deleteFramebuffer(WebGLFramebuffer? framebuffer);
521 void deleteProgram(WebGLProgram? program); 521 void deleteProgram(WebGLProgram? program);
522 void deleteRenderbuffer(WebGLRenderbuffer? renderbuffer); 522 void deleteRenderbuffer(WebGLRenderbuffer? renderbuffer);
523 void deleteShader(WebGLShader? shader); 523 void deleteShader(WebGLShader? shader);
524 void deleteTexture(WebGLTexture? texture); 524 void deleteTexture(WebGLTexture? texture);
525 525
526 void depthFunc(GLenum func); 526 void depthFunc(GLenum func);
527 void depthMask(GLboolean flag); 527 void depthMask(GLboolean flag);
528 void depthRange(GLclampf zNear, GLclampf zFar); 528 void depthRange(GLclampf zNear, GLclampf zFar);
529 void detachShader(WebGLProgram? program, WebGLShader? shader); 529 void detachShader(WebGLProgram program, WebGLShader shader);
530 void disable(GLenum cap); 530 void disable(GLenum cap);
531 void disableVertexAttribArray(GLuint index); 531 void disableVertexAttribArray(GLuint index);
532 void drawArrays(GLenum mode, GLint first, GLsizei count); 532 void drawArrays(GLenum mode, GLint first, GLsizei count);
533 void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset); 533 void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset);
534 534
535 void enable(GLenum cap); 535 void enable(GLenum cap);
536 void enableVertexAttribArray(GLuint index); 536 void enableVertexAttribArray(GLuint index);
537 void finish(); 537 void finish();
538 void flush(); 538 void flush();
539 void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum render buffertarget, WebGLRenderbuffer? renderbuffer); 539 void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum render buffertarget, WebGLRenderbuffer? renderbuffer);
540 void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget , WebGLTexture? texture, GLint level); 540 void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget , WebGLTexture? texture, GLint level);
541 void frontFace(GLenum mode); 541 void frontFace(GLenum mode);
542 void generateMipmap(GLenum target); 542 void generateMipmap(GLenum target);
543 543
544 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); 544 WebGLActiveInfo getActiveAttrib(WebGLProgram program, GLuint index);
545 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); 545 WebGLActiveInfo getActiveUniform(WebGLProgram program, GLuint index);
546 546
547 sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program); 547 sequence<WebGLShader>? getAttachedShaders(WebGLProgram program);
548 548
549 GLint getAttribLocation(WebGLProgram? program, DOMString name); 549 GLint getAttribLocation(WebGLProgram program, DOMString name);
550 550
551 [CallWith=ScriptState] any getBufferParameter(GLenum target, GLenum pname); 551 [CallWith=ScriptState] any getBufferParameter(GLenum target, GLenum pname);
552 552
553 WebGLContextAttributes? getContextAttributes(); 553 WebGLContextAttributes? getContextAttributes();
554 554
555 GLenum getError(); 555 GLenum getError();
556 556
557 [CallWith=ScriptState] object? getExtension(DOMString name); 557 [CallWith=ScriptState] object? getExtension(DOMString name);
558 558
559 [CallWith=ScriptState] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname); 559 [CallWith=ScriptState] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname);
560 [CallWith=ScriptState] any getParameter(GLenum pname); 560 [CallWith=ScriptState] any getParameter(GLenum pname);
561 [CallWith=ScriptState] any getProgramParameter(WebGLProgram? program, GLenum pname); 561 [CallWith=ScriptState] any getProgramParameter(WebGLProgram program, GLenum pname);
562 DOMString? getProgramInfoLog(WebGLProgram? program); 562 DOMString? getProgramInfoLog(WebGLProgram program);
563 [CallWith=ScriptState] any getRenderbufferParameter(GLenum target, GLenum pn ame); 563 [CallWith=ScriptState] any getRenderbufferParameter(GLenum target, GLenum pn ame);
564 [CallWith=ScriptState] any getShaderParameter(WebGLShader? shader, GLenum pn ame); 564 [CallWith=ScriptState] any getShaderParameter(WebGLShader shader, GLenum pna me);
565 565
566 DOMString? getShaderInfoLog(WebGLShader? shader); 566 DOMString? getShaderInfoLog(WebGLShader shader);
567 567
568 WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenu m precisiontype); 568 WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenu m precisiontype);
569 569
570 DOMString? getShaderSource(WebGLShader? shader); 570 DOMString? getShaderSource(WebGLShader shader);
571 571
572 sequence<DOMString>? getSupportedExtensions(); 572 sequence<DOMString>? getSupportedExtensions();
573 573
574 [CallWith=ScriptState] any getTexParameter(GLenum target, GLenum pname); 574 [CallWith=ScriptState] any getTexParameter(GLenum target, GLenum pname);
575 575
576 [CallWith=ScriptState] any getUniform(WebGLProgram? program, WebGLUniformLoc ation? location); 576 [CallWith=ScriptState] any getUniform(WebGLProgram program, WebGLUniformLoca tion location);
577 577
578 WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString nam e); 578 WebGLUniformLocation getUniformLocation(WebGLProgram program, DOMString name );
579 579
580 [CallWith=ScriptState] any getVertexAttrib(GLuint index, GLenum pname); 580 [CallWith=ScriptState] any getVertexAttrib(GLuint index, GLenum pname);
581 581
582 GLintptr getVertexAttribOffset(GLuint index, GLenum pname); 582 GLintptr getVertexAttribOffset(GLuint index, GLenum pname);
583 583
584 void hint(GLenum target, GLenum mode); 584 void hint(GLenum target, GLenum mode);
585 GLboolean isBuffer(WebGLBuffer? buffer); 585 GLboolean isBuffer(WebGLBuffer? buffer);
586 GLboolean isContextLost(); 586 GLboolean isContextLost();
587 GLboolean isEnabled(GLenum cap); 587 GLboolean isEnabled(GLenum cap);
588 GLboolean isFramebuffer(WebGLFramebuffer? framebuffer); 588 GLboolean isFramebuffer(WebGLFramebuffer? framebuffer);
589 GLboolean isProgram(WebGLProgram? program); 589 GLboolean isProgram(WebGLProgram? program);
590 GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer); 590 GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer);
591 GLboolean isShader(WebGLShader? shader); 591 GLboolean isShader(WebGLShader? shader);
592 GLboolean isTexture(WebGLTexture? texture); 592 GLboolean isTexture(WebGLTexture? texture);
593 void lineWidth(GLfloat width); 593 void lineWidth(GLfloat width);
594 void linkProgram(WebGLProgram? program); 594 void linkProgram(WebGLProgram program);
595 void pixelStorei(GLenum pname, GLint param); 595 void pixelStorei(GLenum pname, GLint param);
596 void polygonOffset(GLfloat factor, GLfloat units); 596 void polygonOffset(GLfloat factor, GLfloat units);
597 597
598 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView? pixels); 598 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView? pixels);
599 599
600 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width , GLsizei height); 600 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width , GLsizei height);
601 void sampleCoverage(GLclampf value, GLboolean invert); 601 void sampleCoverage(GLclampf value, GLboolean invert);
602 void scissor(GLint x, GLint y, GLsizei width, GLsizei height); 602 void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
603 void shaderSource(WebGLShader? shader, DOMString string); 603 void shaderSource(WebGLShader shader, DOMString string);
604 void stencilFunc(GLenum func, GLint ref, GLuint mask); 604 void stencilFunc(GLenum func, GLint ref, GLuint mask);
605 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); 605 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
606 void stencilMask(GLuint mask); 606 void stencilMask(GLuint mask);
607 void stencilMaskSeparate(GLenum face, GLuint mask); 607 void stencilMaskSeparate(GLenum face, GLuint mask);
608 void stencilOp(GLenum fail, GLenum zfail, GLenum zpass); 608 void stencilOp(GLenum fail, GLenum zfail, GLenum zpass);
609 void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) ; 609 void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) ;
610 610
611 void texParameterf(GLenum target, GLenum pname, GLfloat param); 611 void texParameterf(GLenum target, GLenum pname, GLfloat param);
612 void texParameteri(GLenum target, GLenum pname, GLint param); 612 void texParameteri(GLenum target, GLenum pname, GLint param);
613 613
614 // Supported forms: 614 // Supported forms:
615 // FIXME: should be union type 615 // FIXME: should be union type
616 // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172 616 // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172
617 void texImage2D( 617 void texImage2D(
618 GLenum target, GLint level, GLint internalformat, 618 GLenum target, GLint level, GLint internalformat,
619 GLsizei width, GLsizei height, GLint border, 619 GLsizei width, GLsizei height, GLint border,
620 GLenum format, GLenum type, ArrayBufferView? pixels); 620 GLenum format, GLenum type, ArrayBufferView? pixels);
621 void texImage2D( 621 void texImage2D(
622 GLenum target, GLint level, GLint internalformat, 622 GLenum target, GLint level, GLint internalformat,
623 GLenum format, GLenum type, ImageData? pixels); 623 GLenum format, GLenum type, ImageData pixels);
624 [RaisesException] void texImage2D( 624 [RaisesException] void texImage2D(
625 GLenum target, GLint level, GLint internalformat, 625 GLenum target, GLint level, GLint internalformat,
626 GLenum format, GLenum type, HTMLImageElement image); 626 GLenum format, GLenum type, HTMLImageElement image);
627 [RaisesException] void texImage2D( 627 [RaisesException] void texImage2D(
628 GLenum target, GLint level, GLint internalformat, 628 GLenum target, GLint level, GLint internalformat,
629 GLenum format, GLenum type, HTMLCanvasElement canvas); 629 GLenum format, GLenum type, HTMLCanvasElement canvas);
630 [RaisesException] void texImage2D( 630 [RaisesException] void texImage2D(
631 GLenum target, GLint level, GLint internalformat, 631 GLenum target, GLint level, GLint internalformat,
632 GLenum format, GLenum type, HTMLVideoElement video); 632 GLenum format, GLenum type, HTMLVideoElement video);
633 [RaisesException] void texImage2D( 633 [RaisesException] void texImage2D(
634 GLenum target, GLint level, GLint internalformat, 634 GLenum target, GLint level, GLint internalformat,
635 GLenum format, GLenum type, ImageBitmap bitmap); 635 GLenum format, GLenum type, ImageBitmap bitmap);
636 636
637 void texSubImage2D( 637 void texSubImage2D(
638 GLenum target, GLint level, GLint xoffset, GLint yoffset, 638 GLenum target, GLint level, GLint xoffset, GLint yoffset,
639 GLsizei width, GLsizei height, 639 GLsizei width, GLsizei height,
640 GLenum format, GLenum type, ArrayBufferView? pixels); 640 GLenum format, GLenum type, ArrayBufferView? pixels);
641 void texSubImage2D( 641 void texSubImage2D(
642 GLenum target, GLint level, GLint xoffset, GLint yoffset, 642 GLenum target, GLint level, GLint xoffset, GLint yoffset,
643 GLenum format, GLenum type, ImageData? pixels); 643 GLenum format, GLenum type, ImageData pixels);
644 [RaisesException] void texSubImage2D( 644 [RaisesException] void texSubImage2D(
645 GLenum target, GLint level, GLint xoffset, GLint yoffset, 645 GLenum target, GLint level, GLint xoffset, GLint yoffset,
646 GLenum format, GLenum type, HTMLImageElement image); 646 GLenum format, GLenum type, HTMLImageElement image);
647 [RaisesException] void texSubImage2D( 647 [RaisesException] void texSubImage2D(
648 GLenum target, GLint level, GLint xoffset, GLint yoffset, 648 GLenum target, GLint level, GLint xoffset, GLint yoffset,
649 GLenum format, GLenum type, HTMLCanvasElement canvas); 649 GLenum format, GLenum type, HTMLCanvasElement canvas);
650 [RaisesException] void texSubImage2D( 650 [RaisesException] void texSubImage2D(
651 GLenum target, GLint level, GLint xoffset, GLint yoffset, 651 GLenum target, GLint level, GLint xoffset, GLint yoffset,
652 GLenum format, GLenum type, HTMLVideoElement video); 652 GLenum format, GLenum type, HTMLVideoElement video);
653 [RaisesException] void texSubImage2D( 653 [RaisesException] void texSubImage2D(
(...skipping 26 matching lines...) Expand all
680 void uniform4iv(WebGLUniformLocation? location, sequence<GLint> v); 680 void uniform4iv(WebGLUniformLocation? location, sequence<GLint> v);
681 681
682 void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, F loat32Array array); 682 void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, F loat32Array array);
683 void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, s equence<GLfloat> array); 683 void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, s equence<GLfloat> array);
684 void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, F loat32Array array); 684 void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, F loat32Array array);
685 void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, s equence<GLfloat> array); 685 void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, s equence<GLfloat> array);
686 void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, F loat32Array array); 686 void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, F loat32Array array);
687 void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, s equence<GLfloat> array); 687 void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, s equence<GLfloat> array);
688 688
689 void useProgram(WebGLProgram? program); 689 void useProgram(WebGLProgram? program);
690 void validateProgram(WebGLProgram? program); 690 void validateProgram(WebGLProgram program);
691 691
692 void vertexAttrib1f(GLuint indx, GLfloat x); 692 void vertexAttrib1f(GLuint indx, GLfloat x);
693 void vertexAttrib1fv(GLuint indx, Float32Array values); 693 void vertexAttrib1fv(GLuint indx, Float32Array values);
694 void vertexAttrib1fv(GLuint indx, sequence<GLfloat> values); 694 void vertexAttrib1fv(GLuint indx, sequence<GLfloat> values);
695 void vertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); 695 void vertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
696 void vertexAttrib2fv(GLuint indx, Float32Array values); 696 void vertexAttrib2fv(GLuint indx, Float32Array values);
697 void vertexAttrib2fv(GLuint indx, sequence<GLfloat> values); 697 void vertexAttrib2fv(GLuint indx, sequence<GLfloat> values);
698 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); 698 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
699 void vertexAttrib3fv(GLuint indx, Float32Array values); 699 void vertexAttrib3fv(GLuint indx, Float32Array values);
700 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); 700 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values);
701 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; 701 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ;
702 void vertexAttrib4fv(GLuint indx, Float32Array values); 702 void vertexAttrib4fv(GLuint indx, Float32Array values);
703 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); 703 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values);
704 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, 704 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized,
705 GLsizei stride, GLintptr off set); 705 GLsizei stride, GLintptr off set);
706 706
707 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); 707 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
708 708
709 [RuntimeEnabled=ExperimentalCanvasFeatures, CallWith=ScriptState, RaisesExce ption] void commit(); 709 [RuntimeEnabled=ExperimentalCanvasFeatures, CallWith=ScriptState, RaisesExce ption] void commit();
710 }; 710 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698