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

Unified Diff: client/html/generated/html/frog/WebGLRenderingContext.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/frog/WebGLRenderingContext.dart
diff --git a/client/html/generated/html/frog/WebGLRenderingContext.dart b/client/html/generated/html/frog/WebGLRenderingContext.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ea4a51dd3549246b83d88bd2d41e299692de23e1
--- /dev/null
+++ b/client/html/generated/html/frog/WebGLRenderingContext.dart
@@ -0,0 +1,869 @@
+
+class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements WebGLRenderingContext native "*WebGLRenderingContext" {
+
+ static final int ACTIVE_ATTRIBUTES = 0x8B89;
+
+ static final int ACTIVE_TEXTURE = 0x84E0;
+
+ static final int ACTIVE_UNIFORMS = 0x8B86;
+
+ static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
+
+ static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
+
+ static final int ALPHA = 0x1906;
+
+ static final int ALPHA_BITS = 0x0D55;
+
+ static final int ALWAYS = 0x0207;
+
+ static final int ARRAY_BUFFER = 0x8892;
+
+ static final int ARRAY_BUFFER_BINDING = 0x8894;
+
+ static final int ATTACHED_SHADERS = 0x8B85;
+
+ static final int BACK = 0x0405;
+
+ static final int BLEND = 0x0BE2;
+
+ static final int BLEND_COLOR = 0x8005;
+
+ static final int BLEND_DST_ALPHA = 0x80CA;
+
+ static final int BLEND_DST_RGB = 0x80C8;
+
+ static final int BLEND_EQUATION = 0x8009;
+
+ static final int BLEND_EQUATION_ALPHA = 0x883D;
+
+ static final int BLEND_EQUATION_RGB = 0x8009;
+
+ static final int BLEND_SRC_ALPHA = 0x80CB;
+
+ static final int BLEND_SRC_RGB = 0x80C9;
+
+ static final int BLUE_BITS = 0x0D54;
+
+ static final int BOOL = 0x8B56;
+
+ static final int BOOL_VEC2 = 0x8B57;
+
+ static final int BOOL_VEC3 = 0x8B58;
+
+ static final int BOOL_VEC4 = 0x8B59;
+
+ static final int BROWSER_DEFAULT_WEBGL = 0x9244;
+
+ static final int BUFFER_SIZE = 0x8764;
+
+ static final int BUFFER_USAGE = 0x8765;
+
+ static final int BYTE = 0x1400;
+
+ static final int CCW = 0x0901;
+
+ static final int CLAMP_TO_EDGE = 0x812F;
+
+ static final int COLOR_ATTACHMENT0 = 0x8CE0;
+
+ static final int COLOR_BUFFER_BIT = 0x00004000;
+
+ static final int COLOR_CLEAR_VALUE = 0x0C22;
+
+ static final int COLOR_WRITEMASK = 0x0C23;
+
+ static final int COMPILE_STATUS = 0x8B81;
+
+ static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
+
+ static final int CONSTANT_ALPHA = 0x8003;
+
+ static final int CONSTANT_COLOR = 0x8001;
+
+ static final int CONTEXT_LOST_WEBGL = 0x9242;
+
+ static final int CULL_FACE = 0x0B44;
+
+ static final int CULL_FACE_MODE = 0x0B45;
+
+ static final int CURRENT_PROGRAM = 0x8B8D;
+
+ static final int CURRENT_VERTEX_ATTRIB = 0x8626;
+
+ static final int CW = 0x0900;
+
+ static final int DECR = 0x1E03;
+
+ static final int DECR_WRAP = 0x8508;
+
+ static final int DELETE_STATUS = 0x8B80;
+
+ static final int DEPTH_ATTACHMENT = 0x8D00;
+
+ static final int DEPTH_BITS = 0x0D56;
+
+ static final int DEPTH_BUFFER_BIT = 0x00000100;
+
+ static final int DEPTH_CLEAR_VALUE = 0x0B73;
+
+ static final int DEPTH_COMPONENT = 0x1902;
+
+ static final int DEPTH_COMPONENT16 = 0x81A5;
+
+ static final int DEPTH_FUNC = 0x0B74;
+
+ static final int DEPTH_RANGE = 0x0B70;
+
+ static final int DEPTH_STENCIL = 0x84F9;
+
+ static final int DEPTH_STENCIL_ATTACHMENT = 0x821A;
+
+ static final int DEPTH_TEST = 0x0B71;
+
+ static final int DEPTH_WRITEMASK = 0x0B72;
+
+ static final int DITHER = 0x0BD0;
+
+ static final int DONT_CARE = 0x1100;
+
+ static final int DST_ALPHA = 0x0304;
+
+ static final int DST_COLOR = 0x0306;
+
+ static final int DYNAMIC_DRAW = 0x88E8;
+
+ static final int ELEMENT_ARRAY_BUFFER = 0x8893;
+
+ static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
+
+ static final int EQUAL = 0x0202;
+
+ static final int FASTEST = 0x1101;
+
+ static final int FLOAT = 0x1406;
+
+ static final int FLOAT_MAT2 = 0x8B5A;
+
+ static final int FLOAT_MAT3 = 0x8B5B;
+
+ static final int FLOAT_MAT4 = 0x8B5C;
+
+ static final int FLOAT_VEC2 = 0x8B50;
+
+ static final int FLOAT_VEC3 = 0x8B51;
+
+ static final int FLOAT_VEC4 = 0x8B52;
+
+ static final int FRAGMENT_SHADER = 0x8B30;
+
+ static final int FRAMEBUFFER = 0x8D40;
+
+ static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
+
+ static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
+
+ static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
+
+ static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
+
+ static final int FRAMEBUFFER_BINDING = 0x8CA6;
+
+ static final int FRAMEBUFFER_COMPLETE = 0x8CD5;
+
+ static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
+
+ static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
+
+ static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
+
+ static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
+
+ static final int FRONT = 0x0404;
+
+ static final int FRONT_AND_BACK = 0x0408;
+
+ static final int FRONT_FACE = 0x0B46;
+
+ static final int FUNC_ADD = 0x8006;
+
+ static final int FUNC_REVERSE_SUBTRACT = 0x800B;
+
+ static final int FUNC_SUBTRACT = 0x800A;
+
+ static final int GENERATE_MIPMAP_HINT = 0x8192;
+
+ static final int GEQUAL = 0x0206;
+
+ static final int GREATER = 0x0204;
+
+ static final int GREEN_BITS = 0x0D53;
+
+ static final int HIGH_FLOAT = 0x8DF2;
+
+ static final int HIGH_INT = 0x8DF5;
+
+ static final int INCR = 0x1E02;
+
+ static final int INCR_WRAP = 0x8507;
+
+ static final int INT = 0x1404;
+
+ static final int INT_VEC2 = 0x8B53;
+
+ static final int INT_VEC3 = 0x8B54;
+
+ static final int INT_VEC4 = 0x8B55;
+
+ static final int INVALID_ENUM = 0x0500;
+
+ static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
+
+ static final int INVALID_OPERATION = 0x0502;
+
+ static final int INVALID_VALUE = 0x0501;
+
+ static final int INVERT = 0x150A;
+
+ static final int KEEP = 0x1E00;
+
+ static final int LEQUAL = 0x0203;
+
+ static final int LESS = 0x0201;
+
+ static final int LINEAR = 0x2601;
+
+ static final int LINEAR_MIPMAP_LINEAR = 0x2703;
+
+ static final int LINEAR_MIPMAP_NEAREST = 0x2701;
+
+ static final int LINES = 0x0001;
+
+ static final int LINE_LOOP = 0x0002;
+
+ static final int LINE_STRIP = 0x0003;
+
+ static final int LINE_WIDTH = 0x0B21;
+
+ static final int LINK_STATUS = 0x8B82;
+
+ static final int LOW_FLOAT = 0x8DF0;
+
+ static final int LOW_INT = 0x8DF3;
+
+ static final int LUMINANCE = 0x1909;
+
+ static final int LUMINANCE_ALPHA = 0x190A;
+
+ static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
+
+ static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
+
+ static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
+
+ static final int MAX_RENDERBUFFER_SIZE = 0x84E8;
+
+ static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
+
+ static final int MAX_TEXTURE_SIZE = 0x0D33;
+
+ static final int MAX_VARYING_VECTORS = 0x8DFC;
+
+ static final int MAX_VERTEX_ATTRIBS = 0x8869;
+
+ static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
+
+ static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
+
+ static final int MAX_VIEWPORT_DIMS = 0x0D3A;
+
+ static final int MEDIUM_FLOAT = 0x8DF1;
+
+ static final int MEDIUM_INT = 0x8DF4;
+
+ static final int MIRRORED_REPEAT = 0x8370;
+
+ static final int NEAREST = 0x2600;
+
+ static final int NEAREST_MIPMAP_LINEAR = 0x2702;
+
+ static final int NEAREST_MIPMAP_NEAREST = 0x2700;
+
+ static final int NEVER = 0x0200;
+
+ static final int NICEST = 0x1102;
+
+ static final int NONE = 0;
+
+ static final int NOTEQUAL = 0x0205;
+
+ static final int NO_ERROR = 0;
+
+ static final int ONE = 1;
+
+ static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
+
+ static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
+
+ static final int ONE_MINUS_DST_ALPHA = 0x0305;
+
+ static final int ONE_MINUS_DST_COLOR = 0x0307;
+
+ static final int ONE_MINUS_SRC_ALPHA = 0x0303;
+
+ static final int ONE_MINUS_SRC_COLOR = 0x0301;
+
+ static final int OUT_OF_MEMORY = 0x0505;
+
+ static final int PACK_ALIGNMENT = 0x0D05;
+
+ static final int POINTS = 0x0000;
+
+ static final int POLYGON_OFFSET_FACTOR = 0x8038;
+
+ static final int POLYGON_OFFSET_FILL = 0x8037;
+
+ static final int POLYGON_OFFSET_UNITS = 0x2A00;
+
+ static final int RED_BITS = 0x0D52;
+
+ static final int RENDERBUFFER = 0x8D41;
+
+ static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
+
+ static final int RENDERBUFFER_BINDING = 0x8CA7;
+
+ static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
+
+ static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
+
+ static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
+
+ static final int RENDERBUFFER_HEIGHT = 0x8D43;
+
+ static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
+
+ static final int RENDERBUFFER_RED_SIZE = 0x8D50;
+
+ static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
+
+ static final int RENDERBUFFER_WIDTH = 0x8D42;
+
+ static final int RENDERER = 0x1F01;
+
+ static final int REPEAT = 0x2901;
+
+ static final int REPLACE = 0x1E01;
+
+ static final int RGB = 0x1907;
+
+ static final int RGB565 = 0x8D62;
+
+ static final int RGB5_A1 = 0x8057;
+
+ static final int RGBA = 0x1908;
+
+ static final int RGBA4 = 0x8056;
+
+ static final int SAMPLER_2D = 0x8B5E;
+
+ static final int SAMPLER_CUBE = 0x8B60;
+
+ static final int SAMPLES = 0x80A9;
+
+ static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
+
+ static final int SAMPLE_BUFFERS = 0x80A8;
+
+ static final int SAMPLE_COVERAGE = 0x80A0;
+
+ static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
+
+ static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
+
+ static final int SCISSOR_BOX = 0x0C10;
+
+ static final int SCISSOR_TEST = 0x0C11;
+
+ static final int SHADER_COMPILER = 0x8DFA;
+
+ static final int SHADER_TYPE = 0x8B4F;
+
+ static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
+
+ static final int SHORT = 0x1402;
+
+ static final int SRC_ALPHA = 0x0302;
+
+ static final int SRC_ALPHA_SATURATE = 0x0308;
+
+ static final int SRC_COLOR = 0x0300;
+
+ static final int STATIC_DRAW = 0x88E4;
+
+ static final int STENCIL_ATTACHMENT = 0x8D20;
+
+ static final int STENCIL_BACK_FAIL = 0x8801;
+
+ static final int STENCIL_BACK_FUNC = 0x8800;
+
+ static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
+
+ static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
+
+ static final int STENCIL_BACK_REF = 0x8CA3;
+
+ static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
+
+ static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
+
+ static final int STENCIL_BITS = 0x0D57;
+
+ static final int STENCIL_BUFFER_BIT = 0x00000400;
+
+ static final int STENCIL_CLEAR_VALUE = 0x0B91;
+
+ static final int STENCIL_FAIL = 0x0B94;
+
+ static final int STENCIL_FUNC = 0x0B92;
+
+ static final int STENCIL_INDEX = 0x1901;
+
+ static final int STENCIL_INDEX8 = 0x8D48;
+
+ static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
+
+ static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
+
+ static final int STENCIL_REF = 0x0B97;
+
+ static final int STENCIL_TEST = 0x0B90;
+
+ static final int STENCIL_VALUE_MASK = 0x0B93;
+
+ static final int STENCIL_WRITEMASK = 0x0B98;
+
+ static final int STREAM_DRAW = 0x88E0;
+
+ static final int SUBPIXEL_BITS = 0x0D50;
+
+ static final int TEXTURE = 0x1702;
+
+ static final int TEXTURE0 = 0x84C0;
+
+ static final int TEXTURE1 = 0x84C1;
+
+ static final int TEXTURE10 = 0x84CA;
+
+ static final int TEXTURE11 = 0x84CB;
+
+ static final int TEXTURE12 = 0x84CC;
+
+ static final int TEXTURE13 = 0x84CD;
+
+ static final int TEXTURE14 = 0x84CE;
+
+ static final int TEXTURE15 = 0x84CF;
+
+ static final int TEXTURE16 = 0x84D0;
+
+ static final int TEXTURE17 = 0x84D1;
+
+ static final int TEXTURE18 = 0x84D2;
+
+ static final int TEXTURE19 = 0x84D3;
+
+ static final int TEXTURE2 = 0x84C2;
+
+ static final int TEXTURE20 = 0x84D4;
+
+ static final int TEXTURE21 = 0x84D5;
+
+ static final int TEXTURE22 = 0x84D6;
+
+ static final int TEXTURE23 = 0x84D7;
+
+ static final int TEXTURE24 = 0x84D8;
+
+ static final int TEXTURE25 = 0x84D9;
+
+ static final int TEXTURE26 = 0x84DA;
+
+ static final int TEXTURE27 = 0x84DB;
+
+ static final int TEXTURE28 = 0x84DC;
+
+ static final int TEXTURE29 = 0x84DD;
+
+ static final int TEXTURE3 = 0x84C3;
+
+ static final int TEXTURE30 = 0x84DE;
+
+ static final int TEXTURE31 = 0x84DF;
+
+ static final int TEXTURE4 = 0x84C4;
+
+ static final int TEXTURE5 = 0x84C5;
+
+ static final int TEXTURE6 = 0x84C6;
+
+ static final int TEXTURE7 = 0x84C7;
+
+ static final int TEXTURE8 = 0x84C8;
+
+ static final int TEXTURE9 = 0x84C9;
+
+ static final int TEXTURE_2D = 0x0DE1;
+
+ static final int TEXTURE_BINDING_2D = 0x8069;
+
+ static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
+
+ static final int TEXTURE_CUBE_MAP = 0x8513;
+
+ static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
+
+ static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
+
+ static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
+
+ static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
+
+ static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
+
+ static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
+
+ static final int TEXTURE_MAG_FILTER = 0x2800;
+
+ static final int TEXTURE_MIN_FILTER = 0x2801;
+
+ static final int TEXTURE_WRAP_S = 0x2802;
+
+ static final int TEXTURE_WRAP_T = 0x2803;
+
+ static final int TRIANGLES = 0x0004;
+
+ static final int TRIANGLE_FAN = 0x0006;
+
+ static final int TRIANGLE_STRIP = 0x0005;
+
+ static final int UNPACK_ALIGNMENT = 0x0CF5;
+
+ static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
+
+ static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
+
+ static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
+
+ static final int UNSIGNED_BYTE = 0x1401;
+
+ static final int UNSIGNED_INT = 0x1405;
+
+ static final int UNSIGNED_SHORT = 0x1403;
+
+ static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
+
+ static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
+
+ static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
+
+ static final int VALIDATE_STATUS = 0x8B83;
+
+ static final int VENDOR = 0x1F00;
+
+ static final int VERSION = 0x1F02;
+
+ static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
+
+ static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
+
+ static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
+
+ static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
+
+ static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
+
+ static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
+
+ static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
+
+ static final int VERTEX_SHADER = 0x8B31;
+
+ static final int VIEWPORT = 0x0BA2;
+
+ static final int ZERO = 0;
+
+ final int drawingBufferHeight;
+
+ final int drawingBufferWidth;
+
+ void activeTexture(int texture) native;
+
+ void attachShader(_WebGLProgramImpl program, _WebGLShaderImpl shader) native;
+
+ void bindAttribLocation(_WebGLProgramImpl program, int index, String name) native;
+
+ void bindBuffer(int target, _WebGLBufferImpl buffer) native;
+
+ void bindFramebuffer(int target, _WebGLFramebufferImpl framebuffer) native;
+
+ void bindRenderbuffer(int target, _WebGLRenderbufferImpl renderbuffer) native;
+
+ void bindTexture(int target, _WebGLTextureImpl texture) native;
+
+ void blendColor(num red, num green, num blue, num alpha) native;
+
+ void blendEquation(int mode) native;
+
+ void blendEquationSeparate(int modeRGB, int modeAlpha) native;
+
+ void blendFunc(int sfactor, int dfactor) native;
+
+ void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native;
+
+ void bufferData(int target, var data_OR_size, int usage) native;
+
+ void bufferSubData(int target, int offset, var data) native;
+
+ int checkFramebufferStatus(int target) native;
+
+ void clear(int mask) native;
+
+ void clearColor(num red, num green, num blue, num alpha) native;
+
+ void clearDepth(num depth) native;
+
+ void clearStencil(int s) native;
+
+ void colorMask(bool red, bool green, bool blue, bool alpha) native;
+
+ void compileShader(_WebGLShaderImpl shader) native;
+
+ void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, _ArrayBufferViewImpl data) native;
+
+ void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewImpl data) native;
+
+ void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native;
+
+ void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
+
+ _WebGLBufferImpl createBuffer() native;
+
+ _WebGLFramebufferImpl createFramebuffer() native;
+
+ _WebGLProgramImpl createProgram() native;
+
+ _WebGLRenderbufferImpl createRenderbuffer() native;
+
+ _WebGLShaderImpl createShader(int type) native;
+
+ _WebGLTextureImpl createTexture() native;
+
+ void cullFace(int mode) native;
+
+ void deleteBuffer(_WebGLBufferImpl buffer) native;
+
+ void deleteFramebuffer(_WebGLFramebufferImpl framebuffer) native;
+
+ void deleteProgram(_WebGLProgramImpl program) native;
+
+ void deleteRenderbuffer(_WebGLRenderbufferImpl renderbuffer) native;
+
+ void deleteShader(_WebGLShaderImpl shader) native;
+
+ void deleteTexture(_WebGLTextureImpl texture) native;
+
+ void depthFunc(int func) native;
+
+ void depthMask(bool flag) native;
+
+ void depthRange(num zNear, num zFar) native;
+
+ void detachShader(_WebGLProgramImpl program, _WebGLShaderImpl shader) native;
+
+ void disable(int cap) native;
+
+ void disableVertexAttribArray(int index) native;
+
+ void drawArrays(int mode, int first, int count) native;
+
+ void drawElements(int mode, int count, int type, int offset) native;
+
+ void enable(int cap) native;
+
+ void enableVertexAttribArray(int index) native;
+
+ void finish() native;
+
+ void flush() native;
+
+ void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, _WebGLRenderbufferImpl renderbuffer) native;
+
+ void framebufferTexture2D(int target, int attachment, int textarget, _WebGLTextureImpl texture, int level) native;
+
+ void frontFace(int mode) native;
+
+ void generateMipmap(int target) native;
+
+ _WebGLActiveInfoImpl getActiveAttrib(_WebGLProgramImpl program, int index) native;
+
+ _WebGLActiveInfoImpl getActiveUniform(_WebGLProgramImpl program, int index) native;
+
+ List getAttachedShaders(_WebGLProgramImpl program) native;
+
+ int getAttribLocation(_WebGLProgramImpl program, String name) native;
+
+ Object getBufferParameter(int target, int pname) native;
+
+ _WebGLContextAttributesImpl getContextAttributes() native;
+
+ int getError() native;
+
+ Object getExtension(String name) native;
+
+ Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native;
+
+ Object getParameter(int pname) native;
+
+ String getProgramInfoLog(_WebGLProgramImpl program) native;
+
+ Object getProgramParameter(_WebGLProgramImpl program, int pname) native;
+
+ Object getRenderbufferParameter(int target, int pname) native;
+
+ String getShaderInfoLog(_WebGLShaderImpl shader) native;
+
+ Object getShaderParameter(_WebGLShaderImpl shader, int pname) native;
+
+ String getShaderSource(_WebGLShaderImpl shader) native;
+
+ Object getTexParameter(int target, int pname) native;
+
+ Object getUniform(_WebGLProgramImpl program, _WebGLUniformLocationImpl location) native;
+
+ _WebGLUniformLocationImpl getUniformLocation(_WebGLProgramImpl program, String name) native;
+
+ Object getVertexAttrib(int index, int pname) native;
+
+ int getVertexAttribOffset(int index, int pname) native;
+
+ void hint(int target, int mode) native;
+
+ bool isBuffer(_WebGLBufferImpl buffer) native;
+
+ bool isContextLost() native;
+
+ bool isEnabled(int cap) native;
+
+ bool isFramebuffer(_WebGLFramebufferImpl framebuffer) native;
+
+ bool isProgram(_WebGLProgramImpl program) native;
+
+ bool isRenderbuffer(_WebGLRenderbufferImpl renderbuffer) native;
+
+ bool isShader(_WebGLShaderImpl shader) native;
+
+ bool isTexture(_WebGLTextureImpl texture) native;
+
+ void lineWidth(num width) native;
+
+ void linkProgram(_WebGLProgramImpl program) native;
+
+ void pixelStorei(int pname, int param) native;
+
+ void polygonOffset(num factor, num units) native;
+
+ void readPixels(int x, int y, int width, int height, int format, int type, _ArrayBufferViewImpl pixels) native;
+
+ void releaseShaderCompiler() native;
+
+ void renderbufferStorage(int target, int internalformat, int width, int height) native;
+
+ void sampleCoverage(num value, bool invert) native;
+
+ void scissor(int x, int y, int width, int height) native;
+
+ void shaderSource(_WebGLShaderImpl shader, String string) native;
+
+ void stencilFunc(int func, int ref, int mask) native;
+
+ void stencilFuncSeparate(int face, int func, int ref, int mask) native;
+
+ void stencilMask(int mask) native;
+
+ void stencilMaskSeparate(int face, int mask) native;
+
+ void stencilOp(int fail, int zfail, int zpass) native;
+
+ void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
+
+ 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 format = null, int type = null, _ArrayBufferViewImpl pixels = null]) native;
+
+ void texParameterf(int target, int pname, num param) native;
+
+ void texParameteri(int target, int pname, int param) native;
+
+ 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, _ArrayBufferViewImpl pixels = null]) native;
+
+ void uniform1f(_WebGLUniformLocationImpl location, num x) native;
+
+ void uniform1fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) native;
+
+ void uniform1i(_WebGLUniformLocationImpl location, int x) native;
+
+ void uniform1iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
+
+ void uniform2f(_WebGLUniformLocationImpl location, num x, num y) native;
+
+ void uniform2fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) native;
+
+ void uniform2i(_WebGLUniformLocationImpl location, int x, int y) native;
+
+ void uniform2iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
+
+ void uniform3f(_WebGLUniformLocationImpl location, num x, num y, num z) native;
+
+ void uniform3fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) native;
+
+ void uniform3i(_WebGLUniformLocationImpl location, int x, int y, int z) native;
+
+ void uniform3iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
+
+ void uniform4f(_WebGLUniformLocationImpl location, num x, num y, num z, num w) native;
+
+ void uniform4fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) native;
+
+ void uniform4i(_WebGLUniformLocationImpl location, int x, int y, int z, int w) native;
+
+ void uniform4iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
+
+ void uniformMatrix2fv(_WebGLUniformLocationImpl location, bool transpose, _Float32ArrayImpl array) native;
+
+ void uniformMatrix3fv(_WebGLUniformLocationImpl location, bool transpose, _Float32ArrayImpl array) native;
+
+ void uniformMatrix4fv(_WebGLUniformLocationImpl location, bool transpose, _Float32ArrayImpl array) native;
+
+ void useProgram(_WebGLProgramImpl program) native;
+
+ void validateProgram(_WebGLProgramImpl program) native;
+
+ void vertexAttrib1f(int indx, num x) native;
+
+ void vertexAttrib1fv(int indx, _Float32ArrayImpl values) native;
+
+ void vertexAttrib2f(int indx, num x, num y) native;
+
+ void vertexAttrib2fv(int indx, _Float32ArrayImpl values) native;
+
+ void vertexAttrib3f(int indx, num x, num y, num z) native;
+
+ void vertexAttrib3fv(int indx, _Float32ArrayImpl values) native;
+
+ void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
+
+ void vertexAttrib4fv(int indx, _Float32ArrayImpl values) native;
+
+ void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native;
+
+ void viewport(int x, int y, int width, int height) native;
+}

Powered by Google App Engine
This is Rietveld 408576698