| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 97ffe1f69c7dbf1196579e4eb6f3ce0fc17aac98..25bbf904e1035ad9b6235fc16d029ff754373fa4 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -1144,6 +1144,16 @@ class CanvasElement extends HtmlElement implements CanvasImageSource native "HTM
|
| CanvasRenderingContext2D get context2D =>
|
| JS('Null|CanvasRenderingContext2D', '#.getContext(#)', this, '2d');
|
|
|
| + /**
|
| + * Returns a new Web GL context for this canvas.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [WebGL fundamentals]
|
| + * (http://www.html5rocks.com/en/tutorials/webgl/webgl_fundamentals/) from
|
| + * HTML5Rocks.
|
| + * * [WebGL homepage] (http://get.webgl.org/).
|
| + */
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.FIREFOX)
|
| @Experimental()
|
|
|