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

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

Issue 8769030: Fix WebGL operations for dartc and frog. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi ngContext" { 2 class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi ngContext" {
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;
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 void generateMipmap(int target) native; 704 void generateMipmap(int target) native;
705 705
706 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native; 706 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native;
707 707
708 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native; 708 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native;
709 709
710 void getAttachedShaders(WebGLProgram program) native; 710 void getAttachedShaders(WebGLProgram program) native;
711 711
712 int getAttribLocation(WebGLProgram program, String name) native; 712 int getAttribLocation(WebGLProgram program, String name) native;
713 713
714 void getBufferParameter() native; 714 Object getBufferParameter(int target, int pname) native;
715 715
716 WebGLContextAttributes getContextAttributes() native; 716 WebGLContextAttributes getContextAttributes() native;
717 717
718 int getError() native; 718 int getError() native;
719 719
720 void getExtension(String name) native; 720 Object getExtension(String name) native;
721 721
722 void getFramebufferAttachmentParameter() native; 722 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
723 723
724 void getParameter() native; 724 Object getParameter(int pname) native;
725 725
726 String getProgramInfoLog(WebGLProgram program) native; 726 String getProgramInfoLog(WebGLProgram program) native;
727 727
728 void getProgramParameter() native; 728 Object getProgramParameter(WebGLProgram program, int pname) native;
729 729
730 void getRenderbufferParameter() native; 730 Object getRenderbufferParameter(int target, int pname) native;
731 731
732 String getShaderInfoLog(WebGLShader shader) native; 732 String getShaderInfoLog(WebGLShader shader) native;
733 733
734 void getShaderParameter() native; 734 Object getShaderParameter(WebGLShader shader, int pname) native;
735 735
736 String getShaderSource(WebGLShader shader) native; 736 String getShaderSource(WebGLShader shader) native;
737 737
738 void getSupportedExtensions() native; 738 Object getTexParameter(int target, int pname) native;
739 739
740 void getTexParameter() native; 740 Object getUniform(WebGLProgram program, WebGLUniformLocation location) native;
741
742 void getUniform() native;
743 741
744 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat ive; 742 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat ive;
745 743
746 void getVertexAttrib() native; 744 Object getVertexAttrib(int index, int pname) native;
747 745
748 int getVertexAttribOffset(int index, int pname) native; 746 int getVertexAttribOffset(int index, int pname) native;
749 747
750 void hint(int target, int mode) native; 748 void hint(int target, int mode) native;
751 749
752 bool isBuffer(WebGLBuffer buffer) native; 750 bool isBuffer(WebGLBuffer buffer) native;
753 751
754 bool isContextLost() native; 752 bool isContextLost() native;
755 753
756 bool isEnabled(int cap) native; 754 bool isEnabled(int cap) native;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 void vertexAttrib3fv(int indx, Float32Array values) native; 858 void vertexAttrib3fv(int indx, Float32Array values) native;
861 859
862 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; 860 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
863 861
864 void vertexAttrib4fv(int indx, Float32Array values) native; 862 void vertexAttrib4fv(int indx, Float32Array values) native;
865 863
866 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native; 864 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
867 865
868 void viewport(int x, int y, int width, int height) native; 866 void viewport(int x, int y, int width, int height) native;
869 } 867 }
OLDNEW
« no previous file with comments | « client/dom/generated/monkey_dom_externs.js ('k') | client/dom/generated/src/interface/WebGLRenderingContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698