| OLD | NEW |
| 1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
| 2 | 2 |
| 3 import 'dart:collection'; | 3 import 'dart:collection'; |
| 4 import 'dart:_collection-dev'; | 4 import 'dart:_collection-dev'; |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
| 7 import 'dart:typed_data'; | 7 import 'dart:typed_data'; |
| 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure
ToJS; | 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure
ToJS; |
| 9 import 'dart:_foreign_helper' show JS; | 9 import 'dart:_foreign_helper' show JS; |
| 10 import 'dart:_interceptors' show Interceptor; | 10 import 'dart:_interceptors' show Interceptor; |
| (...skipping 2042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2053 @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 2054 @DocsEditable | 2054 @DocsEditable |
| 2055 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; | 2055 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; |
| 2056 | 2056 |
| 2057 @DomName('WebGLRenderingContext.bindTexture') | 2057 @DomName('WebGLRenderingContext.bindTexture') |
| 2058 @DocsEditable | 2058 @DocsEditable |
| 2059 void bindTexture(int target, Texture texture) native; | 2059 void bindTexture(int target, Texture texture) native; |
| 2060 | 2060 |
| 2061 @DomName('WebGLRenderingContext.blendColor') | 2061 @DomName('WebGLRenderingContext.blendColor') |
| 2062 @DocsEditable | 2062 @DocsEditable |
| 2063 void blendColor(num red, num green, num blue, num alpha) native; | 2063 void blendColor(double red, double green, double blue, double alpha) native; |
| 2064 | 2064 |
| 2065 @DomName('WebGLRenderingContext.blendEquation') | 2065 @DomName('WebGLRenderingContext.blendEquation') |
| 2066 @DocsEditable | 2066 @DocsEditable |
| 2067 void blendEquation(int mode) native; | 2067 void blendEquation(int mode) native; |
| 2068 | 2068 |
| 2069 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2069 @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 2070 @DocsEditable | 2070 @DocsEditable |
| 2071 void blendEquationSeparate(int modeRGB, int modeAlpha) native; | 2071 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
| 2072 | 2072 |
| 2073 @DomName('WebGLRenderingContext.blendFunc') | 2073 @DomName('WebGLRenderingContext.blendFunc') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2089 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2089 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 2090 @DocsEditable | 2090 @DocsEditable |
| 2091 int checkFramebufferStatus(int target) native; | 2091 int checkFramebufferStatus(int target) native; |
| 2092 | 2092 |
| 2093 @DomName('WebGLRenderingContext.clear') | 2093 @DomName('WebGLRenderingContext.clear') |
| 2094 @DocsEditable | 2094 @DocsEditable |
| 2095 void clear(int mask) native; | 2095 void clear(int mask) native; |
| 2096 | 2096 |
| 2097 @DomName('WebGLRenderingContext.clearColor') | 2097 @DomName('WebGLRenderingContext.clearColor') |
| 2098 @DocsEditable | 2098 @DocsEditable |
| 2099 void clearColor(num red, num green, num blue, num alpha) native; | 2099 void clearColor(double red, double green, double blue, double alpha) native; |
| 2100 | 2100 |
| 2101 @DomName('WebGLRenderingContext.clearDepth') | 2101 @DomName('WebGLRenderingContext.clearDepth') |
| 2102 @DocsEditable | 2102 @DocsEditable |
| 2103 void clearDepth(num depth) native; | 2103 void clearDepth(double depth) native; |
| 2104 | 2104 |
| 2105 @DomName('WebGLRenderingContext.clearStencil') | 2105 @DomName('WebGLRenderingContext.clearStencil') |
| 2106 @DocsEditable | 2106 @DocsEditable |
| 2107 void clearStencil(int s) native; | 2107 void clearStencil(int s) native; |
| 2108 | 2108 |
| 2109 @DomName('WebGLRenderingContext.colorMask') | 2109 @DomName('WebGLRenderingContext.colorMask') |
| 2110 @DocsEditable | 2110 @DocsEditable |
| 2111 void colorMask(bool red, bool green, bool blue, bool alpha) native; | 2111 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
| 2112 | 2112 |
| 2113 @DomName('WebGLRenderingContext.compileShader') | 2113 @DomName('WebGLRenderingContext.compileShader') |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2185 @DomName('WebGLRenderingContext.depthFunc') | 2185 @DomName('WebGLRenderingContext.depthFunc') |
| 2186 @DocsEditable | 2186 @DocsEditable |
| 2187 void depthFunc(int func) native; | 2187 void depthFunc(int func) native; |
| 2188 | 2188 |
| 2189 @DomName('WebGLRenderingContext.depthMask') | 2189 @DomName('WebGLRenderingContext.depthMask') |
| 2190 @DocsEditable | 2190 @DocsEditable |
| 2191 void depthMask(bool flag) native; | 2191 void depthMask(bool flag) native; |
| 2192 | 2192 |
| 2193 @DomName('WebGLRenderingContext.depthRange') | 2193 @DomName('WebGLRenderingContext.depthRange') |
| 2194 @DocsEditable | 2194 @DocsEditable |
| 2195 void depthRange(num zNear, num zFar) native; | 2195 void depthRange(double zNear, double zFar) native; |
| 2196 | 2196 |
| 2197 @DomName('WebGLRenderingContext.detachShader') | 2197 @DomName('WebGLRenderingContext.detachShader') |
| 2198 @DocsEditable | 2198 @DocsEditable |
| 2199 void detachShader(Program program, Shader shader) native; | 2199 void detachShader(Program program, Shader shader) native; |
| 2200 | 2200 |
| 2201 @DomName('WebGLRenderingContext.disable') | 2201 @DomName('WebGLRenderingContext.disable') |
| 2202 @DocsEditable | 2202 @DocsEditable |
| 2203 void disable(int cap) native; | 2203 void disable(int cap) native; |
| 2204 | 2204 |
| 2205 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2205 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2371 @DomName('WebGLRenderingContext.isShader') | 2371 @DomName('WebGLRenderingContext.isShader') |
| 2372 @DocsEditable | 2372 @DocsEditable |
| 2373 bool isShader(Shader shader) native; | 2373 bool isShader(Shader shader) native; |
| 2374 | 2374 |
| 2375 @DomName('WebGLRenderingContext.isTexture') | 2375 @DomName('WebGLRenderingContext.isTexture') |
| 2376 @DocsEditable | 2376 @DocsEditable |
| 2377 bool isTexture(Texture texture) native; | 2377 bool isTexture(Texture texture) native; |
| 2378 | 2378 |
| 2379 @DomName('WebGLRenderingContext.lineWidth') | 2379 @DomName('WebGLRenderingContext.lineWidth') |
| 2380 @DocsEditable | 2380 @DocsEditable |
| 2381 void lineWidth(num width) native; | 2381 void lineWidth(double width) native; |
| 2382 | 2382 |
| 2383 @DomName('WebGLRenderingContext.linkProgram') | 2383 @DomName('WebGLRenderingContext.linkProgram') |
| 2384 @DocsEditable | 2384 @DocsEditable |
| 2385 void linkProgram(Program program) native; | 2385 void linkProgram(Program program) native; |
| 2386 | 2386 |
| 2387 @DomName('WebGLRenderingContext.pixelStorei') | 2387 @DomName('WebGLRenderingContext.pixelStorei') |
| 2388 @DocsEditable | 2388 @DocsEditable |
| 2389 void pixelStorei(int pname, int param) native; | 2389 void pixelStorei(int pname, int param) native; |
| 2390 | 2390 |
| 2391 @DomName('WebGLRenderingContext.polygonOffset') | 2391 @DomName('WebGLRenderingContext.polygonOffset') |
| 2392 @DocsEditable | 2392 @DocsEditable |
| 2393 void polygonOffset(num factor, num units) native; | 2393 void polygonOffset(double factor, double units) native; |
| 2394 | 2394 |
| 2395 @DomName('WebGLRenderingContext.readPixels') | 2395 @DomName('WebGLRenderingContext.readPixels') |
| 2396 @DocsEditable | 2396 @DocsEditable |
| 2397 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native; | 2397 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native; |
| 2398 | 2398 |
| 2399 @DomName('WebGLRenderingContext.renderbufferStorage') | 2399 @DomName('WebGLRenderingContext.renderbufferStorage') |
| 2400 @DocsEditable | 2400 @DocsEditable |
| 2401 void renderbufferStorage(int target, int internalformat, int width, int height
) native; | 2401 void renderbufferStorage(int target, int internalformat, int width, int height
) native; |
| 2402 | 2402 |
| 2403 @DomName('WebGLRenderingContext.sampleCoverage') | 2403 @DomName('WebGLRenderingContext.sampleCoverage') |
| 2404 @DocsEditable | 2404 @DocsEditable |
| 2405 void sampleCoverage(num value, bool invert) native; | 2405 void sampleCoverage(double value, bool invert) native; |
| 2406 | 2406 |
| 2407 @DomName('WebGLRenderingContext.scissor') | 2407 @DomName('WebGLRenderingContext.scissor') |
| 2408 @DocsEditable | 2408 @DocsEditable |
| 2409 void scissor(int x, int y, int width, int height) native; | 2409 void scissor(int x, int y, int width, int height) native; |
| 2410 | 2410 |
| 2411 @DomName('WebGLRenderingContext.shaderSource') | 2411 @DomName('WebGLRenderingContext.shaderSource') |
| 2412 @DocsEditable | 2412 @DocsEditable |
| 2413 void shaderSource(Shader shader, String string) native; | 2413 void shaderSource(Shader shader, String string) native; |
| 2414 | 2414 |
| 2415 @DomName('WebGLRenderingContext.stencilFunc') | 2415 @DomName('WebGLRenderingContext.stencilFunc') |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2478 @DomName('WebGLRenderingContext.texImage2D') | 2478 @DomName('WebGLRenderingContext.texImage2D') |
| 2479 @DocsEditable | 2479 @DocsEditable |
| 2480 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; | 2480 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; |
| 2481 @JSName('texImage2D') | 2481 @JSName('texImage2D') |
| 2482 @DomName('WebGLRenderingContext.texImage2D') | 2482 @DomName('WebGLRenderingContext.texImage2D') |
| 2483 @DocsEditable | 2483 @DocsEditable |
| 2484 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; | 2484 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; |
| 2485 | 2485 |
| 2486 @DomName('WebGLRenderingContext.texParameterf') | 2486 @DomName('WebGLRenderingContext.texParameterf') |
| 2487 @DocsEditable | 2487 @DocsEditable |
| 2488 void texParameterf(int target, int pname, num param) native; | 2488 void texParameterf(int target, int pname, double param) native; |
| 2489 | 2489 |
| 2490 @DomName('WebGLRenderingContext.texParameteri') | 2490 @DomName('WebGLRenderingContext.texParameteri') |
| 2491 @DocsEditable | 2491 @DocsEditable |
| 2492 void texParameteri(int target, int pname, int param) native; | 2492 void texParameteri(int target, int pname, int param) native; |
| 2493 | 2493 |
| 2494 @DomName('WebGLRenderingContext.texSubImage2D') | 2494 @DomName('WebGLRenderingContext.texSubImage2D') |
| 2495 @DocsEditable | 2495 @DocsEditable |
| 2496 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { | 2496 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { |
| 2497 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format
_OR_image_OR_pixels_OR_video == null) && ?type && ?pixels) { | 2497 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format
_OR_image_OR_pixels_OR_video == null) && ?type && ?pixels) { |
| 2498 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 2498 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2533 @DomName('WebGLRenderingContext.texSubImage2D') | 2533 @DomName('WebGLRenderingContext.texSubImage2D') |
| 2534 @DocsEditable | 2534 @DocsEditable |
| 2535 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; | 2535 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; |
| 2536 @JSName('texSubImage2D') | 2536 @JSName('texSubImage2D') |
| 2537 @DomName('WebGLRenderingContext.texSubImage2D') | 2537 @DomName('WebGLRenderingContext.texSubImage2D') |
| 2538 @DocsEditable | 2538 @DocsEditable |
| 2539 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; | 2539 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; |
| 2540 | 2540 |
| 2541 @DomName('WebGLRenderingContext.uniform1f') | 2541 @DomName('WebGLRenderingContext.uniform1f') |
| 2542 @DocsEditable | 2542 @DocsEditable |
| 2543 void uniform1f(UniformLocation location, num x) native; | 2543 void uniform1f(UniformLocation location, double x) native; |
| 2544 | 2544 |
| 2545 @DomName('WebGLRenderingContext.uniform1fv') | 2545 @DomName('WebGLRenderingContext.uniform1fv') |
| 2546 @DocsEditable | 2546 @DocsEditable |
| 2547 void uniform1fv(UniformLocation location, Float32List v) native; | 2547 void uniform1fv(UniformLocation location, Float32List v) native; |
| 2548 | 2548 |
| 2549 @DomName('WebGLRenderingContext.uniform1i') | 2549 @DomName('WebGLRenderingContext.uniform1i') |
| 2550 @DocsEditable | 2550 @DocsEditable |
| 2551 void uniform1i(UniformLocation location, int x) native; | 2551 void uniform1i(UniformLocation location, int x) native; |
| 2552 | 2552 |
| 2553 @DomName('WebGLRenderingContext.uniform1iv') | 2553 @DomName('WebGLRenderingContext.uniform1iv') |
| 2554 @DocsEditable | 2554 @DocsEditable |
| 2555 void uniform1iv(UniformLocation location, Int32List v) native; | 2555 void uniform1iv(UniformLocation location, Int32List v) native; |
| 2556 | 2556 |
| 2557 @DomName('WebGLRenderingContext.uniform2f') | 2557 @DomName('WebGLRenderingContext.uniform2f') |
| 2558 @DocsEditable | 2558 @DocsEditable |
| 2559 void uniform2f(UniformLocation location, num x, num y) native; | 2559 void uniform2f(UniformLocation location, double x, double y) native; |
| 2560 | 2560 |
| 2561 @DomName('WebGLRenderingContext.uniform2fv') | 2561 @DomName('WebGLRenderingContext.uniform2fv') |
| 2562 @DocsEditable | 2562 @DocsEditable |
| 2563 void uniform2fv(UniformLocation location, Float32List v) native; | 2563 void uniform2fv(UniformLocation location, Float32List v) native; |
| 2564 | 2564 |
| 2565 @DomName('WebGLRenderingContext.uniform2i') | 2565 @DomName('WebGLRenderingContext.uniform2i') |
| 2566 @DocsEditable | 2566 @DocsEditable |
| 2567 void uniform2i(UniformLocation location, int x, int y) native; | 2567 void uniform2i(UniformLocation location, int x, int y) native; |
| 2568 | 2568 |
| 2569 @DomName('WebGLRenderingContext.uniform2iv') | 2569 @DomName('WebGLRenderingContext.uniform2iv') |
| 2570 @DocsEditable | 2570 @DocsEditable |
| 2571 void uniform2iv(UniformLocation location, Int32List v) native; | 2571 void uniform2iv(UniformLocation location, Int32List v) native; |
| 2572 | 2572 |
| 2573 @DomName('WebGLRenderingContext.uniform3f') | 2573 @DomName('WebGLRenderingContext.uniform3f') |
| 2574 @DocsEditable | 2574 @DocsEditable |
| 2575 void uniform3f(UniformLocation location, num x, num y, num z) native; | 2575 void uniform3f(UniformLocation location, double x, double y, double z) native; |
| 2576 | 2576 |
| 2577 @DomName('WebGLRenderingContext.uniform3fv') | 2577 @DomName('WebGLRenderingContext.uniform3fv') |
| 2578 @DocsEditable | 2578 @DocsEditable |
| 2579 void uniform3fv(UniformLocation location, Float32List v) native; | 2579 void uniform3fv(UniformLocation location, Float32List v) native; |
| 2580 | 2580 |
| 2581 @DomName('WebGLRenderingContext.uniform3i') | 2581 @DomName('WebGLRenderingContext.uniform3i') |
| 2582 @DocsEditable | 2582 @DocsEditable |
| 2583 void uniform3i(UniformLocation location, int x, int y, int z) native; | 2583 void uniform3i(UniformLocation location, int x, int y, int z) native; |
| 2584 | 2584 |
| 2585 @DomName('WebGLRenderingContext.uniform3iv') | 2585 @DomName('WebGLRenderingContext.uniform3iv') |
| 2586 @DocsEditable | 2586 @DocsEditable |
| 2587 void uniform3iv(UniformLocation location, Int32List v) native; | 2587 void uniform3iv(UniformLocation location, Int32List v) native; |
| 2588 | 2588 |
| 2589 @DomName('WebGLRenderingContext.uniform4f') | 2589 @DomName('WebGLRenderingContext.uniform4f') |
| 2590 @DocsEditable | 2590 @DocsEditable |
| 2591 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; | 2591 void uniform4f(UniformLocation location, double x, double y, double z, double
w) native; |
| 2592 | 2592 |
| 2593 @DomName('WebGLRenderingContext.uniform4fv') | 2593 @DomName('WebGLRenderingContext.uniform4fv') |
| 2594 @DocsEditable | 2594 @DocsEditable |
| 2595 void uniform4fv(UniformLocation location, Float32List v) native; | 2595 void uniform4fv(UniformLocation location, Float32List v) native; |
| 2596 | 2596 |
| 2597 @DomName('WebGLRenderingContext.uniform4i') | 2597 @DomName('WebGLRenderingContext.uniform4i') |
| 2598 @DocsEditable | 2598 @DocsEditable |
| 2599 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; | 2599 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; |
| 2600 | 2600 |
| 2601 @DomName('WebGLRenderingContext.uniform4iv') | 2601 @DomName('WebGLRenderingContext.uniform4iv') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2617 @DomName('WebGLRenderingContext.useProgram') | 2617 @DomName('WebGLRenderingContext.useProgram') |
| 2618 @DocsEditable | 2618 @DocsEditable |
| 2619 void useProgram(Program program) native; | 2619 void useProgram(Program program) native; |
| 2620 | 2620 |
| 2621 @DomName('WebGLRenderingContext.validateProgram') | 2621 @DomName('WebGLRenderingContext.validateProgram') |
| 2622 @DocsEditable | 2622 @DocsEditable |
| 2623 void validateProgram(Program program) native; | 2623 void validateProgram(Program program) native; |
| 2624 | 2624 |
| 2625 @DomName('WebGLRenderingContext.vertexAttrib1f') | 2625 @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 2626 @DocsEditable | 2626 @DocsEditable |
| 2627 void vertexAttrib1f(int indx, num x) native; | 2627 void vertexAttrib1f(int indx, double x) native; |
| 2628 | 2628 |
| 2629 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 2629 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 2630 @DocsEditable | 2630 @DocsEditable |
| 2631 void vertexAttrib1fv(int indx, Float32List values) native; | 2631 void vertexAttrib1fv(int indx, Float32List values) native; |
| 2632 | 2632 |
| 2633 @DomName('WebGLRenderingContext.vertexAttrib2f') | 2633 @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 2634 @DocsEditable | 2634 @DocsEditable |
| 2635 void vertexAttrib2f(int indx, num x, num y) native; | 2635 void vertexAttrib2f(int indx, double x, double y) native; |
| 2636 | 2636 |
| 2637 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 2637 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 2638 @DocsEditable | 2638 @DocsEditable |
| 2639 void vertexAttrib2fv(int indx, Float32List values) native; | 2639 void vertexAttrib2fv(int indx, Float32List values) native; |
| 2640 | 2640 |
| 2641 @DomName('WebGLRenderingContext.vertexAttrib3f') | 2641 @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 2642 @DocsEditable | 2642 @DocsEditable |
| 2643 void vertexAttrib3f(int indx, num x, num y, num z) native; | 2643 void vertexAttrib3f(int indx, double x, double y, double z) native; |
| 2644 | 2644 |
| 2645 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 2645 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 2646 @DocsEditable | 2646 @DocsEditable |
| 2647 void vertexAttrib3fv(int indx, Float32List values) native; | 2647 void vertexAttrib3fv(int indx, Float32List values) native; |
| 2648 | 2648 |
| 2649 @DomName('WebGLRenderingContext.vertexAttrib4f') | 2649 @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 2650 @DocsEditable | 2650 @DocsEditable |
| 2651 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; | 2651 void vertexAttrib4f(int indx, double x, double y, double z, double w) native; |
| 2652 | 2652 |
| 2653 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 2653 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 2654 @DocsEditable | 2654 @DocsEditable |
| 2655 void vertexAttrib4fv(int indx, Float32List values) native; | 2655 void vertexAttrib4fv(int indx, Float32List values) native; |
| 2656 | 2656 |
| 2657 @DomName('WebGLRenderingContext.vertexAttribPointer') | 2657 @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 2658 @DocsEditable | 2658 @DocsEditable |
| 2659 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 2659 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
| 2660 | 2660 |
| 2661 @DomName('WebGLRenderingContext.viewport') | 2661 @DomName('WebGLRenderingContext.viewport') |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2714 // for details. All rights reserved. Use of this source code is governed by a | 2714 // for details. All rights reserved. Use of this source code is governed by a |
| 2715 // BSD-style license that can be found in the LICENSE file. | 2715 // BSD-style license that can be found in the LICENSE file. |
| 2716 | 2716 |
| 2717 | 2717 |
| 2718 @DocsEditable | 2718 @DocsEditable |
| 2719 @DomName('WebGLVertexArrayObjectOES') | 2719 @DomName('WebGLVertexArrayObjectOES') |
| 2720 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 2720 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 2721 @Experimental // experimental | 2721 @Experimental // experimental |
| 2722 class VertexArrayObject native "WebGLVertexArrayObjectOES" { | 2722 class VertexArrayObject native "WebGLVertexArrayObjectOES" { |
| 2723 } | 2723 } |
| OLD | NEW |