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

Side by Side Diff: client/dom/generated/src/frog/WebGLRenderingContext.dart

Issue 9317046: Make dart:dom implementation types private so they don't muddle the docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months 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 | Annotate | Revision Log
OLDNEW
1 1
2 class WebGLRenderingContextJs extends CanvasRenderingContextJs implements WebGLR enderingContext native "*WebGLRenderingContext" { 2 class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG LRenderingContext native "*WebGLRenderingContext" {
3 3
4 static final int ACTIVE_ATTRIBUTES = 0x8B89; 4 static final int ACTIVE_ATTRIBUTES = 0x8B89;
5 5
6 static final int ACTIVE_TEXTURE = 0x84E0; 6 static final int ACTIVE_TEXTURE = 0x84E0;
7 7
8 static final int ACTIVE_UNIFORMS = 0x8B86; 8 static final int ACTIVE_UNIFORMS = 0x8B86;
9 9
10 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E; 10 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
11 11
12 static final int ALIASED_POINT_SIZE_RANGE = 0x846D; 12 static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 static final int VIEWPORT = 0x0BA2; 594 static final int VIEWPORT = 0x0BA2;
595 595
596 static final int ZERO = 0; 596 static final int ZERO = 0;
597 597
598 int get drawingBufferHeight() native "return this.drawingBufferHeight;"; 598 int get drawingBufferHeight() native "return this.drawingBufferHeight;";
599 599
600 int get drawingBufferWidth() native "return this.drawingBufferWidth;"; 600 int get drawingBufferWidth() native "return this.drawingBufferWidth;";
601 601
602 void activeTexture(int texture) native; 602 void activeTexture(int texture) native;
603 603
604 void attachShader(WebGLProgramJs program, WebGLShaderJs shader) native; 604 void attachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native;
605 605
606 void bindAttribLocation(WebGLProgramJs program, int index, String name) native ; 606 void bindAttribLocation(_WebGLProgramJs program, int index, String name) nativ e;
607 607
608 void bindBuffer(int target, WebGLBufferJs buffer) native; 608 void bindBuffer(int target, _WebGLBufferJs buffer) native;
609 609
610 void bindFramebuffer(int target, WebGLFramebufferJs framebuffer) native; 610 void bindFramebuffer(int target, _WebGLFramebufferJs framebuffer) native;
611 611
612 void bindRenderbuffer(int target, WebGLRenderbufferJs renderbuffer) native; 612 void bindRenderbuffer(int target, _WebGLRenderbufferJs renderbuffer) native;
613 613
614 void bindTexture(int target, WebGLTextureJs texture) native; 614 void bindTexture(int target, _WebGLTextureJs texture) native;
615 615
616 void blendColor(num red, num green, num blue, num alpha) native; 616 void blendColor(num red, num green, num blue, num alpha) native;
617 617
618 void blendEquation(int mode) native; 618 void blendEquation(int mode) native;
619 619
620 void blendEquationSeparate(int modeRGB, int modeAlpha) native; 620 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
621 621
622 void blendFunc(int sfactor, int dfactor) native; 622 void blendFunc(int sfactor, int dfactor) native;
623 623
624 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive; 624 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
625 625
626 void bufferData(int target, var data_OR_size, int usage) native; 626 void bufferData(int target, var data_OR_size, int usage) native;
627 627
628 void bufferSubData(int target, int offset, var data) native; 628 void bufferSubData(int target, int offset, var data) native;
629 629
630 int checkFramebufferStatus(int target) native; 630 int checkFramebufferStatus(int target) native;
631 631
632 void clear(int mask) native; 632 void clear(int mask) native;
633 633
634 void clearColor(num red, num green, num blue, num alpha) native; 634 void clearColor(num red, num green, num blue, num alpha) native;
635 635
636 void clearDepth(num depth) native; 636 void clearDepth(num depth) native;
637 637
638 void clearStencil(int s) native; 638 void clearStencil(int s) native;
639 639
640 void colorMask(bool red, bool green, bool blue, bool alpha) native; 640 void colorMask(bool red, bool green, bool blue, bool alpha) native;
641 641
642 void compileShader(WebGLShaderJs shader) native; 642 void compileShader(_WebGLShaderJs shader) native;
643 643
644 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, ArrayBufferViewJs data) native; 644 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, _ArrayBufferViewJs data) native;
645 645
646 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferViewJs data) native; 646 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewJs data) native;
647 647
648 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native; 648 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
649 649
650 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native; 650 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
651 651
652 WebGLBufferJs createBuffer() native; 652 _WebGLBufferJs createBuffer() native;
653 653
654 WebGLFramebufferJs createFramebuffer() native; 654 _WebGLFramebufferJs createFramebuffer() native;
655 655
656 WebGLProgramJs createProgram() native; 656 _WebGLProgramJs createProgram() native;
657 657
658 WebGLRenderbufferJs createRenderbuffer() native; 658 _WebGLRenderbufferJs createRenderbuffer() native;
659 659
660 WebGLShaderJs createShader(int type) native; 660 _WebGLShaderJs createShader(int type) native;
661 661
662 WebGLTextureJs createTexture() native; 662 _WebGLTextureJs createTexture() native;
663 663
664 void cullFace(int mode) native; 664 void cullFace(int mode) native;
665 665
666 void deleteBuffer(WebGLBufferJs buffer) native; 666 void deleteBuffer(_WebGLBufferJs buffer) native;
667 667
668 void deleteFramebuffer(WebGLFramebufferJs framebuffer) native; 668 void deleteFramebuffer(_WebGLFramebufferJs framebuffer) native;
669 669
670 void deleteProgram(WebGLProgramJs program) native; 670 void deleteProgram(_WebGLProgramJs program) native;
671 671
672 void deleteRenderbuffer(WebGLRenderbufferJs renderbuffer) native; 672 void deleteRenderbuffer(_WebGLRenderbufferJs renderbuffer) native;
673 673
674 void deleteShader(WebGLShaderJs shader) native; 674 void deleteShader(_WebGLShaderJs shader) native;
675 675
676 void deleteTexture(WebGLTextureJs texture) native; 676 void deleteTexture(_WebGLTextureJs texture) native;
677 677
678 void depthFunc(int func) native; 678 void depthFunc(int func) native;
679 679
680 void depthMask(bool flag) native; 680 void depthMask(bool flag) native;
681 681
682 void depthRange(num zNear, num zFar) native; 682 void depthRange(num zNear, num zFar) native;
683 683
684 void detachShader(WebGLProgramJs program, WebGLShaderJs shader) native; 684 void detachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native;
685 685
686 void disable(int cap) native; 686 void disable(int cap) native;
687 687
688 void disableVertexAttribArray(int index) native; 688 void disableVertexAttribArray(int index) native;
689 689
690 void drawArrays(int mode, int first, int count) native; 690 void drawArrays(int mode, int first, int count) native;
691 691
692 void drawElements(int mode, int count, int type, int offset) native; 692 void drawElements(int mode, int count, int type, int offset) native;
693 693
694 void enable(int cap) native; 694 void enable(int cap) native;
695 695
696 void enableVertexAttribArray(int index) native; 696 void enableVertexAttribArray(int index) native;
697 697
698 void finish() native; 698 void finish() native;
699 699
700 void flush() native; 700 void flush() native;
701 701
702 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, WebGLRenderbufferJs renderbuffer) native; 702 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, _WebGLRenderbufferJs renderbuffer) native;
703 703
704 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText ureJs texture, int level) native; 704 void framebufferTexture2D(int target, int attachment, int textarget, _WebGLTex tureJs texture, int level) native;
705 705
706 void frontFace(int mode) native; 706 void frontFace(int mode) native;
707 707
708 void generateMipmap(int target) native; 708 void generateMipmap(int target) native;
709 709
710 WebGLActiveInfoJs getActiveAttrib(WebGLProgramJs program, int index) native; 710 _WebGLActiveInfoJs getActiveAttrib(_WebGLProgramJs program, int index) native;
711 711
712 WebGLActiveInfoJs getActiveUniform(WebGLProgramJs program, int index) native; 712 _WebGLActiveInfoJs getActiveUniform(_WebGLProgramJs program, int index) native ;
713 713
714 List getAttachedShaders(WebGLProgramJs program) native; 714 List getAttachedShaders(_WebGLProgramJs program) native;
715 715
716 int getAttribLocation(WebGLProgramJs program, String name) native; 716 int getAttribLocation(_WebGLProgramJs program, String name) native;
717 717
718 Object getBufferParameter(int target, int pname) native; 718 Object getBufferParameter(int target, int pname) native;
719 719
720 WebGLContextAttributesJs getContextAttributes() native; 720 _WebGLContextAttributesJs getContextAttributes() native;
721 721
722 int getError() native; 722 int getError() native;
723 723
724 Object getExtension(String name) native; 724 Object getExtension(String name) native;
725 725
726 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native; 726 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
727 727
728 Object getParameter(int pname) native; 728 Object getParameter(int pname) native;
729 729
730 String getProgramInfoLog(WebGLProgramJs program) native; 730 String getProgramInfoLog(_WebGLProgramJs program) native;
731 731
732 Object getProgramParameter(WebGLProgramJs program, int pname) native; 732 Object getProgramParameter(_WebGLProgramJs program, int pname) native;
733 733
734 Object getRenderbufferParameter(int target, int pname) native; 734 Object getRenderbufferParameter(int target, int pname) native;
735 735
736 String getShaderInfoLog(WebGLShaderJs shader) native; 736 String getShaderInfoLog(_WebGLShaderJs shader) native;
737 737
738 Object getShaderParameter(WebGLShaderJs shader, int pname) native; 738 Object getShaderParameter(_WebGLShaderJs shader, int pname) native;
739 739
740 String getShaderSource(WebGLShaderJs shader) native; 740 String getShaderSource(_WebGLShaderJs shader) native;
741 741
742 Object getTexParameter(int target, int pname) native; 742 Object getTexParameter(int target, int pname) native;
743 743
744 Object getUniform(WebGLProgramJs program, WebGLUniformLocationJs location) nat ive; 744 Object getUniform(_WebGLProgramJs program, _WebGLUniformLocationJs location) n ative;
745 745
746 WebGLUniformLocationJs getUniformLocation(WebGLProgramJs program, String name) native; 746 _WebGLUniformLocationJs getUniformLocation(_WebGLProgramJs program, String nam e) native;
747 747
748 Object getVertexAttrib(int index, int pname) native; 748 Object getVertexAttrib(int index, int pname) native;
749 749
750 int getVertexAttribOffset(int index, int pname) native; 750 int getVertexAttribOffset(int index, int pname) native;
751 751
752 void hint(int target, int mode) native; 752 void hint(int target, int mode) native;
753 753
754 bool isBuffer(WebGLBufferJs buffer) native; 754 bool isBuffer(_WebGLBufferJs buffer) native;
755 755
756 bool isContextLost() native; 756 bool isContextLost() native;
757 757
758 bool isEnabled(int cap) native; 758 bool isEnabled(int cap) native;
759 759
760 bool isFramebuffer(WebGLFramebufferJs framebuffer) native; 760 bool isFramebuffer(_WebGLFramebufferJs framebuffer) native;
761 761
762 bool isProgram(WebGLProgramJs program) native; 762 bool isProgram(_WebGLProgramJs program) native;
763 763
764 bool isRenderbuffer(WebGLRenderbufferJs renderbuffer) native; 764 bool isRenderbuffer(_WebGLRenderbufferJs renderbuffer) native;
765 765
766 bool isShader(WebGLShaderJs shader) native; 766 bool isShader(_WebGLShaderJs shader) native;
767 767
768 bool isTexture(WebGLTextureJs texture) native; 768 bool isTexture(_WebGLTextureJs texture) native;
769 769
770 void lineWidth(num width) native; 770 void lineWidth(num width) native;
771 771
772 void linkProgram(WebGLProgramJs program) native; 772 void linkProgram(_WebGLProgramJs program) native;
773 773
774 void pixelStorei(int pname, int param) native; 774 void pixelStorei(int pname, int param) native;
775 775
776 void polygonOffset(num factor, num units) native; 776 void polygonOffset(num factor, num units) native;
777 777
778 void readPixels(int x, int y, int width, int height, int format, int type, Arr ayBufferViewJs pixels) native; 778 void readPixels(int x, int y, int width, int height, int format, int type, _Ar rayBufferViewJs pixels) native;
779 779
780 void releaseShaderCompiler() native; 780 void releaseShaderCompiler() native;
781 781
782 void renderbufferStorage(int target, int internalformat, int width, int height ) native; 782 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
783 783
784 void sampleCoverage(num value, bool invert) native; 784 void sampleCoverage(num value, bool invert) native;
785 785
786 void scissor(int x, int y, int width, int height) native; 786 void scissor(int x, int y, int width, int height) native;
787 787
788 void shaderSource(WebGLShaderJs shader, String string) native; 788 void shaderSource(_WebGLShaderJs shader, String string) native;
789 789
790 void stencilFunc(int func, int ref, int mask) native; 790 void stencilFunc(int func, int ref, int mask) native;
791 791
792 void stencilFuncSeparate(int face, int func, int ref, int mask) native; 792 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
793 793
794 void stencilMask(int mask) native; 794 void stencilMask(int mask) native;
795 795
796 void stencilMaskSeparate(int face, int mask) native; 796 void stencilMaskSeparate(int face, int mask) native;
797 797
798 void stencilOp(int fail, int zfail, int zpass) native; 798 void stencilOp(int fail, int zfail, int zpass) native;
799 799
800 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; 800 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
801 801
802 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for mat = null, int type = null, ArrayBufferViewJs pixels = null]) native; 802 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for mat = null, int type = null, _ArrayBufferViewJs pixels = null]) native;
803 803
804 void texParameterf(int target, int pname, num param) native; 804 void texParameterf(int target, int pname, num param) native;
805 805
806 void texParameteri(int target, int pname, int param) native; 806 void texParameteri(int target, int pname, int param) native;
807 807
808 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video, [int type = null, ArrayBufferViewJs pixels = null]) native; 808 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video, [int type = null, _ArrayBufferViewJs pixels = null]) native;
809 809
810 void uniform1f(WebGLUniformLocationJs location, num x) native; 810 void uniform1f(_WebGLUniformLocationJs location, num x) native;
811 811
812 void uniform1fv(WebGLUniformLocationJs location, Float32ArrayJs v) native; 812 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
813 813
814 void uniform1i(WebGLUniformLocationJs location, int x) native; 814 void uniform1i(_WebGLUniformLocationJs location, int x) native;
815 815
816 void uniform1iv(WebGLUniformLocationJs location, Int32ArrayJs v) native; 816 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
817 817
818 void uniform2f(WebGLUniformLocationJs location, num x, num y) native; 818 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native;
819 819
820 void uniform2fv(WebGLUniformLocationJs location, Float32ArrayJs v) native; 820 void uniform2fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
821 821
822 void uniform2i(WebGLUniformLocationJs location, int x, int y) native; 822 void uniform2i(_WebGLUniformLocationJs location, int x, int y) native;
823 823
824 void uniform2iv(WebGLUniformLocationJs location, Int32ArrayJs v) native; 824 void uniform2iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
825 825
826 void uniform3f(WebGLUniformLocationJs location, num x, num y, num z) native; 826 void uniform3f(_WebGLUniformLocationJs location, num x, num y, num z) native;
827 827
828 void uniform3fv(WebGLUniformLocationJs location, Float32ArrayJs v) native; 828 void uniform3fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
829 829
830 void uniform3i(WebGLUniformLocationJs location, int x, int y, int z) native; 830 void uniform3i(_WebGLUniformLocationJs location, int x, int y, int z) native;
831 831
832 void uniform3iv(WebGLUniformLocationJs location, Int32ArrayJs v) native; 832 void uniform3iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
833 833
834 void uniform4f(WebGLUniformLocationJs location, num x, num y, num z, num w) na tive; 834 void uniform4f(_WebGLUniformLocationJs location, num x, num y, num z, num w) n ative;
835 835
836 void uniform4fv(WebGLUniformLocationJs location, Float32ArrayJs v) native; 836 void uniform4fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
837 837
838 void uniform4i(WebGLUniformLocationJs location, int x, int y, int z, int w) na tive; 838 void uniform4i(_WebGLUniformLocationJs location, int x, int y, int z, int w) n ative;
839 839
840 void uniform4iv(WebGLUniformLocationJs location, Int32ArrayJs v) native; 840 void uniform4iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
841 841
842 void uniformMatrix2fv(WebGLUniformLocationJs location, bool transpose, Float32 ArrayJs array) native; 842 void uniformMatrix2fv(_WebGLUniformLocationJs location, bool transpose, _Float 32ArrayJs array) native;
843 843
844 void uniformMatrix3fv(WebGLUniformLocationJs location, bool transpose, Float32 ArrayJs array) native; 844 void uniformMatrix3fv(_WebGLUniformLocationJs location, bool transpose, _Float 32ArrayJs array) native;
845 845
846 void uniformMatrix4fv(WebGLUniformLocationJs location, bool transpose, Float32 ArrayJs array) native; 846 void uniformMatrix4fv(_WebGLUniformLocationJs location, bool transpose, _Float 32ArrayJs array) native;
847 847
848 void useProgram(WebGLProgramJs program) native; 848 void useProgram(_WebGLProgramJs program) native;
849 849
850 void validateProgram(WebGLProgramJs program) native; 850 void validateProgram(_WebGLProgramJs program) native;
851 851
852 void vertexAttrib1f(int indx, num x) native; 852 void vertexAttrib1f(int indx, num x) native;
853 853
854 void vertexAttrib1fv(int indx, Float32ArrayJs values) native; 854 void vertexAttrib1fv(int indx, _Float32ArrayJs values) native;
855 855
856 void vertexAttrib2f(int indx, num x, num y) native; 856 void vertexAttrib2f(int indx, num x, num y) native;
857 857
858 void vertexAttrib2fv(int indx, Float32ArrayJs values) native; 858 void vertexAttrib2fv(int indx, _Float32ArrayJs values) native;
859 859
860 void vertexAttrib3f(int indx, num x, num y, num z) native; 860 void vertexAttrib3f(int indx, num x, num y, num z) native;
861 861
862 void vertexAttrib3fv(int indx, Float32ArrayJs values) native; 862 void vertexAttrib3fv(int indx, _Float32ArrayJs values) native;
863 863
864 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; 864 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
865 865
866 void vertexAttrib4fv(int indx, Float32ArrayJs values) native; 866 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native;
867 867
868 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native; 868 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
869 869
870 void viewport(int x, int y, int width, int height) native; 870 void viewport(int x, int y, int width, int height) native;
871 } 871 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/WebGLRenderbuffer.dart ('k') | client/dom/generated/src/frog/WebGLShader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698