OLD | NEW |
1 | 1 |
2 class WebGLRenderingContextJs extends CanvasRenderingContextJs implements WebGLR
enderingContext native "*WebGLRenderingContext" { | 2 class WebGLRenderingContextJs extends CanvasRenderingContextJs implements WebGLR
enderingContext 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; |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; |
| 645 |
| 646 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferViewJs data) native; |
| 647 |
644 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; |
645 | 649 |
646 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; |
647 | 651 |
648 WebGLBufferJs createBuffer() native; | 652 WebGLBufferJs createBuffer() native; |
649 | 653 |
650 WebGLFramebufferJs createFramebuffer() native; | 654 WebGLFramebufferJs createFramebuffer() native; |
651 | 655 |
652 WebGLProgramJs createProgram() native; | 656 WebGLProgramJs createProgram() native; |
653 | 657 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 void vertexAttrib3fv(int indx, Float32ArrayJs values) native; | 862 void vertexAttrib3fv(int indx, Float32ArrayJs values) native; |
859 | 863 |
860 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; |
861 | 865 |
862 void vertexAttrib4fv(int indx, Float32ArrayJs values) native; | 866 void vertexAttrib4fv(int indx, Float32ArrayJs values) native; |
863 | 867 |
864 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; |
865 | 869 |
866 void viewport(int x, int y, int width, int height) native; | 870 void viewport(int x, int y, int width, int height) native; |
867 } | 871 } |
OLD | NEW |