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 { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 return; | 159 return; |
160 } | 160 } |
161 static void _colorMask(receiver, red, green, blue, alpha) native; | 161 static void _colorMask(receiver, red, green, blue, alpha) native; |
162 | 162 |
163 void compileShader(WebGLShader shader) { | 163 void compileShader(WebGLShader shader) { |
164 _compileShader(this, shader); | 164 _compileShader(this, shader); |
165 return; | 165 return; |
166 } | 166 } |
167 static void _compileShader(receiver, shader) native; | 167 static void _compileShader(receiver, shader) native; |
168 | 168 |
| 169 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data) { |
| 170 _compressedTexImage2D(this, target, level, internalformat, width, height, bo
rder, data); |
| 171 return; |
| 172 } |
| 173 static void _compressedTexImage2D(receiver, target, level, internalformat, wid
th, height, border, data) native; |
| 174 |
| 175 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data) { |
| 176 _compressedTexSubImage2D(this, target, level, xoffset, yoffset, width, heigh
t, format, data); |
| 177 return; |
| 178 } |
| 179 static void _compressedTexSubImage2D(receiver, target, level, xoffset, yoffset
, width, height, format, data) native; |
| 180 |
169 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) { | 181 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) { |
170 _copyTexImage2D(this, target, level, internalformat, x, y, width, height, bo
rder); | 182 _copyTexImage2D(this, target, level, internalformat, x, y, width, height, bo
rder); |
171 return; | 183 return; |
172 } | 184 } |
173 static void _copyTexImage2D(receiver, target, level, internalformat, x, y, wid
th, height, border) native; | 185 static void _copyTexImage2D(receiver, target, level, internalformat, x, y, wid
th, height, border) native; |
174 | 186 |
175 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) { | 187 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) { |
176 _copyTexSubImage2D(this, target, level, xoffset, yoffset, x, y, width, heigh
t); | 188 _copyTexSubImage2D(this, target, level, xoffset, yoffset, x, y, width, heigh
t); |
177 return; | 189 return; |
178 } | 190 } |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 static void _vertexAttribPointer(receiver, indx, size, type, normalized, strid
e, offset) native; | 904 static void _vertexAttribPointer(receiver, indx, size, type, normalized, strid
e, offset) native; |
893 | 905 |
894 void viewport(int x, int y, int width, int height) { | 906 void viewport(int x, int y, int width, int height) { |
895 _viewport(this, x, y, width, height); | 907 _viewport(this, x, y, width, height); |
896 return; | 908 return; |
897 } | 909 } |
898 static void _viewport(receiver, x, y, width, height) native; | 910 static void _viewport(receiver, x, y, width, height) native; |
899 | 911 |
900 String get typeName() { return "WebGLRenderingContext"; } | 912 String get typeName() { return "WebGLRenderingContext"; } |
901 } | 913 } |
OLD | NEW |