| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _WebGLRenderingContextWrappingImplementation extends _CanvasRenderingConte
xtWrappingImplementation implements WebGLRenderingContext { | 7 class _WebGLRenderingContextWrappingImplementation extends _CanvasRenderingConte
xtWrappingImplementation implements WebGLRenderingContext { |
| 8 _WebGLRenderingContextWrappingImplementation() : super() {} | 8 _WebGLRenderingContextWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__WebGLRenderingContextWrappingImplementation() native { | 10 static create__WebGLRenderingContextWrappingImplementation() native { |
| 11 return new _WebGLRenderingContextWrappingImplementation(); | 11 return new _WebGLRenderingContextWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get drawingBufferHeight() { return _get__WebGLRenderingContext_drawingBuff
erHeight(this); } | 14 int get drawingBufferHeight() { return _get_drawingBufferHeight(this); } |
| 15 static int _get__WebGLRenderingContext_drawingBufferHeight(var _this) native; | 15 static int _get_drawingBufferHeight(var _this) native; |
| 16 | 16 |
| 17 int get drawingBufferWidth() { return _get__WebGLRenderingContext_drawingBuffe
rWidth(this); } | 17 int get drawingBufferWidth() { return _get_drawingBufferWidth(this); } |
| 18 static int _get__WebGLRenderingContext_drawingBufferWidth(var _this) native; | 18 static int _get_drawingBufferWidth(var _this) native; |
| 19 | 19 |
| 20 void activeTexture(int texture) { | 20 void activeTexture(int texture) { |
| 21 _activeTexture(this, texture); | 21 _activeTexture(this, texture); |
| 22 return; | 22 return; |
| 23 } | 23 } |
| 24 static void _activeTexture(receiver, texture) native; | 24 static void _activeTexture(receiver, texture) native; |
| 25 | 25 |
| 26 void attachShader(WebGLProgram program, WebGLShader shader) { | 26 void attachShader(WebGLProgram program, WebGLShader shader) { |
| 27 _attachShader(this, program, shader); | 27 _attachShader(this, program, shader); |
| 28 return; | 28 return; |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 static void _vertexAttribPointer(receiver, indx, size, type, normalized, strid
e, offset) native; | 887 static void _vertexAttribPointer(receiver, indx, size, type, normalized, strid
e, offset) native; |
| 888 | 888 |
| 889 void viewport(int x, int y, int width, int height) { | 889 void viewport(int x, int y, int width, int height) { |
| 890 _viewport(this, x, y, width, height); | 890 _viewport(this, x, y, width, height); |
| 891 return; | 891 return; |
| 892 } | 892 } |
| 893 static void _viewport(receiver, x, y, width, height) native; | 893 static void _viewport(receiver, x, y, width, height) native; |
| 894 | 894 |
| 895 String get typeName() { return "WebGLRenderingContext"; } | 895 String get typeName() { return "WebGLRenderingContext"; } |
| 896 } | 896 } |
| OLD | NEW |