OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:_internal'; | 7 import 'dart:_internal'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
11 import 'dart:typed_data'; | 11 import 'dart:typed_data'; |
12 import 'dart:_js_helper' show Creates, JSName, Native, Returns, convertDartClosu
reToJS; | 12 import 'dart:_js_helper' |
| 13 show Creates, JSName, Native, Returns, convertDartClosureToJS; |
13 import 'dart:_foreign_helper' show JS; | 14 import 'dart:_foreign_helper' show JS; |
14 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | 15 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
15 // DO NOT EDIT - unless you are editing documentation as per: | 16 // DO NOT EDIT - unless you are editing documentation as per: |
16 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 17 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
17 // Auto-generated dart:web_gl library. | 18 // Auto-generated dart:web_gl library. |
18 | 19 |
19 | |
20 | |
21 | |
22 | |
23 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 20 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
24 // for details. All rights reserved. Use of this source code is governed by a | 21 // for details. All rights reserved. Use of this source code is governed by a |
25 // BSD-style license that can be found in the LICENSE file. | 22 // BSD-style license that can be found in the LICENSE file. |
26 | 23 |
27 | |
28 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | 24 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
29 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | 25 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; |
30 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | 26 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; |
31 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; | 27 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; |
32 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; | 28 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; |
33 const int ALPHA = RenderingContext.ALPHA; | 29 const int ALPHA = RenderingContext.ALPHA; |
34 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; | 30 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; |
35 const int ALWAYS = RenderingContext.ALWAYS; | 31 const int ALWAYS = RenderingContext.ALWAYS; |
36 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; | 32 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; |
37 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; | 33 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; |
(...skipping 17 matching lines...) Expand all Loading... |
55 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; | 51 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; |
56 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; | 52 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; |
57 const int BYTE = RenderingContext.BYTE; | 53 const int BYTE = RenderingContext.BYTE; |
58 const int CCW = RenderingContext.CCW; | 54 const int CCW = RenderingContext.CCW; |
59 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; | 55 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; |
60 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; | 56 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; |
61 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; | 57 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; |
62 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; | 58 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; |
63 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; | 59 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; |
64 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; | 60 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; |
65 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA
TS; | 61 const int COMPRESSED_TEXTURE_FORMATS = |
| 62 RenderingContext.COMPRESSED_TEXTURE_FORMATS; |
66 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; | 63 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; |
67 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; | 64 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; |
68 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; | 65 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; |
69 const int CULL_FACE = RenderingContext.CULL_FACE; | 66 const int CULL_FACE = RenderingContext.CULL_FACE; |
70 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; | 67 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; |
71 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; | 68 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; |
72 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; | 69 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; |
73 const int CW = RenderingContext.CW; | 70 const int CW = RenderingContext.CW; |
74 const int DECR = RenderingContext.DECR; | 71 const int DECR = RenderingContext.DECR; |
75 const int DECR_WRAP = RenderingContext.DECR_WRAP; | 72 const int DECR_WRAP = RenderingContext.DECR_WRAP; |
76 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; | 73 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; |
77 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; | 74 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; |
78 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; | 75 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; |
79 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; | 76 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; |
80 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; | 77 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; |
81 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; | 78 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; |
82 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; | 79 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; |
83 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; | 80 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; |
84 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; | 81 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; |
85 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; | 82 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; |
86 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; | 83 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; |
87 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; | 84 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; |
88 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; | 85 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; |
89 const int DITHER = RenderingContext.DITHER; | 86 const int DITHER = RenderingContext.DITHER; |
90 const int DONT_CARE = RenderingContext.DONT_CARE; | 87 const int DONT_CARE = RenderingContext.DONT_CARE; |
91 const int DST_ALPHA = RenderingContext.DST_ALPHA; | 88 const int DST_ALPHA = RenderingContext.DST_ALPHA; |
92 const int DST_COLOR = RenderingContext.DST_COLOR; | 89 const int DST_COLOR = RenderingContext.DST_COLOR; |
93 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; | 90 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; |
94 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; | 91 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; |
95 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B
INDING; | 92 const int ELEMENT_ARRAY_BUFFER_BINDING = |
| 93 RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING; |
96 const int EQUAL = RenderingContext.EQUAL; | 94 const int EQUAL = RenderingContext.EQUAL; |
97 const int FASTEST = RenderingContext.FASTEST; | 95 const int FASTEST = RenderingContext.FASTEST; |
98 const int FLOAT = RenderingContext.FLOAT; | 96 const int FLOAT = RenderingContext.FLOAT; |
99 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; | 97 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; |
100 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; | 98 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; |
101 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; | 99 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; |
102 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; | 100 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; |
103 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; | 101 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; |
104 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; | 102 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; |
105 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; | 103 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; |
106 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; | 104 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; |
107 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_NAME; | 105 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = |
108 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_TYPE; | 106 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; |
109 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB
UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; | 107 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = |
110 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT
TACHMENT_TEXTURE_LEVEL; | 108 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; |
| 109 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = |
| 110 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; |
| 111 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = |
| 112 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; |
111 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; | 113 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; |
112 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; | 114 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; |
113 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM
PLETE_ATTACHMENT; | 115 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = |
114 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM
PLETE_DIMENSIONS; | 116 RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT; |
115 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF
ER_INCOMPLETE_MISSING_ATTACHMENT; | 117 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = |
| 118 RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS; |
| 119 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = |
| 120 RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; |
116 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; | 121 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; |
117 const int FRONT = RenderingContext.FRONT; | 122 const int FRONT = RenderingContext.FRONT; |
118 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; | 123 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; |
119 const int FRONT_FACE = RenderingContext.FRONT_FACE; | 124 const int FRONT_FACE = RenderingContext.FRONT_FACE; |
120 const int FUNC_ADD = RenderingContext.FUNC_ADD; | 125 const int FUNC_ADD = RenderingContext.FUNC_ADD; |
121 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; | 126 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; |
122 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; | 127 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; |
123 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; | 128 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; |
124 const int GEQUAL = RenderingContext.GEQUAL; | 129 const int GEQUAL = RenderingContext.GEQUAL; |
125 const int GREATER = RenderingContext.GREATER; | 130 const int GREATER = RenderingContext.GREATER; |
126 const int GREEN_BITS = RenderingContext.GREEN_BITS; | 131 const int GREEN_BITS = RenderingContext.GREEN_BITS; |
127 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; | 132 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; |
128 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; | 133 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; |
129 const int HIGH_INT = RenderingContext.HIGH_INT; | 134 const int HIGH_INT = RenderingContext.HIGH_INT; |
130 const int INCR = RenderingContext.INCR; | 135 const int INCR = RenderingContext.INCR; |
131 const int INCR_WRAP = RenderingContext.INCR_WRAP; | 136 const int INCR_WRAP = RenderingContext.INCR_WRAP; |
132 const int INT = RenderingContext.INT; | 137 const int INT = RenderingContext.INT; |
133 const int INT_VEC2 = RenderingContext.INT_VEC2; | 138 const int INT_VEC2 = RenderingContext.INT_VEC2; |
134 const int INT_VEC3 = RenderingContext.INT_VEC3; | 139 const int INT_VEC3 = RenderingContext.INT_VEC3; |
135 const int INT_VEC4 = RenderingContext.INT_VEC4; | 140 const int INT_VEC4 = RenderingContext.INT_VEC4; |
136 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; | 141 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; |
137 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; | 142 const int INVALID_FRAMEBUFFER_OPERATION = |
| 143 RenderingContext.INVALID_FRAMEBUFFER_OPERATION; |
138 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; | 144 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; |
139 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; | 145 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; |
140 const int INVERT = RenderingContext.INVERT; | 146 const int INVERT = RenderingContext.INVERT; |
141 const int KEEP = RenderingContext.KEEP; | 147 const int KEEP = RenderingContext.KEEP; |
142 const int LEQUAL = RenderingContext.LEQUAL; | 148 const int LEQUAL = RenderingContext.LEQUAL; |
143 const int LESS = RenderingContext.LESS; | 149 const int LESS = RenderingContext.LESS; |
144 const int LINEAR = RenderingContext.LINEAR; | 150 const int LINEAR = RenderingContext.LINEAR; |
145 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; | 151 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; |
146 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; | 152 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; |
147 const int LINES = RenderingContext.LINES; | 153 const int LINES = RenderingContext.LINES; |
148 const int LINE_LOOP = RenderingContext.LINE_LOOP; | 154 const int LINE_LOOP = RenderingContext.LINE_LOOP; |
149 const int LINE_STRIP = RenderingContext.LINE_STRIP; | 155 const int LINE_STRIP = RenderingContext.LINE_STRIP; |
150 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; | 156 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; |
151 const int LINK_STATUS = RenderingContext.LINK_STATUS; | 157 const int LINK_STATUS = RenderingContext.LINK_STATUS; |
152 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; | 158 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; |
153 const int LOW_INT = RenderingContext.LOW_INT; | 159 const int LOW_INT = RenderingContext.LOW_INT; |
154 const int LUMINANCE = RenderingContext.LUMINANCE; | 160 const int LUMINANCE = RenderingContext.LUMINANCE; |
155 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; | 161 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; |
156 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU
RE_IMAGE_UNITS; | 162 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = |
157 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE
; | 163 RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS; |
158 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V
ECTORS; | 164 const int MAX_CUBE_MAP_TEXTURE_SIZE = |
| 165 RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE; |
| 166 const int MAX_FRAGMENT_UNIFORM_VECTORS = |
| 167 RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS; |
159 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; | 168 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; |
160 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; | 169 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; |
161 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; | 170 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; |
162 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; | 171 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; |
163 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; | 172 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; |
164 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I
MAGE_UNITS; | 173 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = |
165 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO
RS; | 174 RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS; |
| 175 const int MAX_VERTEX_UNIFORM_VECTORS = |
| 176 RenderingContext.MAX_VERTEX_UNIFORM_VECTORS; |
166 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; | 177 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; |
167 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; | 178 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; |
168 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; | 179 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; |
169 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; | 180 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; |
170 const int NEAREST = RenderingContext.NEAREST; | 181 const int NEAREST = RenderingContext.NEAREST; |
171 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; | 182 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; |
172 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; | 183 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; |
173 const int NEVER = RenderingContext.NEVER; | 184 const int NEVER = RenderingContext.NEVER; |
174 const int NICEST = RenderingContext.NICEST; | 185 const int NICEST = RenderingContext.NICEST; |
175 const int NONE = RenderingContext.NONE; | 186 const int NONE = RenderingContext.NONE; |
(...skipping 13 matching lines...) Expand all Loading... |
189 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; | 200 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; |
190 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; | 201 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; |
191 const int RED_BITS = RenderingContext.RED_BITS; | 202 const int RED_BITS = RenderingContext.RED_BITS; |
192 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; | 203 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; |
193 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; | 204 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; |
194 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; | 205 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; |
195 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; | 206 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; |
196 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; | 207 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; |
197 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; | 208 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; |
198 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; | 209 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; |
199 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_
FORMAT; | 210 const int RENDERBUFFER_INTERNAL_FORMAT = |
| 211 RenderingContext.RENDERBUFFER_INTERNAL_FORMAT; |
200 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; | 212 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; |
201 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE
; | 213 const int RENDERBUFFER_STENCIL_SIZE = |
| 214 RenderingContext.RENDERBUFFER_STENCIL_SIZE; |
202 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; | 215 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; |
203 const int RENDERER = RenderingContext.RENDERER; | 216 const int RENDERER = RenderingContext.RENDERER; |
204 const int REPEAT = RenderingContext.REPEAT; | 217 const int REPEAT = RenderingContext.REPEAT; |
205 const int REPLACE = RenderingContext.REPLACE; | 218 const int REPLACE = RenderingContext.REPLACE; |
206 const int RGB = RenderingContext.RGB; | 219 const int RGB = RenderingContext.RGB; |
207 const int RGB565 = RenderingContext.RGB565; | 220 const int RGB565 = RenderingContext.RGB565; |
208 const int RGB5_A1 = RenderingContext.RGB5_A1; | 221 const int RGB5_A1 = RenderingContext.RGB5_A1; |
209 const int RGBA = RenderingContext.RGBA; | 222 const int RGBA = RenderingContext.RGBA; |
210 const int RGBA4 = RenderingContext.RGBA4; | 223 const int RGBA4 = RenderingContext.RGBA4; |
211 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; | 224 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; |
212 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; | 225 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; |
213 const int SAMPLES = RenderingContext.SAMPLES; | 226 const int SAMPLES = RenderingContext.SAMPLES; |
214 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; | 227 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; |
215 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; | 228 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; |
216 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; | 229 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; |
217 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; | 230 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; |
218 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; | 231 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; |
219 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; | 232 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; |
220 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; | 233 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; |
221 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; | 234 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; |
222 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; | 235 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; |
223 const int SHORT = RenderingContext.SHORT; | 236 const int SHORT = RenderingContext.SHORT; |
224 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; | 237 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; |
225 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; | 238 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; |
226 const int SRC_COLOR = RenderingContext.SRC_COLOR; | 239 const int SRC_COLOR = RenderingContext.SRC_COLOR; |
227 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; | 240 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; |
228 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; | 241 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; |
229 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; | 242 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; |
230 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; | 243 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; |
231 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT
H_FAIL; | 244 const int STENCIL_BACK_PASS_DEPTH_FAIL = |
232 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT
H_PASS; | 245 RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL; |
| 246 const int STENCIL_BACK_PASS_DEPTH_PASS = |
| 247 RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS; |
233 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; | 248 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; |
234 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; | 249 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; |
235 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; | 250 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; |
236 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; | 251 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; |
237 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; | 252 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; |
238 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; | 253 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; |
239 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; | 254 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; |
240 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; | 255 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; |
241 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; | 256 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; |
242 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; | 257 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 const int TEXTURE4 = RenderingContext.TEXTURE4; | 293 const int TEXTURE4 = RenderingContext.TEXTURE4; |
279 const int TEXTURE5 = RenderingContext.TEXTURE5; | 294 const int TEXTURE5 = RenderingContext.TEXTURE5; |
280 const int TEXTURE6 = RenderingContext.TEXTURE6; | 295 const int TEXTURE6 = RenderingContext.TEXTURE6; |
281 const int TEXTURE7 = RenderingContext.TEXTURE7; | 296 const int TEXTURE7 = RenderingContext.TEXTURE7; |
282 const int TEXTURE8 = RenderingContext.TEXTURE8; | 297 const int TEXTURE8 = RenderingContext.TEXTURE8; |
283 const int TEXTURE9 = RenderingContext.TEXTURE9; | 298 const int TEXTURE9 = RenderingContext.TEXTURE9; |
284 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; | 299 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; |
285 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; | 300 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; |
286 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; | 301 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; |
287 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; | 302 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; |
288 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_X; | 303 const int TEXTURE_CUBE_MAP_NEGATIVE_X = |
289 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Y; | 304 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X; |
290 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Z; | 305 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = |
291 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_X; | 306 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y; |
292 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Y; | 307 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = |
293 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Z; | 308 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z; |
| 309 const int TEXTURE_CUBE_MAP_POSITIVE_X = |
| 310 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X; |
| 311 const int TEXTURE_CUBE_MAP_POSITIVE_Y = |
| 312 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y; |
| 313 const int TEXTURE_CUBE_MAP_POSITIVE_Z = |
| 314 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z; |
294 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; | 315 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; |
295 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; | 316 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; |
296 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; | 317 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; |
297 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; | 318 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; |
298 const int TRIANGLES = RenderingContext.TRIANGLES; | 319 const int TRIANGLES = RenderingContext.TRIANGLES; |
299 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; | 320 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; |
300 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; | 321 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; |
301 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; | 322 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; |
302 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC
E_CONVERSION_WEBGL; | 323 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = |
| 324 RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL; |
303 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; | 325 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; |
304 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A
LPHA_WEBGL; | 326 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = |
| 327 RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL; |
305 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; | 328 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; |
306 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; | 329 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; |
307 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; | 330 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; |
308 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; | 331 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; |
309 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; | 332 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; |
310 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; | 333 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; |
311 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; | 334 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; |
312 const int VENDOR = RenderingContext.VENDOR; | 335 const int VENDOR = RenderingContext.VENDOR; |
313 const int VERSION = RenderingContext.VERSION; | 336 const int VERSION = RenderingContext.VERSION; |
314 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR
RAY_BUFFER_BINDING; | 337 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = |
315 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA
BLED; | 338 RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; |
316 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_
NORMALIZED; | 339 const int VERTEX_ATTRIB_ARRAY_ENABLED = |
317 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI
NTER; | 340 RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED; |
| 341 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = |
| 342 RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED; |
| 343 const int VERTEX_ATTRIB_ARRAY_POINTER = |
| 344 RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER; |
318 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; | 345 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; |
319 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI
DE; | 346 const int VERTEX_ATTRIB_ARRAY_STRIDE = |
| 347 RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE; |
320 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; | 348 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; |
321 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; | 349 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; |
322 const int VIEWPORT = RenderingContext.VIEWPORT; | 350 const int VIEWPORT = RenderingContext.VIEWPORT; |
323 const int ZERO = RenderingContext.ZERO; | 351 const int ZERO = RenderingContext.ZERO; |
324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
325 // for details. All rights reserved. Use of this source code is governed by a | 353 // for details. All rights reserved. Use of this source code is governed by a |
326 // BSD-style license that can be found in the LICENSE file. | 354 // BSD-style license that can be found in the LICENSE file. |
327 | 355 |
328 | |
329 @DocsEditable() | 356 @DocsEditable() |
330 @DomName('WebGLActiveInfo') | 357 @DomName('WebGLActiveInfo') |
331 @Unstable() | 358 @Unstable() |
332 @Native("WebGLActiveInfo") | 359 @Native("WebGLActiveInfo") |
333 class ActiveInfo extends Interceptor { | 360 class ActiveInfo extends Interceptor { |
334 // To suppress missing implicit constructor warnings. | 361 // To suppress missing implicit constructor warnings. |
335 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } | 362 factory ActiveInfo._() { |
| 363 throw new UnsupportedError("Not supported"); |
| 364 } |
336 | 365 |
337 @DomName('WebGLActiveInfo.name') | 366 @DomName('WebGLActiveInfo.name') |
338 @DocsEditable() | 367 @DocsEditable() |
339 final String name; | 368 final String name; |
340 | 369 |
341 @DomName('WebGLActiveInfo.size') | 370 @DomName('WebGLActiveInfo.size') |
342 @DocsEditable() | 371 @DocsEditable() |
343 final int size; | 372 final int size; |
344 | 373 |
345 @DomName('WebGLActiveInfo.type') | 374 @DomName('WebGLActiveInfo.type') |
346 @DocsEditable() | 375 @DocsEditable() |
347 final int type; | 376 final int type; |
348 } | 377 } |
349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
350 // for details. All rights reserved. Use of this source code is governed by a | 379 // for details. All rights reserved. Use of this source code is governed by a |
351 // BSD-style license that can be found in the LICENSE file. | 380 // BSD-style license that can be found in the LICENSE file. |
352 | 381 |
353 | |
354 @DocsEditable() | 382 @DocsEditable() |
355 @DomName('ANGLEInstancedArrays') | 383 @DomName('ANGLEInstancedArrays') |
356 @Experimental() // untriaged | 384 @Experimental() // untriaged |
357 @Native("ANGLEInstancedArrays,ANGLE_instanced_arrays") | 385 @Native("ANGLEInstancedArrays,ANGLE_instanced_arrays") |
358 class AngleInstancedArrays extends Interceptor { | 386 class AngleInstancedArrays extends Interceptor { |
359 // To suppress missing implicit constructor warnings. | 387 // To suppress missing implicit constructor warnings. |
360 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } | 388 factory AngleInstancedArrays._() { |
| 389 throw new UnsupportedError("Not supported"); |
| 390 } |
361 | 391 |
362 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 392 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
363 @DocsEditable() | 393 @DocsEditable() |
364 @Experimental() // untriaged | 394 @Experimental() // untriaged |
365 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 395 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
366 | 396 |
367 @JSName('drawArraysInstancedANGLE') | 397 @JSName('drawArraysInstancedANGLE') |
368 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 398 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
369 @DocsEditable() | 399 @DocsEditable() |
370 @Experimental() // untriaged | 400 @Experimental() // untriaged |
371 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) n
ative; | 401 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) |
| 402 native ; |
372 | 403 |
373 @JSName('drawElementsInstancedANGLE') | 404 @JSName('drawElementsInstancedANGLE') |
374 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') | 405 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') |
375 @DocsEditable() | 406 @DocsEditable() |
376 @Experimental() // untriaged | 407 @Experimental() // untriaged |
377 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int
primcount) native; | 408 void drawElementsInstancedAngle( |
| 409 int mode, int count, int type, int offset, int primcount) native ; |
378 | 410 |
379 @JSName('vertexAttribDivisorANGLE') | 411 @JSName('vertexAttribDivisorANGLE') |
380 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') | 412 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') |
381 @DocsEditable() | 413 @DocsEditable() |
382 @Experimental() // untriaged | 414 @Experimental() // untriaged |
383 void vertexAttribDivisorAngle(int index, int divisor) native; | 415 void vertexAttribDivisorAngle(int index, int divisor) native ; |
384 } | 416 } |
385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
386 // for details. All rights reserved. Use of this source code is governed by a | 418 // for details. All rights reserved. Use of this source code is governed by a |
387 // BSD-style license that can be found in the LICENSE file. | 419 // BSD-style license that can be found in the LICENSE file. |
388 | 420 |
389 | |
390 @DocsEditable() | 421 @DocsEditable() |
391 @DomName('WebGLBuffer') | 422 @DomName('WebGLBuffer') |
392 @Unstable() | 423 @Unstable() |
393 @Native("WebGLBuffer") | 424 @Native("WebGLBuffer") |
394 class Buffer extends Interceptor { | 425 class Buffer extends Interceptor { |
395 // To suppress missing implicit constructor warnings. | 426 // To suppress missing implicit constructor warnings. |
396 factory Buffer._() { throw new UnsupportedError("Not supported"); } | 427 factory Buffer._() { |
| 428 throw new UnsupportedError("Not supported"); |
| 429 } |
397 } | 430 } |
398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
399 // for details. All rights reserved. Use of this source code is governed by a | 432 // for details. All rights reserved. Use of this source code is governed by a |
400 // BSD-style license that can be found in the LICENSE file. | 433 // BSD-style license that can be found in the LICENSE file. |
401 | 434 |
402 | |
403 @DocsEditable() | 435 @DocsEditable() |
404 @DomName('CHROMIUMSubscribeUniform') | 436 @DomName('CHROMIUMSubscribeUniform') |
405 @Experimental() // untriaged | 437 @Experimental() // untriaged |
406 @Native("CHROMIUMSubscribeUniform") | 438 @Native("CHROMIUMSubscribeUniform") |
407 class ChromiumSubscribeUniform extends Interceptor { | 439 class ChromiumSubscribeUniform extends Interceptor { |
408 // To suppress missing implicit constructor warnings. | 440 // To suppress missing implicit constructor warnings. |
409 factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not support
ed"); } | 441 factory ChromiumSubscribeUniform._() { |
| 442 throw new UnsupportedError("Not supported"); |
| 443 } |
410 | 444 |
411 @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM') | 445 @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM') |
412 @DocsEditable() | 446 @DocsEditable() |
413 @Experimental() // untriaged | 447 @Experimental() // untriaged |
414 static const int MOUSE_POSITION_CHROMIUM = 0x924C; | 448 static const int MOUSE_POSITION_CHROMIUM = 0x924C; |
415 | 449 |
416 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM') | 450 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM') |
417 @DocsEditable() | 451 @DocsEditable() |
418 @Experimental() // untriaged | 452 @Experimental() // untriaged |
419 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; | 453 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; |
420 | 454 |
421 @JSName('bindValuebufferCHROMIUM') | 455 @JSName('bindValuebufferCHROMIUM') |
422 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM') | 456 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM') |
423 @DocsEditable() | 457 @DocsEditable() |
424 @Experimental() // untriaged | 458 @Experimental() // untriaged |
425 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native; | 459 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native ; |
426 | 460 |
427 @JSName('createValuebufferCHROMIUM') | 461 @JSName('createValuebufferCHROMIUM') |
428 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM') | 462 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM') |
429 @DocsEditable() | 463 @DocsEditable() |
430 @Experimental() // untriaged | 464 @Experimental() // untriaged |
431 ChromiumValuebuffer createValuebufferChromium() native; | 465 ChromiumValuebuffer createValuebufferChromium() native ; |
432 | 466 |
433 @JSName('deleteValuebufferCHROMIUM') | 467 @JSName('deleteValuebufferCHROMIUM') |
434 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM') | 468 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM') |
435 @DocsEditable() | 469 @DocsEditable() |
436 @Experimental() // untriaged | 470 @Experimental() // untriaged |
437 void deleteValuebufferChromium(ChromiumValuebuffer buffer) native; | 471 void deleteValuebufferChromium(ChromiumValuebuffer buffer) native ; |
438 | 472 |
439 @JSName('isValuebufferCHROMIUM') | 473 @JSName('isValuebufferCHROMIUM') |
440 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM') | 474 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM') |
441 @DocsEditable() | 475 @DocsEditable() |
442 @Experimental() // untriaged | 476 @Experimental() // untriaged |
443 bool isValuebufferChromium(ChromiumValuebuffer buffer) native; | 477 bool isValuebufferChromium(ChromiumValuebuffer buffer) native ; |
444 | 478 |
445 @JSName('populateSubscribedValuesCHROMIUM') | 479 @JSName('populateSubscribedValuesCHROMIUM') |
446 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM') | 480 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM') |
447 @DocsEditable() | 481 @DocsEditable() |
448 @Experimental() // untriaged | 482 @Experimental() // untriaged |
449 void populateSubscribedValuesChromium(int target) native; | 483 void populateSubscribedValuesChromium(int target) native ; |
450 | 484 |
451 @JSName('subscribeValueCHROMIUM') | 485 @JSName('subscribeValueCHROMIUM') |
452 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM') | 486 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM') |
453 @DocsEditable() | 487 @DocsEditable() |
454 @Experimental() // untriaged | 488 @Experimental() // untriaged |
455 void subscribeValueChromium(int target, int subscriptions) native; | 489 void subscribeValueChromium(int target, int subscriptions) native ; |
456 | 490 |
457 @JSName('uniformValuebufferCHROMIUM') | 491 @JSName('uniformValuebufferCHROMIUM') |
458 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM') | 492 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM') |
459 @DocsEditable() | 493 @DocsEditable() |
460 @Experimental() // untriaged | 494 @Experimental() // untriaged |
461 void uniformValuebufferChromium(UniformLocation location, int target, int subs
cription) native; | 495 void uniformValuebufferChromium( |
| 496 UniformLocation location, int target, int subscription) native ; |
462 } | 497 } |
463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
464 // for details. All rights reserved. Use of this source code is governed by a | 499 // for details. All rights reserved. Use of this source code is governed by a |
465 // BSD-style license that can be found in the LICENSE file. | 500 // BSD-style license that can be found in the LICENSE file. |
466 | 501 |
467 | |
468 @DocsEditable() | 502 @DocsEditable() |
469 @DomName('WebGLCompressedTextureATC') | 503 @DomName('WebGLCompressedTextureATC') |
470 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ | 504 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ |
471 @Experimental() | 505 @Experimental() |
472 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") | 506 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") |
473 class CompressedTextureAtc extends Interceptor { | 507 class CompressedTextureAtc extends Interceptor { |
474 // To suppress missing implicit constructor warnings. | 508 // To suppress missing implicit constructor warnings. |
475 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported")
; } | 509 factory CompressedTextureAtc._() { |
| 510 throw new UnsupportedError("Not supported"); |
| 511 } |
476 | 512 |
477 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') | 513 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') |
478 @DocsEditable() | 514 @DocsEditable() |
479 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; | 515 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; |
480 | 516 |
481 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') | 517 @DomName( |
| 518 'WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL') |
482 @DocsEditable() | 519 @DocsEditable() |
483 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; | 520 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; |
484 | 521 |
485 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') | 522 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') |
486 @DocsEditable() | 523 @DocsEditable() |
487 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; | 524 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; |
488 } | 525 } |
489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
490 // for details. All rights reserved. Use of this source code is governed by a | 527 // for details. All rights reserved. Use of this source code is governed by a |
491 // BSD-style license that can be found in the LICENSE file. | 528 // BSD-style license that can be found in the LICENSE file. |
492 | 529 |
493 | |
494 @DocsEditable() | 530 @DocsEditable() |
495 @DomName('WebGLCompressedTextureETC1') | 531 @DomName('WebGLCompressedTextureETC1') |
496 @Experimental() // untriaged | 532 @Experimental() // untriaged |
497 @Native("WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1") | 533 @Native("WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1") |
498 class CompressedTextureETC1 extends Interceptor { | 534 class CompressedTextureETC1 extends Interceptor { |
499 // To suppress missing implicit constructor warnings. | 535 // To suppress missing implicit constructor warnings. |
500 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"
); } | 536 factory CompressedTextureETC1._() { |
| 537 throw new UnsupportedError("Not supported"); |
| 538 } |
501 | 539 |
502 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') | 540 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') |
503 @DocsEditable() | 541 @DocsEditable() |
504 @Experimental() // untriaged | 542 @Experimental() // untriaged |
505 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; | 543 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; |
506 } | 544 } |
507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
508 // for details. All rights reserved. Use of this source code is governed by a | 546 // for details. All rights reserved. Use of this source code is governed by a |
509 // BSD-style license that can be found in the LICENSE file. | 547 // BSD-style license that can be found in the LICENSE file. |
510 | 548 |
511 | |
512 @DocsEditable() | 549 @DocsEditable() |
513 @DomName('WebGLCompressedTexturePVRTC') | 550 @DomName('WebGLCompressedTexturePVRTC') |
514 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ | 551 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ |
515 @Experimental() // experimental | 552 @Experimental() // experimental |
516 @Native("WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc") | 553 @Native("WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc") |
517 class CompressedTexturePvrtc extends Interceptor { | 554 class CompressedTexturePvrtc extends Interceptor { |
518 // To suppress missing implicit constructor warnings. | 555 // To suppress missing implicit constructor warnings. |
519 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported
"); } | 556 factory CompressedTexturePvrtc._() { |
| 557 throw new UnsupportedError("Not supported"); |
| 558 } |
520 | 559 |
521 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') | 560 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') |
522 @DocsEditable() | 561 @DocsEditable() |
523 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; | 562 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; |
524 | 563 |
525 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') | 564 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') |
526 @DocsEditable() | 565 @DocsEditable() |
527 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; | 566 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; |
528 | 567 |
529 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') | 568 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') |
530 @DocsEditable() | 569 @DocsEditable() |
531 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; | 570 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; |
532 | 571 |
533 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') | 572 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') |
534 @DocsEditable() | 573 @DocsEditable() |
535 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; | 574 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; |
536 } | 575 } |
537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
538 // for details. All rights reserved. Use of this source code is governed by a | 577 // for details. All rights reserved. Use of this source code is governed by a |
539 // BSD-style license that can be found in the LICENSE file. | 578 // BSD-style license that can be found in the LICENSE file. |
540 | 579 |
541 | |
542 @DocsEditable() | 580 @DocsEditable() |
543 @DomName('WebGLCompressedTextureS3TC') | 581 @DomName('WebGLCompressedTextureS3TC') |
544 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ | 582 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ |
545 @Experimental() // experimental | 583 @Experimental() // experimental |
546 @Native("WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc") | 584 @Native("WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc") |
547 class CompressedTextureS3TC extends Interceptor { | 585 class CompressedTextureS3TC extends Interceptor { |
548 // To suppress missing implicit constructor warnings. | 586 // To suppress missing implicit constructor warnings. |
549 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"
); } | 587 factory CompressedTextureS3TC._() { |
| 588 throw new UnsupportedError("Not supported"); |
| 589 } |
550 | 590 |
551 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') | 591 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') |
552 @DocsEditable() | 592 @DocsEditable() |
553 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; | 593 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
554 | 594 |
555 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') | 595 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') |
556 @DocsEditable() | 596 @DocsEditable() |
557 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; | 597 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
558 | 598 |
559 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') | 599 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') |
560 @DocsEditable() | 600 @DocsEditable() |
561 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; | 601 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; |
562 | 602 |
563 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') | 603 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') |
564 @DocsEditable() | 604 @DocsEditable() |
565 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; | 605 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; |
566 } | 606 } |
567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
568 // for details. All rights reserved. Use of this source code is governed by a | 608 // for details. All rights reserved. Use of this source code is governed by a |
569 // BSD-style license that can be found in the LICENSE file. | 609 // BSD-style license that can be found in the LICENSE file. |
570 | 610 |
571 | |
572 @DocsEditable() | 611 @DocsEditable() |
573 @DomName('WebGLContextEvent') | 612 @DomName('WebGLContextEvent') |
574 @Unstable() | 613 @Unstable() |
575 @Native("WebGLContextEvent") | 614 @Native("WebGLContextEvent") |
576 class ContextEvent extends Event { | 615 class ContextEvent extends Event { |
577 // To suppress missing implicit constructor warnings. | 616 // To suppress missing implicit constructor warnings. |
578 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 617 factory ContextEvent._() { |
| 618 throw new UnsupportedError("Not supported"); |
| 619 } |
579 | 620 |
580 @DomName('WebGLContextEvent.WebGLContextEvent') | 621 @DomName('WebGLContextEvent.WebGLContextEvent') |
581 @DocsEditable() | 622 @DocsEditable() |
582 factory ContextEvent(String type, [Map eventInit]) { | 623 factory ContextEvent(String type, [Map eventInit]) { |
583 if (eventInit != null) { | 624 if (eventInit != null) { |
584 var eventInit_1 = convertDartToNative_Dictionary(eventInit); | 625 var eventInit_1 = convertDartToNative_Dictionary(eventInit); |
585 return ContextEvent._create_1(type, eventInit_1); | 626 return ContextEvent._create_1(type, eventInit_1); |
586 } | 627 } |
587 return ContextEvent._create_2(type); | 628 return ContextEvent._create_2(type); |
588 } | 629 } |
589 static ContextEvent _create_1(type, eventInit) => JS('ContextEvent', 'new WebG
LContextEvent(#,#)', type, eventInit); | 630 static ContextEvent _create_1(type, eventInit) => |
590 static ContextEvent _create_2(type) => JS('ContextEvent', 'new WebGLContextEve
nt(#)', type); | 631 JS('ContextEvent', 'new WebGLContextEvent(#,#)', type, eventInit); |
| 632 static ContextEvent _create_2(type) => |
| 633 JS('ContextEvent', 'new WebGLContextEvent(#)', type); |
591 | 634 |
592 @DomName('WebGLContextEvent.statusMessage') | 635 @DomName('WebGLContextEvent.statusMessage') |
593 @DocsEditable() | 636 @DocsEditable() |
594 final String statusMessage; | 637 final String statusMessage; |
595 } | 638 } |
596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
597 // for details. All rights reserved. Use of this source code is governed by a | 640 // for details. All rights reserved. Use of this source code is governed by a |
598 // BSD-style license that can be found in the LICENSE file. | 641 // BSD-style license that can be found in the LICENSE file. |
599 | 642 |
600 | |
601 @DocsEditable() | 643 @DocsEditable() |
602 @DomName('WebGLDebugRendererInfo') | 644 @DomName('WebGLDebugRendererInfo') |
603 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ | 645 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ |
604 @Experimental() // experimental | 646 @Experimental() // experimental |
605 @Native("WebGLDebugRendererInfo,WEBGL_debug_renderer_info") | 647 @Native("WebGLDebugRendererInfo,WEBGL_debug_renderer_info") |
606 class DebugRendererInfo extends Interceptor { | 648 class DebugRendererInfo extends Interceptor { |
607 // To suppress missing implicit constructor warnings. | 649 // To suppress missing implicit constructor warnings. |
608 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } | 650 factory DebugRendererInfo._() { |
| 651 throw new UnsupportedError("Not supported"); |
| 652 } |
609 | 653 |
610 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') | 654 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') |
611 @DocsEditable() | 655 @DocsEditable() |
612 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | 656 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
613 | 657 |
614 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') | 658 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') |
615 @DocsEditable() | 659 @DocsEditable() |
616 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | 660 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
617 } | 661 } |
618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
619 // for details. All rights reserved. Use of this source code is governed by a | 663 // for details. All rights reserved. Use of this source code is governed by a |
620 // BSD-style license that can be found in the LICENSE file. | 664 // BSD-style license that can be found in the LICENSE file. |
621 | 665 |
622 | |
623 @DocsEditable() | 666 @DocsEditable() |
624 @DomName('WebGLDebugShaders') | 667 @DomName('WebGLDebugShaders') |
625 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | 668 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
626 @Experimental() // experimental | 669 @Experimental() // experimental |
627 @Native("WebGLDebugShaders,WEBGL_debug_shaders") | 670 @Native("WebGLDebugShaders,WEBGL_debug_shaders") |
628 class DebugShaders extends Interceptor { | 671 class DebugShaders extends Interceptor { |
629 // To suppress missing implicit constructor warnings. | 672 // To suppress missing implicit constructor warnings. |
630 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } | 673 factory DebugShaders._() { |
| 674 throw new UnsupportedError("Not supported"); |
| 675 } |
631 | 676 |
632 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 677 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
633 @DocsEditable() | 678 @DocsEditable() |
634 String getTranslatedShaderSource(Shader shader) native; | 679 String getTranslatedShaderSource(Shader shader) native ; |
635 } | 680 } |
636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
637 // for details. All rights reserved. Use of this source code is governed by a | 682 // for details. All rights reserved. Use of this source code is governed by a |
638 // BSD-style license that can be found in the LICENSE file. | 683 // BSD-style license that can be found in the LICENSE file. |
639 | 684 |
640 | |
641 @DocsEditable() | 685 @DocsEditable() |
642 @DomName('WebGLDepthTexture') | 686 @DomName('WebGLDepthTexture') |
643 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ | 687 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ |
644 @Experimental() // experimental | 688 @Experimental() // experimental |
645 @Native("WebGLDepthTexture,WEBGL_depth_texture") | 689 @Native("WebGLDepthTexture,WEBGL_depth_texture") |
646 class DepthTexture extends Interceptor { | 690 class DepthTexture extends Interceptor { |
647 // To suppress missing implicit constructor warnings. | 691 // To suppress missing implicit constructor warnings. |
648 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } | 692 factory DepthTexture._() { |
| 693 throw new UnsupportedError("Not supported"); |
| 694 } |
649 | 695 |
650 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') | 696 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') |
651 @DocsEditable() | 697 @DocsEditable() |
652 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; | 698 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
653 } | 699 } |
654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
655 // for details. All rights reserved. Use of this source code is governed by a | 701 // for details. All rights reserved. Use of this source code is governed by a |
656 // BSD-style license that can be found in the LICENSE file. | 702 // BSD-style license that can be found in the LICENSE file. |
657 | 703 |
658 | |
659 @DocsEditable() | 704 @DocsEditable() |
660 @DomName('WebGLDrawBuffers') | 705 @DomName('WebGLDrawBuffers') |
661 // http://www.khronos.org/registry/webgl/specs/latest/ | 706 // http://www.khronos.org/registry/webgl/specs/latest/ |
662 @Experimental() // stable | 707 @Experimental() // stable |
663 @Native("WebGLDrawBuffers,WEBGL_draw_buffers") | 708 @Native("WebGLDrawBuffers,WEBGL_draw_buffers") |
664 class DrawBuffers extends Interceptor { | 709 class DrawBuffers extends Interceptor { |
665 // To suppress missing implicit constructor warnings. | 710 // To suppress missing implicit constructor warnings. |
666 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } | 711 factory DrawBuffers._() { |
| 712 throw new UnsupportedError("Not supported"); |
| 713 } |
667 | 714 |
668 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') | 715 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') |
669 @DocsEditable() | 716 @DocsEditable() |
670 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; | 717 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; |
671 | 718 |
672 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') | 719 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') |
673 @DocsEditable() | 720 @DocsEditable() |
674 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; | 721 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; |
675 | 722 |
676 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') | 723 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 @DocsEditable() | 844 @DocsEditable() |
798 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | 845 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; |
799 | 846 |
800 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | 847 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') |
801 @DocsEditable() | 848 @DocsEditable() |
802 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | 849 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; |
803 | 850 |
804 @JSName('drawBuffersWEBGL') | 851 @JSName('drawBuffersWEBGL') |
805 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | 852 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
806 @DocsEditable() | 853 @DocsEditable() |
807 void drawBuffersWebgl(List<int> buffers) native; | 854 void drawBuffersWebgl(List<int> buffers) native ; |
808 } | 855 } |
809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
810 // for details. All rights reserved. Use of this source code is governed by a | 857 // for details. All rights reserved. Use of this source code is governed by a |
811 // BSD-style license that can be found in the LICENSE file. | 858 // BSD-style license that can be found in the LICENSE file. |
812 | 859 |
813 | |
814 @DocsEditable() | 860 @DocsEditable() |
815 @DomName('EXTsRGB') | 861 @DomName('EXTsRGB') |
816 @Experimental() // untriaged | 862 @Experimental() // untriaged |
817 @Native("EXTsRGB,EXT_sRGB") | 863 @Native("EXTsRGB,EXT_sRGB") |
818 class EXTsRgb extends Interceptor { | 864 class EXTsRgb extends Interceptor { |
819 // To suppress missing implicit constructor warnings. | 865 // To suppress missing implicit constructor warnings. |
820 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); } | 866 factory EXTsRgb._() { |
| 867 throw new UnsupportedError("Not supported"); |
| 868 } |
821 | 869 |
822 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') | 870 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') |
823 @DocsEditable() | 871 @DocsEditable() |
824 @Experimental() // untriaged | 872 @Experimental() // untriaged |
825 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; | 873 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; |
826 | 874 |
827 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') | 875 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') |
828 @DocsEditable() | 876 @DocsEditable() |
829 @Experimental() // untriaged | 877 @Experimental() // untriaged |
830 static const int SRGB8_ALPHA8_EXT = 0x8C43; | 878 static const int SRGB8_ALPHA8_EXT = 0x8C43; |
831 | 879 |
832 @DomName('EXTsRGB.SRGB_ALPHA_EXT') | 880 @DomName('EXTsRGB.SRGB_ALPHA_EXT') |
833 @DocsEditable() | 881 @DocsEditable() |
834 @Experimental() // untriaged | 882 @Experimental() // untriaged |
835 static const int SRGB_ALPHA_EXT = 0x8C42; | 883 static const int SRGB_ALPHA_EXT = 0x8C42; |
836 | 884 |
837 @DomName('EXTsRGB.SRGB_EXT') | 885 @DomName('EXTsRGB.SRGB_EXT') |
838 @DocsEditable() | 886 @DocsEditable() |
839 @Experimental() // untriaged | 887 @Experimental() // untriaged |
840 static const int SRGB_EXT = 0x8C40; | 888 static const int SRGB_EXT = 0x8C40; |
841 } | 889 } |
842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
843 // for details. All rights reserved. Use of this source code is governed by a | 891 // for details. All rights reserved. Use of this source code is governed by a |
844 // BSD-style license that can be found in the LICENSE file. | 892 // BSD-style license that can be found in the LICENSE file. |
845 | 893 |
846 | |
847 @DocsEditable() | 894 @DocsEditable() |
848 @DomName('EXTBlendMinMax') | 895 @DomName('EXTBlendMinMax') |
849 @Experimental() // untriaged | 896 @Experimental() // untriaged |
850 @Native("EXTBlendMinMax,EXT_blend_minmax") | 897 @Native("EXTBlendMinMax,EXT_blend_minmax") |
851 class ExtBlendMinMax extends Interceptor { | 898 class ExtBlendMinMax extends Interceptor { |
852 // To suppress missing implicit constructor warnings. | 899 // To suppress missing implicit constructor warnings. |
853 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } | 900 factory ExtBlendMinMax._() { |
| 901 throw new UnsupportedError("Not supported"); |
| 902 } |
854 | 903 |
855 @DomName('EXTBlendMinMax.MAX_EXT') | 904 @DomName('EXTBlendMinMax.MAX_EXT') |
856 @DocsEditable() | 905 @DocsEditable() |
857 @Experimental() // untriaged | 906 @Experimental() // untriaged |
858 static const int MAX_EXT = 0x8008; | 907 static const int MAX_EXT = 0x8008; |
859 | 908 |
860 @DomName('EXTBlendMinMax.MIN_EXT') | 909 @DomName('EXTBlendMinMax.MIN_EXT') |
861 @DocsEditable() | 910 @DocsEditable() |
862 @Experimental() // untriaged | 911 @Experimental() // untriaged |
863 static const int MIN_EXT = 0x8007; | 912 static const int MIN_EXT = 0x8007; |
864 } | 913 } |
865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
866 // for details. All rights reserved. Use of this source code is governed by a | 915 // for details. All rights reserved. Use of this source code is governed by a |
867 // BSD-style license that can be found in the LICENSE file. | 916 // BSD-style license that can be found in the LICENSE file. |
868 | 917 |
869 | |
870 @DocsEditable() | 918 @DocsEditable() |
871 @DomName('EXTFragDepth') | 919 @DomName('EXTFragDepth') |
872 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ | 920 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ |
873 @Experimental() | 921 @Experimental() |
874 @Native("EXTFragDepth,EXT_frag_depth") | 922 @Native("EXTFragDepth,EXT_frag_depth") |
875 class ExtFragDepth extends Interceptor { | 923 class ExtFragDepth extends Interceptor { |
876 // To suppress missing implicit constructor warnings. | 924 // To suppress missing implicit constructor warnings. |
877 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } | 925 factory ExtFragDepth._() { |
| 926 throw new UnsupportedError("Not supported"); |
| 927 } |
878 } | 928 } |
879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
880 // for details. All rights reserved. Use of this source code is governed by a | 930 // for details. All rights reserved. Use of this source code is governed by a |
881 // BSD-style license that can be found in the LICENSE file. | 931 // BSD-style license that can be found in the LICENSE file. |
882 | 932 |
883 | |
884 @DocsEditable() | 933 @DocsEditable() |
885 @DomName('EXTShaderTextureLOD') | 934 @DomName('EXTShaderTextureLOD') |
886 @Experimental() // untriaged | 935 @Experimental() // untriaged |
887 @Native("EXTShaderTextureLOD,EXT_shader_texture_lod") | 936 @Native("EXTShaderTextureLOD,EXT_shader_texture_lod") |
888 class ExtShaderTextureLod extends Interceptor { | 937 class ExtShaderTextureLod extends Interceptor { |
889 // To suppress missing implicit constructor warnings. | 938 // To suppress missing implicit constructor warnings. |
890 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} | 939 factory ExtShaderTextureLod._() { |
| 940 throw new UnsupportedError("Not supported"); |
| 941 } |
891 } | 942 } |
892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
893 // for details. All rights reserved. Use of this source code is governed by a | 944 // for details. All rights reserved. Use of this source code is governed by a |
894 // BSD-style license that can be found in the LICENSE file. | 945 // BSD-style license that can be found in the LICENSE file. |
895 | 946 |
896 | |
897 @DocsEditable() | 947 @DocsEditable() |
898 @DomName('EXTTextureFilterAnisotropic') | 948 @DomName('EXTTextureFilterAnisotropic') |
899 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ | 949 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ |
900 @Experimental() | 950 @Experimental() |
901 @Native("EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic") | 951 @Native("EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic") |
902 class ExtTextureFilterAnisotropic extends Interceptor { | 952 class ExtTextureFilterAnisotropic extends Interceptor { |
903 // To suppress missing implicit constructor warnings. | 953 // To suppress missing implicit constructor warnings. |
904 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp
orted"); } | 954 factory ExtTextureFilterAnisotropic._() { |
| 955 throw new UnsupportedError("Not supported"); |
| 956 } |
905 | 957 |
906 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') | 958 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') |
907 @DocsEditable() | 959 @DocsEditable() |
908 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 960 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
909 | 961 |
910 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') | 962 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') |
911 @DocsEditable() | 963 @DocsEditable() |
912 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 964 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
913 } | 965 } |
914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
915 // for details. All rights reserved. Use of this source code is governed by a | 967 // for details. All rights reserved. Use of this source code is governed by a |
916 // BSD-style license that can be found in the LICENSE file. | 968 // BSD-style license that can be found in the LICENSE file. |
917 | 969 |
918 | |
919 @DocsEditable() | 970 @DocsEditable() |
920 @DomName('WebGLFramebuffer') | 971 @DomName('WebGLFramebuffer') |
921 @Unstable() | 972 @Unstable() |
922 @Native("WebGLFramebuffer") | 973 @Native("WebGLFramebuffer") |
923 class Framebuffer extends Interceptor { | 974 class Framebuffer extends Interceptor { |
924 // To suppress missing implicit constructor warnings. | 975 // To suppress missing implicit constructor warnings. |
925 factory Framebuffer._() { throw new UnsupportedError("Not supported"); } | 976 factory Framebuffer._() { |
| 977 throw new UnsupportedError("Not supported"); |
| 978 } |
926 } | 979 } |
927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
928 // for details. All rights reserved. Use of this source code is governed by a | 981 // for details. All rights reserved. Use of this source code is governed by a |
929 // BSD-style license that can be found in the LICENSE file. | 982 // BSD-style license that can be found in the LICENSE file. |
930 | 983 |
931 | |
932 @DocsEditable() | 984 @DocsEditable() |
933 @DomName('WebGLLoseContext') | 985 @DomName('WebGLLoseContext') |
934 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 986 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
935 @Experimental() | 987 @Experimental() |
936 @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context") | 988 @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context") |
937 class LoseContext extends Interceptor { | 989 class LoseContext extends Interceptor { |
938 // To suppress missing implicit constructor warnings. | 990 // To suppress missing implicit constructor warnings. |
939 factory LoseContext._() { throw new UnsupportedError("Not supported"); } | 991 factory LoseContext._() { |
| 992 throw new UnsupportedError("Not supported"); |
| 993 } |
940 | 994 |
941 @DomName('WebGLLoseContext.loseContext') | 995 @DomName('WebGLLoseContext.loseContext') |
942 @DocsEditable() | 996 @DocsEditable() |
943 void loseContext() native; | 997 void loseContext() native ; |
944 | 998 |
945 @DomName('WebGLLoseContext.restoreContext') | 999 @DomName('WebGLLoseContext.restoreContext') |
946 @DocsEditable() | 1000 @DocsEditable() |
947 void restoreContext() native; | 1001 void restoreContext() native ; |
948 } | 1002 } |
949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
950 // for details. All rights reserved. Use of this source code is governed by a | 1004 // for details. All rights reserved. Use of this source code is governed by a |
951 // BSD-style license that can be found in the LICENSE file. | 1005 // BSD-style license that can be found in the LICENSE file. |
952 | 1006 |
953 | |
954 @DocsEditable() | 1007 @DocsEditable() |
955 @DomName('OESElementIndexUint') | 1008 @DomName('OESElementIndexUint') |
956 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ | 1009 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ |
957 @Experimental() // experimental | 1010 @Experimental() // experimental |
958 @Native("OESElementIndexUint,OES_element_index_uint") | 1011 @Native("OESElementIndexUint,OES_element_index_uint") |
959 class OesElementIndexUint extends Interceptor { | 1012 class OesElementIndexUint extends Interceptor { |
960 // To suppress missing implicit constructor warnings. | 1013 // To suppress missing implicit constructor warnings. |
961 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported");
} | 1014 factory OesElementIndexUint._() { |
| 1015 throw new UnsupportedError("Not supported"); |
| 1016 } |
962 } | 1017 } |
963 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
964 // for details. All rights reserved. Use of this source code is governed by a | 1019 // for details. All rights reserved. Use of this source code is governed by a |
965 // BSD-style license that can be found in the LICENSE file. | 1020 // BSD-style license that can be found in the LICENSE file. |
966 | 1021 |
967 | |
968 @DocsEditable() | 1022 @DocsEditable() |
969 @DomName('OESStandardDerivatives') | 1023 @DomName('OESStandardDerivatives') |
970 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ | 1024 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ |
971 @Experimental() // experimental | 1025 @Experimental() // experimental |
972 @Native("OESStandardDerivatives,OES_standard_derivatives") | 1026 @Native("OESStandardDerivatives,OES_standard_derivatives") |
973 class OesStandardDerivatives extends Interceptor { | 1027 class OesStandardDerivatives extends Interceptor { |
974 // To suppress missing implicit constructor warnings. | 1028 // To suppress missing implicit constructor warnings. |
975 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported
"); } | 1029 factory OesStandardDerivatives._() { |
| 1030 throw new UnsupportedError("Not supported"); |
| 1031 } |
976 | 1032 |
977 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') | 1033 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') |
978 @DocsEditable() | 1034 @DocsEditable() |
979 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; | 1035 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
980 } | 1036 } |
981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
982 // for details. All rights reserved. Use of this source code is governed by a | 1038 // for details. All rights reserved. Use of this source code is governed by a |
983 // BSD-style license that can be found in the LICENSE file. | 1039 // BSD-style license that can be found in the LICENSE file. |
984 | 1040 |
985 | |
986 @DocsEditable() | 1041 @DocsEditable() |
987 @DomName('OESTextureFloat') | 1042 @DomName('OESTextureFloat') |
988 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ | 1043 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ |
989 @Experimental() // experimental | 1044 @Experimental() // experimental |
990 @Native("OESTextureFloat,OES_texture_float") | 1045 @Native("OESTextureFloat,OES_texture_float") |
991 class OesTextureFloat extends Interceptor { | 1046 class OesTextureFloat extends Interceptor { |
992 // To suppress missing implicit constructor warnings. | 1047 // To suppress missing implicit constructor warnings. |
993 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } | 1048 factory OesTextureFloat._() { |
| 1049 throw new UnsupportedError("Not supported"); |
| 1050 } |
994 } | 1051 } |
995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
996 // for details. All rights reserved. Use of this source code is governed by a | 1053 // for details. All rights reserved. Use of this source code is governed by a |
997 // BSD-style license that can be found in the LICENSE file. | 1054 // BSD-style license that can be found in the LICENSE file. |
998 | 1055 |
999 | |
1000 @DocsEditable() | 1056 @DocsEditable() |
1001 @DomName('OESTextureFloatLinear') | 1057 @DomName('OESTextureFloatLinear') |
1002 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ | 1058 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ |
1003 @Experimental() | 1059 @Experimental() |
1004 @Native("OESTextureFloatLinear,OES_texture_float_linear") | 1060 @Native("OESTextureFloatLinear,OES_texture_float_linear") |
1005 class OesTextureFloatLinear extends Interceptor { | 1061 class OesTextureFloatLinear extends Interceptor { |
1006 // To suppress missing implicit constructor warnings. | 1062 // To suppress missing implicit constructor warnings. |
1007 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"
); } | 1063 factory OesTextureFloatLinear._() { |
| 1064 throw new UnsupportedError("Not supported"); |
| 1065 } |
1008 } | 1066 } |
1009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1010 // for details. All rights reserved. Use of this source code is governed by a | 1068 // for details. All rights reserved. Use of this source code is governed by a |
1011 // BSD-style license that can be found in the LICENSE file. | 1069 // BSD-style license that can be found in the LICENSE file. |
1012 | 1070 |
1013 | |
1014 @DocsEditable() | 1071 @DocsEditable() |
1015 @DomName('OESTextureHalfFloat') | 1072 @DomName('OESTextureHalfFloat') |
1016 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ | 1073 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ |
1017 @Experimental() // experimental | 1074 @Experimental() // experimental |
1018 @Native("OESTextureHalfFloat,OES_texture_half_float") | 1075 @Native("OESTextureHalfFloat,OES_texture_half_float") |
1019 class OesTextureHalfFloat extends Interceptor { | 1076 class OesTextureHalfFloat extends Interceptor { |
1020 // To suppress missing implicit constructor warnings. | 1077 // To suppress missing implicit constructor warnings. |
1021 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported");
} | 1078 factory OesTextureHalfFloat._() { |
| 1079 throw new UnsupportedError("Not supported"); |
| 1080 } |
1022 | 1081 |
1023 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') | 1082 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') |
1024 @DocsEditable() | 1083 @DocsEditable() |
1025 static const int HALF_FLOAT_OES = 0x8D61; | 1084 static const int HALF_FLOAT_OES = 0x8D61; |
1026 } | 1085 } |
1027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1028 // for details. All rights reserved. Use of this source code is governed by a | 1087 // for details. All rights reserved. Use of this source code is governed by a |
1029 // BSD-style license that can be found in the LICENSE file. | 1088 // BSD-style license that can be found in the LICENSE file. |
1030 | 1089 |
1031 | |
1032 @DocsEditable() | 1090 @DocsEditable() |
1033 @DomName('OESTextureHalfFloatLinear') | 1091 @DomName('OESTextureHalfFloatLinear') |
1034 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ | 1092 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ |
1035 @Experimental() | 1093 @Experimental() |
1036 @Native("OESTextureHalfFloatLinear,OES_texture_half_float_linear") | 1094 @Native("OESTextureHalfFloatLinear,OES_texture_half_float_linear") |
1037 class OesTextureHalfFloatLinear extends Interceptor { | 1095 class OesTextureHalfFloatLinear extends Interceptor { |
1038 // To suppress missing implicit constructor warnings. | 1096 // To suppress missing implicit constructor warnings. |
1039 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor
ted"); } | 1097 factory OesTextureHalfFloatLinear._() { |
| 1098 throw new UnsupportedError("Not supported"); |
| 1099 } |
1040 } | 1100 } |
1041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1042 // for details. All rights reserved. Use of this source code is governed by a | 1102 // for details. All rights reserved. Use of this source code is governed by a |
1043 // BSD-style license that can be found in the LICENSE file. | 1103 // BSD-style license that can be found in the LICENSE file. |
1044 | 1104 |
1045 | |
1046 @DocsEditable() | 1105 @DocsEditable() |
1047 @DomName('OESVertexArrayObject') | 1106 @DomName('OESVertexArrayObject') |
1048 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 1107 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
1049 @Experimental() // experimental | 1108 @Experimental() // experimental |
1050 @Native("OESVertexArrayObject,OES_vertex_array_object") | 1109 @Native("OESVertexArrayObject,OES_vertex_array_object") |
1051 class OesVertexArrayObject extends Interceptor { | 1110 class OesVertexArrayObject extends Interceptor { |
1052 // To suppress missing implicit constructor warnings. | 1111 // To suppress missing implicit constructor warnings. |
1053 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 1112 factory OesVertexArrayObject._() { |
| 1113 throw new UnsupportedError("Not supported"); |
| 1114 } |
1054 | 1115 |
1055 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1116 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1056 @DocsEditable() | 1117 @DocsEditable() |
1057 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1118 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1058 | 1119 |
1059 @JSName('bindVertexArrayOES') | 1120 @JSName('bindVertexArrayOES') |
1060 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1121 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
1061 @DocsEditable() | 1122 @DocsEditable() |
1062 void bindVertexArray(VertexArrayObjectOes arrayObject) native; | 1123 void bindVertexArray(VertexArrayObjectOes arrayObject) native ; |
1063 | 1124 |
1064 @JSName('createVertexArrayOES') | 1125 @JSName('createVertexArrayOES') |
1065 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1126 @DomName('OESVertexArrayObject.createVertexArrayOES') |
1066 @DocsEditable() | 1127 @DocsEditable() |
1067 VertexArrayObjectOes createVertexArray() native; | 1128 VertexArrayObjectOes createVertexArray() native ; |
1068 | 1129 |
1069 @JSName('deleteVertexArrayOES') | 1130 @JSName('deleteVertexArrayOES') |
1070 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1131 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
1071 @DocsEditable() | 1132 @DocsEditable() |
1072 void deleteVertexArray(VertexArrayObjectOes arrayObject) native; | 1133 void deleteVertexArray(VertexArrayObjectOes arrayObject) native ; |
1073 | 1134 |
1074 @JSName('isVertexArrayOES') | 1135 @JSName('isVertexArrayOES') |
1075 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1136 @DomName('OESVertexArrayObject.isVertexArrayOES') |
1076 @DocsEditable() | 1137 @DocsEditable() |
1077 bool isVertexArray(VertexArrayObjectOes arrayObject) native; | 1138 bool isVertexArray(VertexArrayObjectOes arrayObject) native ; |
1078 } | 1139 } |
1079 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1080 // for details. All rights reserved. Use of this source code is governed by a | 1141 // for details. All rights reserved. Use of this source code is governed by a |
1081 // BSD-style license that can be found in the LICENSE file. | 1142 // BSD-style license that can be found in the LICENSE file. |
1082 | 1143 |
1083 | |
1084 @DocsEditable() | 1144 @DocsEditable() |
1085 @DomName('WebGLProgram') | 1145 @DomName('WebGLProgram') |
1086 @Unstable() | 1146 @Unstable() |
1087 @Native("WebGLProgram") | 1147 @Native("WebGLProgram") |
1088 class Program extends Interceptor { | 1148 class Program extends Interceptor { |
1089 // To suppress missing implicit constructor warnings. | 1149 // To suppress missing implicit constructor warnings. |
1090 factory Program._() { throw new UnsupportedError("Not supported"); } | 1150 factory Program._() { |
| 1151 throw new UnsupportedError("Not supported"); |
| 1152 } |
1091 } | 1153 } |
1092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1093 // for details. All rights reserved. Use of this source code is governed by a | 1155 // for details. All rights reserved. Use of this source code is governed by a |
1094 // BSD-style license that can be found in the LICENSE file. | 1156 // BSD-style license that can be found in the LICENSE file. |
1095 | 1157 |
1096 | |
1097 @DocsEditable() | 1158 @DocsEditable() |
1098 @DomName('WebGLQuery') | 1159 @DomName('WebGLQuery') |
1099 @Experimental() // untriaged | 1160 @Experimental() // untriaged |
1100 @Native("WebGLQuery") | 1161 @Native("WebGLQuery") |
1101 class Query extends Interceptor { | 1162 class Query extends Interceptor { |
1102 // To suppress missing implicit constructor warnings. | 1163 // To suppress missing implicit constructor warnings. |
1103 factory Query._() { throw new UnsupportedError("Not supported"); } | 1164 factory Query._() { |
| 1165 throw new UnsupportedError("Not supported"); |
| 1166 } |
1104 } | 1167 } |
1105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1106 // for details. All rights reserved. Use of this source code is governed by a | 1169 // for details. All rights reserved. Use of this source code is governed by a |
1107 // BSD-style license that can be found in the LICENSE file. | 1170 // BSD-style license that can be found in the LICENSE file. |
1108 | 1171 |
1109 | |
1110 @DocsEditable() | 1172 @DocsEditable() |
1111 @DomName('WebGLRenderbuffer') | 1173 @DomName('WebGLRenderbuffer') |
1112 @Unstable() | 1174 @Unstable() |
1113 @Native("WebGLRenderbuffer") | 1175 @Native("WebGLRenderbuffer") |
1114 class Renderbuffer extends Interceptor { | 1176 class Renderbuffer extends Interceptor { |
1115 // To suppress missing implicit constructor warnings. | 1177 // To suppress missing implicit constructor warnings. |
1116 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } | 1178 factory Renderbuffer._() { |
| 1179 throw new UnsupportedError("Not supported"); |
| 1180 } |
1117 } | 1181 } |
1118 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1182 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
1119 // for details. All rights reserved. Use of this source code is governed by a | 1183 // for details. All rights reserved. Use of this source code is governed by a |
1120 // BSD-style license that can be found in the LICENSE file. | 1184 // BSD-style license that can be found in the LICENSE file. |
1121 | 1185 |
1122 | |
1123 @DomName('WebGLRenderingContext') | 1186 @DomName('WebGLRenderingContext') |
1124 @SupportedBrowser(SupportedBrowser.CHROME) | 1187 @SupportedBrowser(SupportedBrowser.CHROME) |
1125 @SupportedBrowser(SupportedBrowser.FIREFOX) | 1188 @SupportedBrowser(SupportedBrowser.FIREFOX) |
1126 @Experimental() | 1189 @Experimental() |
1127 @Unstable() | 1190 @Unstable() |
1128 @Native("WebGLRenderingContext") | 1191 @Native("WebGLRenderingContext") |
1129 class RenderingContext extends Interceptor implements CanvasRenderingContext { | 1192 class RenderingContext extends Interceptor implements CanvasRenderingContext { |
1130 // To suppress missing implicit constructor warnings. | 1193 // To suppress missing implicit constructor warnings. |
1131 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } | 1194 factory RenderingContext._() { |
| 1195 throw new UnsupportedError("Not supported"); |
| 1196 } |
1132 | 1197 |
1133 /// Checks if this type is supported on the current platform. | 1198 /// Checks if this type is supported on the current platform. |
1134 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); | 1199 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); |
1135 | 1200 |
1136 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') | 1201 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') |
1137 @DocsEditable() | 1202 @DocsEditable() |
1138 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 1203 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
1139 | 1204 |
1140 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') | 1205 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') |
1141 @DocsEditable() | 1206 @DocsEditable() |
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2333 @DomName('WebGLRenderingContext.drawingBufferHeight') | 2398 @DomName('WebGLRenderingContext.drawingBufferHeight') |
2334 @DocsEditable() | 2399 @DocsEditable() |
2335 final int drawingBufferHeight; | 2400 final int drawingBufferHeight; |
2336 | 2401 |
2337 @DomName('WebGLRenderingContext.drawingBufferWidth') | 2402 @DomName('WebGLRenderingContext.drawingBufferWidth') |
2338 @DocsEditable() | 2403 @DocsEditable() |
2339 final int drawingBufferWidth; | 2404 final int drawingBufferWidth; |
2340 | 2405 |
2341 @DomName('WebGLRenderingContext.activeTexture') | 2406 @DomName('WebGLRenderingContext.activeTexture') |
2342 @DocsEditable() | 2407 @DocsEditable() |
2343 void activeTexture(int texture) native; | 2408 void activeTexture(int texture) native ; |
2344 | 2409 |
2345 @DomName('WebGLRenderingContext.attachShader') | 2410 @DomName('WebGLRenderingContext.attachShader') |
2346 @DocsEditable() | 2411 @DocsEditable() |
2347 void attachShader(Program program, Shader shader) native; | 2412 void attachShader(Program program, Shader shader) native ; |
2348 | 2413 |
2349 @DomName('WebGLRenderingContext.bindAttribLocation') | 2414 @DomName('WebGLRenderingContext.bindAttribLocation') |
2350 @DocsEditable() | 2415 @DocsEditable() |
2351 void bindAttribLocation(Program program, int index, String name) native; | 2416 void bindAttribLocation(Program program, int index, String name) native ; |
2352 | 2417 |
2353 @DomName('WebGLRenderingContext.bindBuffer') | 2418 @DomName('WebGLRenderingContext.bindBuffer') |
2354 @DocsEditable() | 2419 @DocsEditable() |
2355 void bindBuffer(int target, Buffer buffer) native; | 2420 void bindBuffer(int target, Buffer buffer) native ; |
2356 | 2421 |
2357 @DomName('WebGLRenderingContext.bindFramebuffer') | 2422 @DomName('WebGLRenderingContext.bindFramebuffer') |
2358 @DocsEditable() | 2423 @DocsEditable() |
2359 void bindFramebuffer(int target, Framebuffer framebuffer) native; | 2424 void bindFramebuffer(int target, Framebuffer framebuffer) native ; |
2360 | 2425 |
2361 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2426 @DomName('WebGLRenderingContext.bindRenderbuffer') |
2362 @DocsEditable() | 2427 @DocsEditable() |
2363 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; | 2428 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native ; |
2364 | 2429 |
2365 @DomName('WebGLRenderingContext.bindTexture') | 2430 @DomName('WebGLRenderingContext.bindTexture') |
2366 @DocsEditable() | 2431 @DocsEditable() |
2367 void bindTexture(int target, Texture texture) native; | 2432 void bindTexture(int target, Texture texture) native ; |
2368 | 2433 |
2369 @DomName('WebGLRenderingContext.blendColor') | 2434 @DomName('WebGLRenderingContext.blendColor') |
2370 @DocsEditable() | 2435 @DocsEditable() |
2371 void blendColor(num red, num green, num blue, num alpha) native; | 2436 void blendColor(num red, num green, num blue, num alpha) native ; |
2372 | 2437 |
2373 @DomName('WebGLRenderingContext.blendEquation') | 2438 @DomName('WebGLRenderingContext.blendEquation') |
2374 @DocsEditable() | 2439 @DocsEditable() |
2375 void blendEquation(int mode) native; | 2440 void blendEquation(int mode) native ; |
2376 | 2441 |
2377 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2442 @DomName('WebGLRenderingContext.blendEquationSeparate') |
2378 @DocsEditable() | 2443 @DocsEditable() |
2379 void blendEquationSeparate(int modeRGB, int modeAlpha) native; | 2444 void blendEquationSeparate(int modeRGB, int modeAlpha) native ; |
2380 | 2445 |
2381 @DomName('WebGLRenderingContext.blendFunc') | 2446 @DomName('WebGLRenderingContext.blendFunc') |
2382 @DocsEditable() | 2447 @DocsEditable() |
2383 void blendFunc(int sfactor, int dfactor) native; | 2448 void blendFunc(int sfactor, int dfactor) native ; |
2384 | 2449 |
2385 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2450 @DomName('WebGLRenderingContext.blendFuncSeparate') |
2386 @DocsEditable() | 2451 @DocsEditable() |
2387 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; | 2452 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) |
| 2453 native ; |
2388 | 2454 |
2389 @DomName('WebGLRenderingContext.bufferData') | 2455 @DomName('WebGLRenderingContext.bufferData') |
2390 @DocsEditable() | 2456 @DocsEditable() |
2391 void bufferData(int target, data_OR_size, int usage) native; | 2457 void bufferData(int target, data_OR_size, int usage) native ; |
2392 | 2458 |
2393 @DomName('WebGLRenderingContext.bufferSubData') | 2459 @DomName('WebGLRenderingContext.bufferSubData') |
2394 @DocsEditable() | 2460 @DocsEditable() |
2395 void bufferSubData(int target, int offset, data) native; | 2461 void bufferSubData(int target, int offset, data) native ; |
2396 | 2462 |
2397 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2463 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
2398 @DocsEditable() | 2464 @DocsEditable() |
2399 int checkFramebufferStatus(int target) native; | 2465 int checkFramebufferStatus(int target) native ; |
2400 | 2466 |
2401 @DomName('WebGLRenderingContext.clear') | 2467 @DomName('WebGLRenderingContext.clear') |
2402 @DocsEditable() | 2468 @DocsEditable() |
2403 void clear(int mask) native; | 2469 void clear(int mask) native ; |
2404 | 2470 |
2405 @DomName('WebGLRenderingContext.clearColor') | 2471 @DomName('WebGLRenderingContext.clearColor') |
2406 @DocsEditable() | 2472 @DocsEditable() |
2407 void clearColor(num red, num green, num blue, num alpha) native; | 2473 void clearColor(num red, num green, num blue, num alpha) native ; |
2408 | 2474 |
2409 @DomName('WebGLRenderingContext.clearDepth') | 2475 @DomName('WebGLRenderingContext.clearDepth') |
2410 @DocsEditable() | 2476 @DocsEditable() |
2411 void clearDepth(num depth) native; | 2477 void clearDepth(num depth) native ; |
2412 | 2478 |
2413 @DomName('WebGLRenderingContext.clearStencil') | 2479 @DomName('WebGLRenderingContext.clearStencil') |
2414 @DocsEditable() | 2480 @DocsEditable() |
2415 void clearStencil(int s) native; | 2481 void clearStencil(int s) native ; |
2416 | 2482 |
2417 @DomName('WebGLRenderingContext.colorMask') | 2483 @DomName('WebGLRenderingContext.colorMask') |
2418 @DocsEditable() | 2484 @DocsEditable() |
2419 void colorMask(bool red, bool green, bool blue, bool alpha) native; | 2485 void colorMask(bool red, bool green, bool blue, bool alpha) native ; |
2420 | 2486 |
2421 @DomName('WebGLRenderingContext.compileShader') | 2487 @DomName('WebGLRenderingContext.compileShader') |
2422 @DocsEditable() | 2488 @DocsEditable() |
2423 void compileShader(Shader shader) native; | 2489 void compileShader(Shader shader) native ; |
2424 | 2490 |
2425 @DomName('WebGLRenderingContext.compressedTexImage2D') | 2491 @DomName('WebGLRenderingContext.compressedTexImage2D') |
2426 @DocsEditable() | 2492 @DocsEditable() |
2427 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) native; | 2493 void compressedTexImage2D(int target, int level, int internalformat, |
| 2494 int width, int height, int border, TypedData data) native ; |
2428 | 2495 |
2429 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | 2496 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
2430 @DocsEditable() | 2497 @DocsEditable() |
2431 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) native; | 2498 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, |
| 2499 int width, int height, int format, TypedData data) native ; |
2432 | 2500 |
2433 @DomName('WebGLRenderingContext.copyTexImage2D') | 2501 @DomName('WebGLRenderingContext.copyTexImage2D') |
2434 @DocsEditable() | 2502 @DocsEditable() |
2435 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; | 2503 void copyTexImage2D(int target, int level, int internalformat, int x, int y, |
| 2504 int width, int height, int border) native ; |
2436 | 2505 |
2437 @DomName('WebGLRenderingContext.copyTexSubImage2D') | 2506 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
2438 @DocsEditable() | 2507 @DocsEditable() |
2439 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; | 2508 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, |
| 2509 int y, int width, int height) native ; |
2440 | 2510 |
2441 @DomName('WebGLRenderingContext.createBuffer') | 2511 @DomName('WebGLRenderingContext.createBuffer') |
2442 @DocsEditable() | 2512 @DocsEditable() |
2443 Buffer createBuffer() native; | 2513 Buffer createBuffer() native ; |
2444 | 2514 |
2445 @DomName('WebGLRenderingContext.createFramebuffer') | 2515 @DomName('WebGLRenderingContext.createFramebuffer') |
2446 @DocsEditable() | 2516 @DocsEditable() |
2447 Framebuffer createFramebuffer() native; | 2517 Framebuffer createFramebuffer() native ; |
2448 | 2518 |
2449 @DomName('WebGLRenderingContext.createProgram') | 2519 @DomName('WebGLRenderingContext.createProgram') |
2450 @DocsEditable() | 2520 @DocsEditable() |
2451 Program createProgram() native; | 2521 Program createProgram() native ; |
2452 | 2522 |
2453 @DomName('WebGLRenderingContext.createRenderbuffer') | 2523 @DomName('WebGLRenderingContext.createRenderbuffer') |
2454 @DocsEditable() | 2524 @DocsEditable() |
2455 Renderbuffer createRenderbuffer() native; | 2525 Renderbuffer createRenderbuffer() native ; |
2456 | 2526 |
2457 @DomName('WebGLRenderingContext.createShader') | 2527 @DomName('WebGLRenderingContext.createShader') |
2458 @DocsEditable() | 2528 @DocsEditable() |
2459 Shader createShader(int type) native; | 2529 Shader createShader(int type) native ; |
2460 | 2530 |
2461 @DomName('WebGLRenderingContext.createTexture') | 2531 @DomName('WebGLRenderingContext.createTexture') |
2462 @DocsEditable() | 2532 @DocsEditable() |
2463 Texture createTexture() native; | 2533 Texture createTexture() native ; |
2464 | 2534 |
2465 @DomName('WebGLRenderingContext.cullFace') | 2535 @DomName('WebGLRenderingContext.cullFace') |
2466 @DocsEditable() | 2536 @DocsEditable() |
2467 void cullFace(int mode) native; | 2537 void cullFace(int mode) native ; |
2468 | 2538 |
2469 @DomName('WebGLRenderingContext.deleteBuffer') | 2539 @DomName('WebGLRenderingContext.deleteBuffer') |
2470 @DocsEditable() | 2540 @DocsEditable() |
2471 void deleteBuffer(Buffer buffer) native; | 2541 void deleteBuffer(Buffer buffer) native ; |
2472 | 2542 |
2473 @DomName('WebGLRenderingContext.deleteFramebuffer') | 2543 @DomName('WebGLRenderingContext.deleteFramebuffer') |
2474 @DocsEditable() | 2544 @DocsEditable() |
2475 void deleteFramebuffer(Framebuffer framebuffer) native; | 2545 void deleteFramebuffer(Framebuffer framebuffer) native ; |
2476 | 2546 |
2477 @DomName('WebGLRenderingContext.deleteProgram') | 2547 @DomName('WebGLRenderingContext.deleteProgram') |
2478 @DocsEditable() | 2548 @DocsEditable() |
2479 void deleteProgram(Program program) native; | 2549 void deleteProgram(Program program) native ; |
2480 | 2550 |
2481 @DomName('WebGLRenderingContext.deleteRenderbuffer') | 2551 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
2482 @DocsEditable() | 2552 @DocsEditable() |
2483 void deleteRenderbuffer(Renderbuffer renderbuffer) native; | 2553 void deleteRenderbuffer(Renderbuffer renderbuffer) native ; |
2484 | 2554 |
2485 @DomName('WebGLRenderingContext.deleteShader') | 2555 @DomName('WebGLRenderingContext.deleteShader') |
2486 @DocsEditable() | 2556 @DocsEditable() |
2487 void deleteShader(Shader shader) native; | 2557 void deleteShader(Shader shader) native ; |
2488 | 2558 |
2489 @DomName('WebGLRenderingContext.deleteTexture') | 2559 @DomName('WebGLRenderingContext.deleteTexture') |
2490 @DocsEditable() | 2560 @DocsEditable() |
2491 void deleteTexture(Texture texture) native; | 2561 void deleteTexture(Texture texture) native ; |
2492 | 2562 |
2493 @DomName('WebGLRenderingContext.depthFunc') | 2563 @DomName('WebGLRenderingContext.depthFunc') |
2494 @DocsEditable() | 2564 @DocsEditable() |
2495 void depthFunc(int func) native; | 2565 void depthFunc(int func) native ; |
2496 | 2566 |
2497 @DomName('WebGLRenderingContext.depthMask') | 2567 @DomName('WebGLRenderingContext.depthMask') |
2498 @DocsEditable() | 2568 @DocsEditable() |
2499 void depthMask(bool flag) native; | 2569 void depthMask(bool flag) native ; |
2500 | 2570 |
2501 @DomName('WebGLRenderingContext.depthRange') | 2571 @DomName('WebGLRenderingContext.depthRange') |
2502 @DocsEditable() | 2572 @DocsEditable() |
2503 void depthRange(num zNear, num zFar) native; | 2573 void depthRange(num zNear, num zFar) native ; |
2504 | 2574 |
2505 @DomName('WebGLRenderingContext.detachShader') | 2575 @DomName('WebGLRenderingContext.detachShader') |
2506 @DocsEditable() | 2576 @DocsEditable() |
2507 void detachShader(Program program, Shader shader) native; | 2577 void detachShader(Program program, Shader shader) native ; |
2508 | 2578 |
2509 @DomName('WebGLRenderingContext.disable') | 2579 @DomName('WebGLRenderingContext.disable') |
2510 @DocsEditable() | 2580 @DocsEditable() |
2511 void disable(int cap) native; | 2581 void disable(int cap) native ; |
2512 | 2582 |
2513 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2583 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
2514 @DocsEditable() | 2584 @DocsEditable() |
2515 void disableVertexAttribArray(int index) native; | 2585 void disableVertexAttribArray(int index) native ; |
2516 | 2586 |
2517 @DomName('WebGLRenderingContext.drawArrays') | 2587 @DomName('WebGLRenderingContext.drawArrays') |
2518 @DocsEditable() | 2588 @DocsEditable() |
2519 void drawArrays(int mode, int first, int count) native; | 2589 void drawArrays(int mode, int first, int count) native ; |
2520 | 2590 |
2521 @DomName('WebGLRenderingContext.drawElements') | 2591 @DomName('WebGLRenderingContext.drawElements') |
2522 @DocsEditable() | 2592 @DocsEditable() |
2523 void drawElements(int mode, int count, int type, int offset) native; | 2593 void drawElements(int mode, int count, int type, int offset) native ; |
2524 | 2594 |
2525 @DomName('WebGLRenderingContext.enable') | 2595 @DomName('WebGLRenderingContext.enable') |
2526 @DocsEditable() | 2596 @DocsEditable() |
2527 void enable(int cap) native; | 2597 void enable(int cap) native ; |
2528 | 2598 |
2529 @DomName('WebGLRenderingContext.enableVertexAttribArray') | 2599 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
2530 @DocsEditable() | 2600 @DocsEditable() |
2531 void enableVertexAttribArray(int index) native; | 2601 void enableVertexAttribArray(int index) native ; |
2532 | 2602 |
2533 @DomName('WebGLRenderingContext.finish') | 2603 @DomName('WebGLRenderingContext.finish') |
2534 @DocsEditable() | 2604 @DocsEditable() |
2535 void finish() native; | 2605 void finish() native ; |
2536 | 2606 |
2537 @DomName('WebGLRenderingContext.flush') | 2607 @DomName('WebGLRenderingContext.flush') |
2538 @DocsEditable() | 2608 @DocsEditable() |
2539 void flush() native; | 2609 void flush() native ; |
2540 | 2610 |
2541 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | 2611 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
2542 @DocsEditable() | 2612 @DocsEditable() |
2543 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) native; | 2613 void framebufferRenderbuffer(int target, int attachment, |
| 2614 int renderbuffertarget, Renderbuffer renderbuffer) native ; |
2544 | 2615 |
2545 @DomName('WebGLRenderingContext.framebufferTexture2D') | 2616 @DomName('WebGLRenderingContext.framebufferTexture2D') |
2546 @DocsEditable() | 2617 @DocsEditable() |
2547 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) native; | 2618 void framebufferTexture2D(int target, int attachment, int textarget, |
| 2619 Texture texture, int level) native ; |
2548 | 2620 |
2549 @DomName('WebGLRenderingContext.frontFace') | 2621 @DomName('WebGLRenderingContext.frontFace') |
2550 @DocsEditable() | 2622 @DocsEditable() |
2551 void frontFace(int mode) native; | 2623 void frontFace(int mode) native ; |
2552 | 2624 |
2553 @DomName('WebGLRenderingContext.generateMipmap') | 2625 @DomName('WebGLRenderingContext.generateMipmap') |
2554 @DocsEditable() | 2626 @DocsEditable() |
2555 void generateMipmap(int target) native; | 2627 void generateMipmap(int target) native ; |
2556 | 2628 |
2557 @DomName('WebGLRenderingContext.getActiveAttrib') | 2629 @DomName('WebGLRenderingContext.getActiveAttrib') |
2558 @DocsEditable() | 2630 @DocsEditable() |
2559 ActiveInfo getActiveAttrib(Program program, int index) native; | 2631 ActiveInfo getActiveAttrib(Program program, int index) native ; |
2560 | 2632 |
2561 @DomName('WebGLRenderingContext.getActiveUniform') | 2633 @DomName('WebGLRenderingContext.getActiveUniform') |
2562 @DocsEditable() | 2634 @DocsEditable() |
2563 ActiveInfo getActiveUniform(Program program, int index) native; | 2635 ActiveInfo getActiveUniform(Program program, int index) native ; |
2564 | 2636 |
2565 @DomName('WebGLRenderingContext.getAttachedShaders') | 2637 @DomName('WebGLRenderingContext.getAttachedShaders') |
2566 @DocsEditable() | 2638 @DocsEditable() |
2567 List<Shader> getAttachedShaders(Program program) native; | 2639 List<Shader> getAttachedShaders(Program program) native ; |
2568 | 2640 |
2569 @DomName('WebGLRenderingContext.getAttribLocation') | 2641 @DomName('WebGLRenderingContext.getAttribLocation') |
2570 @DocsEditable() | 2642 @DocsEditable() |
2571 int getAttribLocation(Program program, String name) native; | 2643 int getAttribLocation(Program program, String name) native ; |
2572 | 2644 |
2573 @DomName('WebGLRenderingContext.getBufferParameter') | 2645 @DomName('WebGLRenderingContext.getBufferParameter') |
2574 @DocsEditable() | 2646 @DocsEditable() |
2575 @Creates('int|Null') | 2647 @Creates('int|Null') |
2576 @Returns('int|Null') | 2648 @Returns('int|Null') |
2577 Object getBufferParameter(int target, int pname) native; | 2649 Object getBufferParameter(int target, int pname) native ; |
2578 | 2650 |
2579 @DomName('WebGLRenderingContext.getContextAttributes') | 2651 @DomName('WebGLRenderingContext.getContextAttributes') |
2580 @DocsEditable() | 2652 @DocsEditable() |
2581 @Creates('ContextAttributes|Null') | 2653 @Creates('ContextAttributes|Null') |
2582 Map getContextAttributes() { | 2654 Map getContextAttributes() { |
2583 return convertNativeToDart_Dictionary(_getContextAttributes_1()); | 2655 return convertNativeToDart_Dictionary(_getContextAttributes_1()); |
2584 } | 2656 } |
| 2657 |
2585 @JSName('getContextAttributes') | 2658 @JSName('getContextAttributes') |
2586 @DomName('WebGLRenderingContext.getContextAttributes') | 2659 @DomName('WebGLRenderingContext.getContextAttributes') |
2587 @DocsEditable() | 2660 @DocsEditable() |
2588 @Creates('ContextAttributes|Null') | 2661 @Creates('ContextAttributes|Null') |
2589 _getContextAttributes_1() native; | 2662 _getContextAttributes_1() native ; |
2590 | 2663 |
2591 @DomName('WebGLRenderingContext.getError') | 2664 @DomName('WebGLRenderingContext.getError') |
2592 @DocsEditable() | 2665 @DocsEditable() |
2593 int getError() native; | 2666 int getError() native ; |
2594 | 2667 |
2595 @DomName('WebGLRenderingContext.getExtension') | 2668 @DomName('WebGLRenderingContext.getExtension') |
2596 @DocsEditable() | 2669 @DocsEditable() |
2597 Object getExtension(String name) native; | 2670 Object getExtension(String name) native ; |
2598 | 2671 |
2599 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2672 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
2600 @DocsEditable() | 2673 @DocsEditable() |
2601 @Creates('int|Renderbuffer|Texture|Null') | 2674 @Creates('int|Renderbuffer|Texture|Null') |
2602 @Returns('int|Renderbuffer|Texture|Null') | 2675 @Returns('int|Renderbuffer|Texture|Null') |
2603 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; | 2676 Object getFramebufferAttachmentParameter( |
| 2677 int target, int attachment, int pname) native ; |
2604 | 2678 |
2605 @DomName('WebGLRenderingContext.getParameter') | 2679 @DomName('WebGLRenderingContext.getParameter') |
2606 @DocsEditable() | 2680 @DocsEditable() |
2607 @Creates('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32
List|NativeUint32List|Framebuffer|Renderbuffer|Texture') | 2681 @Creates( |
2608 @Returns('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32
List|NativeUint32List|Framebuffer|Renderbuffer|Texture') | 2682 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List|Framebuffer|Renderbuffer|Texture') |
2609 Object getParameter(int pname) native; | 2683 @Returns( |
| 2684 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List|Framebuffer|Renderbuffer|Texture') |
| 2685 Object getParameter(int pname) native ; |
2610 | 2686 |
2611 @DomName('WebGLRenderingContext.getProgramInfoLog') | 2687 @DomName('WebGLRenderingContext.getProgramInfoLog') |
2612 @DocsEditable() | 2688 @DocsEditable() |
2613 String getProgramInfoLog(Program program) native; | 2689 String getProgramInfoLog(Program program) native ; |
2614 | 2690 |
2615 @DomName('WebGLRenderingContext.getProgramParameter') | 2691 @DomName('WebGLRenderingContext.getProgramParameter') |
2616 @DocsEditable() | 2692 @DocsEditable() |
2617 @Creates('int|bool|Null') | 2693 @Creates('int|bool|Null') |
2618 @Returns('int|bool|Null') | 2694 @Returns('int|bool|Null') |
2619 Object getProgramParameter(Program program, int pname) native; | 2695 Object getProgramParameter(Program program, int pname) native ; |
2620 | 2696 |
2621 @DomName('WebGLRenderingContext.getRenderbufferParameter') | 2697 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
2622 @DocsEditable() | 2698 @DocsEditable() |
2623 @Creates('int|Null') | 2699 @Creates('int|Null') |
2624 @Returns('int|Null') | 2700 @Returns('int|Null') |
2625 Object getRenderbufferParameter(int target, int pname) native; | 2701 Object getRenderbufferParameter(int target, int pname) native ; |
2626 | 2702 |
2627 @DomName('WebGLRenderingContext.getShaderInfoLog') | 2703 @DomName('WebGLRenderingContext.getShaderInfoLog') |
2628 @DocsEditable() | 2704 @DocsEditable() |
2629 String getShaderInfoLog(Shader shader) native; | 2705 String getShaderInfoLog(Shader shader) native ; |
2630 | 2706 |
2631 @DomName('WebGLRenderingContext.getShaderParameter') | 2707 @DomName('WebGLRenderingContext.getShaderParameter') |
2632 @DocsEditable() | 2708 @DocsEditable() |
2633 @Creates('int|bool|Null') | 2709 @Creates('int|bool|Null') |
2634 @Returns('int|bool|Null') | 2710 @Returns('int|bool|Null') |
2635 Object getShaderParameter(Shader shader, int pname) native; | 2711 Object getShaderParameter(Shader shader, int pname) native ; |
2636 | 2712 |
2637 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | 2713 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
2638 @DocsEditable() | 2714 @DocsEditable() |
2639 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) native; | 2715 ShaderPrecisionFormat getShaderPrecisionFormat( |
| 2716 int shadertype, int precisiontype) native ; |
2640 | 2717 |
2641 @DomName('WebGLRenderingContext.getShaderSource') | 2718 @DomName('WebGLRenderingContext.getShaderSource') |
2642 @DocsEditable() | 2719 @DocsEditable() |
2643 String getShaderSource(Shader shader) native; | 2720 String getShaderSource(Shader shader) native ; |
2644 | 2721 |
2645 @DomName('WebGLRenderingContext.getSupportedExtensions') | 2722 @DomName('WebGLRenderingContext.getSupportedExtensions') |
2646 @DocsEditable() | 2723 @DocsEditable() |
2647 List<String> getSupportedExtensions() native; | 2724 List<String> getSupportedExtensions() native ; |
2648 | 2725 |
2649 @DomName('WebGLRenderingContext.getTexParameter') | 2726 @DomName('WebGLRenderingContext.getTexParameter') |
2650 @DocsEditable() | 2727 @DocsEditable() |
2651 @Creates('int|Null') | 2728 @Creates('int|Null') |
2652 @Returns('int|Null') | 2729 @Returns('int|Null') |
2653 Object getTexParameter(int target, int pname) native; | 2730 Object getTexParameter(int target, int pname) native ; |
2654 | 2731 |
2655 @DomName('WebGLRenderingContext.getUniform') | 2732 @DomName('WebGLRenderingContext.getUniform') |
2656 @DocsEditable() | 2733 @DocsEditable() |
2657 @Creates('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32
List|NativeUint32List') | 2734 @Creates( |
2658 @Returns('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32
List|NativeUint32List') | 2735 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List') |
2659 Object getUniform(Program program, UniformLocation location) native; | 2736 @Returns( |
| 2737 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List') |
| 2738 Object getUniform(Program program, UniformLocation location) native ; |
2660 | 2739 |
2661 @DomName('WebGLRenderingContext.getUniformLocation') | 2740 @DomName('WebGLRenderingContext.getUniformLocation') |
2662 @DocsEditable() | 2741 @DocsEditable() |
2663 UniformLocation getUniformLocation(Program program, String name) native; | 2742 UniformLocation getUniformLocation(Program program, String name) native ; |
2664 | 2743 |
2665 @DomName('WebGLRenderingContext.getVertexAttrib') | 2744 @DomName('WebGLRenderingContext.getVertexAttrib') |
2666 @DocsEditable() | 2745 @DocsEditable() |
2667 @Creates('Null|num|bool|NativeFloat32List|Buffer') | 2746 @Creates('Null|num|bool|NativeFloat32List|Buffer') |
2668 @Returns('Null|num|bool|NativeFloat32List|Buffer') | 2747 @Returns('Null|num|bool|NativeFloat32List|Buffer') |
2669 Object getVertexAttrib(int index, int pname) native; | 2748 Object getVertexAttrib(int index, int pname) native ; |
2670 | 2749 |
2671 @DomName('WebGLRenderingContext.getVertexAttribOffset') | 2750 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
2672 @DocsEditable() | 2751 @DocsEditable() |
2673 int getVertexAttribOffset(int index, int pname) native; | 2752 int getVertexAttribOffset(int index, int pname) native ; |
2674 | 2753 |
2675 @DomName('WebGLRenderingContext.hint') | 2754 @DomName('WebGLRenderingContext.hint') |
2676 @DocsEditable() | 2755 @DocsEditable() |
2677 void hint(int target, int mode) native; | 2756 void hint(int target, int mode) native ; |
2678 | 2757 |
2679 @DomName('WebGLRenderingContext.isBuffer') | 2758 @DomName('WebGLRenderingContext.isBuffer') |
2680 @DocsEditable() | 2759 @DocsEditable() |
2681 bool isBuffer(Buffer buffer) native; | 2760 bool isBuffer(Buffer buffer) native ; |
2682 | 2761 |
2683 @DomName('WebGLRenderingContext.isContextLost') | 2762 @DomName('WebGLRenderingContext.isContextLost') |
2684 @DocsEditable() | 2763 @DocsEditable() |
2685 bool isContextLost() native; | 2764 bool isContextLost() native ; |
2686 | 2765 |
2687 @DomName('WebGLRenderingContext.isEnabled') | 2766 @DomName('WebGLRenderingContext.isEnabled') |
2688 @DocsEditable() | 2767 @DocsEditable() |
2689 bool isEnabled(int cap) native; | 2768 bool isEnabled(int cap) native ; |
2690 | 2769 |
2691 @DomName('WebGLRenderingContext.isFramebuffer') | 2770 @DomName('WebGLRenderingContext.isFramebuffer') |
2692 @DocsEditable() | 2771 @DocsEditable() |
2693 bool isFramebuffer(Framebuffer framebuffer) native; | 2772 bool isFramebuffer(Framebuffer framebuffer) native ; |
2694 | 2773 |
2695 @DomName('WebGLRenderingContext.isProgram') | 2774 @DomName('WebGLRenderingContext.isProgram') |
2696 @DocsEditable() | 2775 @DocsEditable() |
2697 bool isProgram(Program program) native; | 2776 bool isProgram(Program program) native ; |
2698 | 2777 |
2699 @DomName('WebGLRenderingContext.isRenderbuffer') | 2778 @DomName('WebGLRenderingContext.isRenderbuffer') |
2700 @DocsEditable() | 2779 @DocsEditable() |
2701 bool isRenderbuffer(Renderbuffer renderbuffer) native; | 2780 bool isRenderbuffer(Renderbuffer renderbuffer) native ; |
2702 | 2781 |
2703 @DomName('WebGLRenderingContext.isShader') | 2782 @DomName('WebGLRenderingContext.isShader') |
2704 @DocsEditable() | 2783 @DocsEditable() |
2705 bool isShader(Shader shader) native; | 2784 bool isShader(Shader shader) native ; |
2706 | 2785 |
2707 @DomName('WebGLRenderingContext.isTexture') | 2786 @DomName('WebGLRenderingContext.isTexture') |
2708 @DocsEditable() | 2787 @DocsEditable() |
2709 bool isTexture(Texture texture) native; | 2788 bool isTexture(Texture texture) native ; |
2710 | 2789 |
2711 @DomName('WebGLRenderingContext.lineWidth') | 2790 @DomName('WebGLRenderingContext.lineWidth') |
2712 @DocsEditable() | 2791 @DocsEditable() |
2713 void lineWidth(num width) native; | 2792 void lineWidth(num width) native ; |
2714 | 2793 |
2715 @DomName('WebGLRenderingContext.linkProgram') | 2794 @DomName('WebGLRenderingContext.linkProgram') |
2716 @DocsEditable() | 2795 @DocsEditable() |
2717 void linkProgram(Program program) native; | 2796 void linkProgram(Program program) native ; |
2718 | 2797 |
2719 @DomName('WebGLRenderingContext.pixelStorei') | 2798 @DomName('WebGLRenderingContext.pixelStorei') |
2720 @DocsEditable() | 2799 @DocsEditable() |
2721 void pixelStorei(int pname, int param) native; | 2800 void pixelStorei(int pname, int param) native ; |
2722 | 2801 |
2723 @DomName('WebGLRenderingContext.polygonOffset') | 2802 @DomName('WebGLRenderingContext.polygonOffset') |
2724 @DocsEditable() | 2803 @DocsEditable() |
2725 void polygonOffset(num factor, num units) native; | 2804 void polygonOffset(num factor, num units) native ; |
2726 | 2805 |
2727 @DomName('WebGLRenderingContext.readPixels') | 2806 @DomName('WebGLRenderingContext.readPixels') |
2728 @DocsEditable() | 2807 @DocsEditable() |
2729 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native; | 2808 void readPixels(int x, int y, int width, int height, int format, int type, |
| 2809 TypedData pixels) native ; |
2730 | 2810 |
2731 @DomName('WebGLRenderingContext.renderbufferStorage') | 2811 @DomName('WebGLRenderingContext.renderbufferStorage') |
2732 @DocsEditable() | 2812 @DocsEditable() |
2733 void renderbufferStorage(int target, int internalformat, int width, int height
) native; | 2813 void renderbufferStorage( |
| 2814 int target, int internalformat, int width, int height) native ; |
2734 | 2815 |
2735 @DomName('WebGLRenderingContext.sampleCoverage') | 2816 @DomName('WebGLRenderingContext.sampleCoverage') |
2736 @DocsEditable() | 2817 @DocsEditable() |
2737 void sampleCoverage(num value, bool invert) native; | 2818 void sampleCoverage(num value, bool invert) native ; |
2738 | 2819 |
2739 @DomName('WebGLRenderingContext.scissor') | 2820 @DomName('WebGLRenderingContext.scissor') |
2740 @DocsEditable() | 2821 @DocsEditable() |
2741 void scissor(int x, int y, int width, int height) native; | 2822 void scissor(int x, int y, int width, int height) native ; |
2742 | 2823 |
2743 @DomName('WebGLRenderingContext.shaderSource') | 2824 @DomName('WebGLRenderingContext.shaderSource') |
2744 @DocsEditable() | 2825 @DocsEditable() |
2745 void shaderSource(Shader shader, String string) native; | 2826 void shaderSource(Shader shader, String string) native ; |
2746 | 2827 |
2747 @DomName('WebGLRenderingContext.stencilFunc') | 2828 @DomName('WebGLRenderingContext.stencilFunc') |
2748 @DocsEditable() | 2829 @DocsEditable() |
2749 void stencilFunc(int func, int ref, int mask) native; | 2830 void stencilFunc(int func, int ref, int mask) native ; |
2750 | 2831 |
2751 @DomName('WebGLRenderingContext.stencilFuncSeparate') | 2832 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
2752 @DocsEditable() | 2833 @DocsEditable() |
2753 void stencilFuncSeparate(int face, int func, int ref, int mask) native; | 2834 void stencilFuncSeparate(int face, int func, int ref, int mask) native ; |
2754 | 2835 |
2755 @DomName('WebGLRenderingContext.stencilMask') | 2836 @DomName('WebGLRenderingContext.stencilMask') |
2756 @DocsEditable() | 2837 @DocsEditable() |
2757 void stencilMask(int mask) native; | 2838 void stencilMask(int mask) native ; |
2758 | 2839 |
2759 @DomName('WebGLRenderingContext.stencilMaskSeparate') | 2840 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
2760 @DocsEditable() | 2841 @DocsEditable() |
2761 void stencilMaskSeparate(int face, int mask) native; | 2842 void stencilMaskSeparate(int face, int mask) native ; |
2762 | 2843 |
2763 @DomName('WebGLRenderingContext.stencilOp') | 2844 @DomName('WebGLRenderingContext.stencilOp') |
2764 @DocsEditable() | 2845 @DocsEditable() |
2765 void stencilOp(int fail, int zfail, int zpass) native; | 2846 void stencilOp(int fail, int zfail, int zpass) native ; |
2766 | 2847 |
2767 @DomName('WebGLRenderingContext.stencilOpSeparate') | 2848 @DomName('WebGLRenderingContext.stencilOpSeparate') |
2768 @DocsEditable() | 2849 @DocsEditable() |
2769 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; | 2850 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native ; |
2770 | 2851 |
2771 @DomName('WebGLRenderingContext.texImage2D') | 2852 @DomName('WebGLRenderingContext.texImage2D') |
2772 @DocsEditable() | 2853 @DocsEditable() |
2773 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, TypedData pixels]) { | 2854 void texImage2D( |
2774 if (type != null && format != null && (border_OR_canvas_OR_image_OR_pixels_O
R_video is int)) { | 2855 int target, |
2775 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); | 2856 int level, |
2776 return; | 2857 int internalformat, |
2777 } | 2858 int format_OR_width, |
2778 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null &&
pixels == null) { | 2859 int height_OR_type, |
2779 var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_
pixels_OR_video); | 2860 border_OR_canvas_OR_image_OR_pixels_OR_video, |
2780 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, pixels_1); | 2861 [int format, |
2781 return; | 2862 int type, |
2782 } | 2863 TypedData pixels]) { |
2783 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && format
== null && type == null && pixels == null) { | 2864 if (type != null && |
2784 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2865 format != null && |
2785 return; | 2866 (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) { |
2786 } | 2867 _texImage2D_1( |
2787 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && forma
t == null && type == null && pixels == null) { | 2868 target, |
2788 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2869 level, |
2789 return; | 2870 internalformat, |
2790 } | 2871 format_OR_width, |
2791 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && format
== null && type == null && pixels == null) { | 2872 height_OR_type, |
2792 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2873 border_OR_canvas_OR_image_OR_pixels_OR_video, |
| 2874 format, |
| 2875 type, |
| 2876 pixels); |
| 2877 return; |
| 2878 } |
| 2879 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || |
| 2880 border_OR_canvas_OR_image_OR_pixels_OR_video == null) && |
| 2881 format == null && |
| 2882 type == null && |
| 2883 pixels == null) { |
| 2884 var pixels_1 = convertDartToNative_ImageData( |
| 2885 border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2886 _texImage2D_2(target, level, internalformat, format_OR_width, |
| 2887 height_OR_type, pixels_1); |
| 2888 return; |
| 2889 } |
| 2890 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && |
| 2891 format == null && |
| 2892 type == null && |
| 2893 pixels == null) { |
| 2894 _texImage2D_3(target, level, internalformat, format_OR_width, |
| 2895 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2896 return; |
| 2897 } |
| 2898 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && |
| 2899 format == null && |
| 2900 type == null && |
| 2901 pixels == null) { |
| 2902 _texImage2D_4(target, level, internalformat, format_OR_width, |
| 2903 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2904 return; |
| 2905 } |
| 2906 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && |
| 2907 format == null && |
| 2908 type == null && |
| 2909 pixels == null) { |
| 2910 _texImage2D_5(target, level, internalformat, format_OR_width, |
| 2911 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
2793 return; | 2912 return; |
2794 } | 2913 } |
2795 throw new ArgumentError("Incorrect number or type of arguments"); | 2914 throw new ArgumentError("Incorrect number or type of arguments"); |
2796 } | 2915 } |
| 2916 |
2797 @JSName('texImage2D') | 2917 @JSName('texImage2D') |
2798 @DomName('WebGLRenderingContext.texImage2D') | 2918 @DomName('WebGLRenderingContext.texImage2D') |
2799 @DocsEditable() | 2919 @DocsEditable() |
2800 void _texImage2D_1(target, level, internalformat, width, height, int border, f
ormat, type, TypedData pixels) native; | 2920 void _texImage2D_1(target, level, internalformat, width, height, int border, |
| 2921 format, type, TypedData pixels) native ; |
2801 @JSName('texImage2D') | 2922 @JSName('texImage2D') |
2802 @DomName('WebGLRenderingContext.texImage2D') | 2923 @DomName('WebGLRenderingContext.texImage2D') |
2803 @DocsEditable() | 2924 @DocsEditable() |
2804 void _texImage2D_2(target, level, internalformat, format, type, pixels) native
; | 2925 void _texImage2D_2(target, level, internalformat, format, type, pixels) |
| 2926 native ; |
2805 @JSName('texImage2D') | 2927 @JSName('texImage2D') |
2806 @DomName('WebGLRenderingContext.texImage2D') | 2928 @DomName('WebGLRenderingContext.texImage2D') |
2807 @DocsEditable() | 2929 @DocsEditable() |
2808 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i
mage) native; | 2930 void _texImage2D_3( |
| 2931 target, level, internalformat, format, type, ImageElement image) native ; |
2809 @JSName('texImage2D') | 2932 @JSName('texImage2D') |
2810 @DomName('WebGLRenderingContext.texImage2D') | 2933 @DomName('WebGLRenderingContext.texImage2D') |
2811 @DocsEditable() | 2934 @DocsEditable() |
2812 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; | 2935 void _texImage2D_4(target, level, internalformat, format, type, |
| 2936 CanvasElement canvas) native ; |
2813 @JSName('texImage2D') | 2937 @JSName('texImage2D') |
2814 @DomName('WebGLRenderingContext.texImage2D') | 2938 @DomName('WebGLRenderingContext.texImage2D') |
2815 @DocsEditable() | 2939 @DocsEditable() |
2816 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; | 2940 void _texImage2D_5( |
| 2941 target, level, internalformat, format, type, VideoElement video) native ; |
2817 | 2942 |
2818 @DomName('WebGLRenderingContext.texParameterf') | 2943 @DomName('WebGLRenderingContext.texParameterf') |
2819 @DocsEditable() | 2944 @DocsEditable() |
2820 void texParameterf(int target, int pname, num param) native; | 2945 void texParameterf(int target, int pname, num param) native ; |
2821 | 2946 |
2822 @DomName('WebGLRenderingContext.texParameteri') | 2947 @DomName('WebGLRenderingContext.texParameteri') |
2823 @DocsEditable() | 2948 @DocsEditable() |
2824 void texParameteri(int target, int pname, int param) native; | 2949 void texParameteri(int target, int pname, int param) native ; |
2825 | 2950 |
2826 @DomName('WebGLRenderingContext.texSubImage2D') | 2951 @DomName('WebGLRenderingContext.texSubImage2D') |
2827 @DocsEditable() | 2952 @DocsEditable() |
2828 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]) { | 2953 void texSubImage2D( |
| 2954 int target, |
| 2955 int level, |
| 2956 int xoffset, |
| 2957 int yoffset, |
| 2958 int format_OR_width, |
| 2959 int height_OR_type, |
| 2960 canvas_OR_format_OR_image_OR_pixels_OR_video, |
| 2961 [int type, |
| 2962 TypedData pixels]) { |
2829 if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) { | 2963 if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) { |
2830 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 2964 _texSubImage2D_1( |
2831 return; | 2965 target, |
2832 } | 2966 level, |
2833 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) { | 2967 xoffset, |
2834 var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_
pixels_OR_video); | 2968 yoffset, |
2835 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, pixels_1); | 2969 format_OR_width, |
2836 return; | 2970 height_OR_type, |
2837 } | 2971 canvas_OR_format_OR_image_OR_pixels_OR_video, |
2838 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && type =
= null && pixels == null) { | 2972 type, |
2839 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2973 pixels); |
2840 return; | 2974 return; |
2841 } | 2975 } |
2842 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && type
== null && pixels == null) { | 2976 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || |
2843 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2977 canvas_OR_format_OR_image_OR_pixels_OR_video == null) && |
2844 return; | 2978 type == null && |
2845 } | 2979 pixels == null) { |
2846 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && type =
= null && pixels == null) { | 2980 var pixels_1 = convertDartToNative_ImageData( |
2847 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2981 canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2982 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, |
| 2983 height_OR_type, pixels_1); |
| 2984 return; |
| 2985 } |
| 2986 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && |
| 2987 type == null && |
| 2988 pixels == null) { |
| 2989 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, |
| 2990 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2991 return; |
| 2992 } |
| 2993 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && |
| 2994 type == null && |
| 2995 pixels == null) { |
| 2996 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, |
| 2997 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2998 return; |
| 2999 } |
| 3000 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && |
| 3001 type == null && |
| 3002 pixels == null) { |
| 3003 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, |
| 3004 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
2848 return; | 3005 return; |
2849 } | 3006 } |
2850 throw new ArgumentError("Incorrect number or type of arguments"); | 3007 throw new ArgumentError("Incorrect number or type of arguments"); |
2851 } | 3008 } |
| 3009 |
2852 @JSName('texSubImage2D') | 3010 @JSName('texSubImage2D') |
2853 @DomName('WebGLRenderingContext.texSubImage2D') | 3011 @DomName('WebGLRenderingContext.texSubImage2D') |
2854 @DocsEditable() | 3012 @DocsEditable() |
2855 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form
at, type, TypedData pixels) native; | 3013 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, |
| 3014 int format, type, TypedData pixels) native ; |
2856 @JSName('texSubImage2D') | 3015 @JSName('texSubImage2D') |
2857 @DomName('WebGLRenderingContext.texSubImage2D') | 3016 @DomName('WebGLRenderingContext.texSubImage2D') |
2858 @DocsEditable() | 3017 @DocsEditable() |
2859 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n
ative; | 3018 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) |
| 3019 native ; |
2860 @JSName('texSubImage2D') | 3020 @JSName('texSubImage2D') |
2861 @DomName('WebGLRenderingContext.texSubImage2D') | 3021 @DomName('WebGLRenderingContext.texSubImage2D') |
2862 @DocsEditable() | 3022 @DocsEditable() |
2863 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem
ent image) native; | 3023 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, |
| 3024 ImageElement image) native ; |
2864 @JSName('texSubImage2D') | 3025 @JSName('texSubImage2D') |
2865 @DomName('WebGLRenderingContext.texSubImage2D') | 3026 @DomName('WebGLRenderingContext.texSubImage2D') |
2866 @DocsEditable() | 3027 @DocsEditable() |
2867 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; | 3028 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, |
| 3029 CanvasElement canvas) native ; |
2868 @JSName('texSubImage2D') | 3030 @JSName('texSubImage2D') |
2869 @DomName('WebGLRenderingContext.texSubImage2D') | 3031 @DomName('WebGLRenderingContext.texSubImage2D') |
2870 @DocsEditable() | 3032 @DocsEditable() |
2871 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; | 3033 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, |
| 3034 VideoElement video) native ; |
2872 | 3035 |
2873 @DomName('WebGLRenderingContext.uniform1f') | 3036 @DomName('WebGLRenderingContext.uniform1f') |
2874 @DocsEditable() | 3037 @DocsEditable() |
2875 void uniform1f(UniformLocation location, num x) native; | 3038 void uniform1f(UniformLocation location, num x) native ; |
2876 | 3039 |
2877 @DomName('WebGLRenderingContext.uniform1fv') | 3040 @DomName('WebGLRenderingContext.uniform1fv') |
2878 @DocsEditable() | 3041 @DocsEditable() |
2879 void uniform1fv(UniformLocation location, v) native; | 3042 void uniform1fv(UniformLocation location, v) native ; |
2880 | 3043 |
2881 @DomName('WebGLRenderingContext.uniform1i') | 3044 @DomName('WebGLRenderingContext.uniform1i') |
2882 @DocsEditable() | 3045 @DocsEditable() |
2883 void uniform1i(UniformLocation location, int x) native; | 3046 void uniform1i(UniformLocation location, int x) native ; |
2884 | 3047 |
2885 @DomName('WebGLRenderingContext.uniform1iv') | 3048 @DomName('WebGLRenderingContext.uniform1iv') |
2886 @DocsEditable() | 3049 @DocsEditable() |
2887 void uniform1iv(UniformLocation location, v) native; | 3050 void uniform1iv(UniformLocation location, v) native ; |
2888 | 3051 |
2889 @DomName('WebGLRenderingContext.uniform2f') | 3052 @DomName('WebGLRenderingContext.uniform2f') |
2890 @DocsEditable() | 3053 @DocsEditable() |
2891 void uniform2f(UniformLocation location, num x, num y) native; | 3054 void uniform2f(UniformLocation location, num x, num y) native ; |
2892 | 3055 |
2893 @DomName('WebGLRenderingContext.uniform2fv') | 3056 @DomName('WebGLRenderingContext.uniform2fv') |
2894 @DocsEditable() | 3057 @DocsEditable() |
2895 void uniform2fv(UniformLocation location, v) native; | 3058 void uniform2fv(UniformLocation location, v) native ; |
2896 | 3059 |
2897 @DomName('WebGLRenderingContext.uniform2i') | 3060 @DomName('WebGLRenderingContext.uniform2i') |
2898 @DocsEditable() | 3061 @DocsEditable() |
2899 void uniform2i(UniformLocation location, int x, int y) native; | 3062 void uniform2i(UniformLocation location, int x, int y) native ; |
2900 | 3063 |
2901 @DomName('WebGLRenderingContext.uniform2iv') | 3064 @DomName('WebGLRenderingContext.uniform2iv') |
2902 @DocsEditable() | 3065 @DocsEditable() |
2903 void uniform2iv(UniformLocation location, v) native; | 3066 void uniform2iv(UniformLocation location, v) native ; |
2904 | 3067 |
2905 @DomName('WebGLRenderingContext.uniform3f') | 3068 @DomName('WebGLRenderingContext.uniform3f') |
2906 @DocsEditable() | 3069 @DocsEditable() |
2907 void uniform3f(UniformLocation location, num x, num y, num z) native; | 3070 void uniform3f(UniformLocation location, num x, num y, num z) native ; |
2908 | 3071 |
2909 @DomName('WebGLRenderingContext.uniform3fv') | 3072 @DomName('WebGLRenderingContext.uniform3fv') |
2910 @DocsEditable() | 3073 @DocsEditable() |
2911 void uniform3fv(UniformLocation location, v) native; | 3074 void uniform3fv(UniformLocation location, v) native ; |
2912 | 3075 |
2913 @DomName('WebGLRenderingContext.uniform3i') | 3076 @DomName('WebGLRenderingContext.uniform3i') |
2914 @DocsEditable() | 3077 @DocsEditable() |
2915 void uniform3i(UniformLocation location, int x, int y, int z) native; | 3078 void uniform3i(UniformLocation location, int x, int y, int z) native ; |
2916 | 3079 |
2917 @DomName('WebGLRenderingContext.uniform3iv') | 3080 @DomName('WebGLRenderingContext.uniform3iv') |
2918 @DocsEditable() | 3081 @DocsEditable() |
2919 void uniform3iv(UniformLocation location, v) native; | 3082 void uniform3iv(UniformLocation location, v) native ; |
2920 | 3083 |
2921 @DomName('WebGLRenderingContext.uniform4f') | 3084 @DomName('WebGLRenderingContext.uniform4f') |
2922 @DocsEditable() | 3085 @DocsEditable() |
2923 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; | 3086 void uniform4f(UniformLocation location, num x, num y, num z, num w) native ; |
2924 | 3087 |
2925 @DomName('WebGLRenderingContext.uniform4fv') | 3088 @DomName('WebGLRenderingContext.uniform4fv') |
2926 @DocsEditable() | 3089 @DocsEditable() |
2927 void uniform4fv(UniformLocation location, v) native; | 3090 void uniform4fv(UniformLocation location, v) native ; |
2928 | 3091 |
2929 @DomName('WebGLRenderingContext.uniform4i') | 3092 @DomName('WebGLRenderingContext.uniform4i') |
2930 @DocsEditable() | 3093 @DocsEditable() |
2931 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; | 3094 void uniform4i(UniformLocation location, int x, int y, int z, int w) native ; |
2932 | 3095 |
2933 @DomName('WebGLRenderingContext.uniform4iv') | 3096 @DomName('WebGLRenderingContext.uniform4iv') |
2934 @DocsEditable() | 3097 @DocsEditable() |
2935 void uniform4iv(UniformLocation location, v) native; | 3098 void uniform4iv(UniformLocation location, v) native ; |
2936 | 3099 |
2937 @DomName('WebGLRenderingContext.uniformMatrix2fv') | 3100 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
2938 @DocsEditable() | 3101 @DocsEditable() |
2939 void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; | 3102 void uniformMatrix2fv(UniformLocation location, bool transpose, array) |
| 3103 native ; |
2940 | 3104 |
2941 @DomName('WebGLRenderingContext.uniformMatrix3fv') | 3105 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
2942 @DocsEditable() | 3106 @DocsEditable() |
2943 void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; | 3107 void uniformMatrix3fv(UniformLocation location, bool transpose, array) |
| 3108 native ; |
2944 | 3109 |
2945 @DomName('WebGLRenderingContext.uniformMatrix4fv') | 3110 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
2946 @DocsEditable() | 3111 @DocsEditable() |
2947 void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; | 3112 void uniformMatrix4fv(UniformLocation location, bool transpose, array) |
| 3113 native ; |
2948 | 3114 |
2949 @DomName('WebGLRenderingContext.useProgram') | 3115 @DomName('WebGLRenderingContext.useProgram') |
2950 @DocsEditable() | 3116 @DocsEditable() |
2951 void useProgram(Program program) native; | 3117 void useProgram(Program program) native ; |
2952 | 3118 |
2953 @DomName('WebGLRenderingContext.validateProgram') | 3119 @DomName('WebGLRenderingContext.validateProgram') |
2954 @DocsEditable() | 3120 @DocsEditable() |
2955 void validateProgram(Program program) native; | 3121 void validateProgram(Program program) native ; |
2956 | 3122 |
2957 @DomName('WebGLRenderingContext.vertexAttrib1f') | 3123 @DomName('WebGLRenderingContext.vertexAttrib1f') |
2958 @DocsEditable() | 3124 @DocsEditable() |
2959 void vertexAttrib1f(int indx, num x) native; | 3125 void vertexAttrib1f(int indx, num x) native ; |
2960 | 3126 |
2961 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 3127 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
2962 @DocsEditable() | 3128 @DocsEditable() |
2963 void vertexAttrib1fv(int indx, values) native; | 3129 void vertexAttrib1fv(int indx, values) native ; |
2964 | 3130 |
2965 @DomName('WebGLRenderingContext.vertexAttrib2f') | 3131 @DomName('WebGLRenderingContext.vertexAttrib2f') |
2966 @DocsEditable() | 3132 @DocsEditable() |
2967 void vertexAttrib2f(int indx, num x, num y) native; | 3133 void vertexAttrib2f(int indx, num x, num y) native ; |
2968 | 3134 |
2969 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 3135 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
2970 @DocsEditable() | 3136 @DocsEditable() |
2971 void vertexAttrib2fv(int indx, values) native; | 3137 void vertexAttrib2fv(int indx, values) native ; |
2972 | 3138 |
2973 @DomName('WebGLRenderingContext.vertexAttrib3f') | 3139 @DomName('WebGLRenderingContext.vertexAttrib3f') |
2974 @DocsEditable() | 3140 @DocsEditable() |
2975 void vertexAttrib3f(int indx, num x, num y, num z) native; | 3141 void vertexAttrib3f(int indx, num x, num y, num z) native ; |
2976 | 3142 |
2977 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 3143 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
2978 @DocsEditable() | 3144 @DocsEditable() |
2979 void vertexAttrib3fv(int indx, values) native; | 3145 void vertexAttrib3fv(int indx, values) native ; |
2980 | 3146 |
2981 @DomName('WebGLRenderingContext.vertexAttrib4f') | 3147 @DomName('WebGLRenderingContext.vertexAttrib4f') |
2982 @DocsEditable() | 3148 @DocsEditable() |
2983 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; | 3149 void vertexAttrib4f(int indx, num x, num y, num z, num w) native ; |
2984 | 3150 |
2985 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 3151 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
2986 @DocsEditable() | 3152 @DocsEditable() |
2987 void vertexAttrib4fv(int indx, values) native; | 3153 void vertexAttrib4fv(int indx, values) native ; |
2988 | 3154 |
2989 @DomName('WebGLRenderingContext.vertexAttribPointer') | 3155 @DomName('WebGLRenderingContext.vertexAttribPointer') |
2990 @DocsEditable() | 3156 @DocsEditable() |
2991 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 3157 void vertexAttribPointer(int indx, int size, int type, bool normalized, |
| 3158 int stride, int offset) native ; |
2992 | 3159 |
2993 @DomName('WebGLRenderingContext.viewport') | 3160 @DomName('WebGLRenderingContext.viewport') |
2994 @DocsEditable() | 3161 @DocsEditable() |
2995 void viewport(int x, int y, int width, int height) native; | 3162 void viewport(int x, int y, int width, int height) native ; |
2996 | |
2997 | 3163 |
2998 /** | 3164 /** |
2999 * Sets the currently bound texture to [data]. | 3165 * Sets the currently bound texture to [data]. |
3000 * | 3166 * |
3001 * [data] can be either an [ImageElement], a | 3167 * [data] can be either an [ImageElement], a |
3002 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. | 3168 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. |
3003 * | 3169 * |
3004 * This is deprecated in favor of [texImage2D]. | 3170 * This is deprecated in favor of [texImage2D]. |
3005 */ | 3171 */ |
3006 @Deprecated("Use texImage2D") | 3172 @Deprecated("Use texImage2D") |
3007 void texImage2DUntyped(int targetTexture, int levelOfDetail, | 3173 void texImage2DUntyped(int targetTexture, int levelOfDetail, |
3008 int internalFormat, int format, int type, data) { | 3174 int internalFormat, int format, int type, data) { |
3009 texImage2D(targetTexture, levelOfDetail, internalFormat, format, type, data)
; | 3175 texImage2D( |
| 3176 targetTexture, levelOfDetail, internalFormat, format, type, data); |
3010 } | 3177 } |
3011 | 3178 |
3012 /** | 3179 /** |
3013 * Sets the currently bound texture to [data]. | 3180 * Sets the currently bound texture to [data]. |
3014 * | 3181 * |
3015 * This is deprecated in favour of [texImage2D]. | 3182 * This is deprecated in favour of [texImage2D]. |
3016 */ | 3183 */ |
3017 @Deprecated("Use texImage2D") | 3184 @Deprecated("Use texImage2D") |
3018 void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, | 3185 void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat, |
3019 int width, int height, int border, int format, int type, TypedData data) { | 3186 int width, int height, int border, int format, int type, TypedData data) { |
3020 texImage2D(targetTexture, levelOfDetail, internalFormat, | 3187 texImage2D(targetTexture, levelOfDetail, internalFormat, width, height, |
3021 width, height, border, format, type, data); | 3188 border, format, type, data); |
3022 } | 3189 } |
3023 | 3190 |
3024 /** | 3191 /** |
3025 * Updates a sub-rectangle of the currently bound texture to [data]. | 3192 * Updates a sub-rectangle of the currently bound texture to [data]. |
3026 * | 3193 * |
3027 * [data] can be either an [ImageElement], a | 3194 * [data] can be either an [ImageElement], a |
3028 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. | 3195 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. |
3029 * | 3196 * |
3030 */ | 3197 */ |
3031 @Deprecated("Use texSubImage2D") | 3198 @Deprecated("Use texSubImage2D") |
3032 void texSubImage2DUntyped(int targetTexture, int levelOfDetail, | 3199 void texSubImage2DUntyped(int targetTexture, int levelOfDetail, int xOffset, |
3033 int xOffset, int yOffset, int format, int type, data) { | 3200 int yOffset, int format, int type, data) { |
3034 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, | 3201 texSubImage2D( |
3035 format, type, data); | 3202 targetTexture, levelOfDetail, xOffset, yOffset, format, type, data); |
3036 } | 3203 } |
3037 | 3204 |
3038 /** | 3205 /** |
3039 * Updates a sub-rectangle of the currently bound texture to [data]. | 3206 * Updates a sub-rectangle of the currently bound texture to [data]. |
3040 */ | 3207 */ |
3041 @Deprecated("Use texSubImage2D") | 3208 @Deprecated("Use texSubImage2D") |
3042 void texSubImage2DTyped(int targetTexture, int levelOfDetail, | 3209 void texSubImage2DTyped( |
3043 int xOffset, int yOffset, int width, int height, int border, int format, | 3210 int targetTexture, |
3044 int type, TypedData data) { | 3211 int levelOfDetail, |
3045 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, | 3212 int xOffset, |
3046 width, height, format, type, data); | 3213 int yOffset, |
| 3214 int width, |
| 3215 int height, |
| 3216 int border, |
| 3217 int format, |
| 3218 int type, |
| 3219 TypedData data) { |
| 3220 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, width, height, |
| 3221 format, type, data); |
3047 } | 3222 } |
3048 | 3223 |
3049 /** | 3224 /** |
3050 * Set the bufferData to [data]. | 3225 * Set the bufferData to [data]. |
3051 */ | 3226 */ |
3052 @Deprecated("Use bufferData") | 3227 @Deprecated("Use bufferData") |
3053 void bufferDataTyped(int target, TypedData data, int usage) { | 3228 void bufferDataTyped(int target, TypedData data, int usage) { |
3054 bufferData(target, data, usage); | 3229 bufferData(target, data, usage); |
3055 } | 3230 } |
3056 | 3231 |
3057 /** | 3232 /** |
3058 * Set the bufferSubData to [data]. | 3233 * Set the bufferSubData to [data]. |
3059 */ | 3234 */ |
3060 @Deprecated("Use bufferSubData") | 3235 @Deprecated("Use bufferSubData") |
3061 void bufferSubDataTyped(int target, int offset, TypedData data) { | 3236 void bufferSubDataTyped(int target, int offset, TypedData data) { |
3062 bufferSubData(target, offset, data); | 3237 bufferSubData(target, offset, data); |
3063 } | 3238 } |
3064 } | 3239 } |
3065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3066 // for details. All rights reserved. Use of this source code is governed by a | 3241 // for details. All rights reserved. Use of this source code is governed by a |
3067 // BSD-style license that can be found in the LICENSE file. | 3242 // BSD-style license that can be found in the LICENSE file. |
3068 | 3243 |
3069 | |
3070 @DocsEditable() | 3244 @DocsEditable() |
3071 @DomName('WebGL2RenderingContext') | 3245 @DomName('WebGL2RenderingContext') |
3072 @Experimental() // untriaged | 3246 @Experimental() // untriaged |
3073 @Native("WebGL2RenderingContext") | 3247 @Native("WebGL2RenderingContext") |
3074 class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
se, _WebGLRenderingContextBase { | 3248 class RenderingContext2 extends Interceptor |
| 3249 implements _WebGL2RenderingContextBase, _WebGLRenderingContextBase { |
3075 // To suppress missing implicit constructor warnings. | 3250 // To suppress missing implicit constructor warnings. |
3076 factory RenderingContext2._() { throw new UnsupportedError("Not supported"); } | 3251 factory RenderingContext2._() { |
| 3252 throw new UnsupportedError("Not supported"); |
| 3253 } |
3077 | 3254 |
3078 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') | 3255 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') |
3079 @DocsEditable() | 3256 @DocsEditable() |
3080 @Experimental() // untriaged | 3257 @Experimental() // untriaged |
3081 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 3258 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
3082 | 3259 |
3083 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') | 3260 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') |
3084 @DocsEditable() | 3261 @DocsEditable() |
3085 @Experimental() // untriaged | 3262 @Experimental() // untriaged |
3086 static const int ACTIVE_TEXTURE = 0x84E0; | 3263 static const int ACTIVE_TEXTURE = 0x84E0; |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3473 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') | 3650 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') |
3474 @DocsEditable() | 3651 @DocsEditable() |
3475 @Experimental() // untriaged | 3652 @Experimental() // untriaged |
3476 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | 3653 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
3477 | 3654 |
3478 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') | 3655 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') |
3479 @DocsEditable() | 3656 @DocsEditable() |
3480 @Experimental() // untriaged | 3657 @Experimental() // untriaged |
3481 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | 3658 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
3482 | 3659 |
3483 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE'
) | 3660 @DomName( |
| 3661 'WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') |
3484 @DocsEditable() | 3662 @DocsEditable() |
3485 @Experimental() // untriaged | 3663 @Experimental() // untriaged |
3486 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | 3664 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
3487 | 3665 |
3488 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') | 3666 @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') |
3489 @DocsEditable() | 3667 @DocsEditable() |
3490 @Experimental() // untriaged | 3668 @Experimental() // untriaged |
3491 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | 3669 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
3492 | 3670 |
3493 @DomName('WebGL2RenderingContext.FRAMEBUFFER_BINDING') | 3671 @DomName('WebGL2RenderingContext.FRAMEBUFFER_BINDING') |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4558 @DomName('WebGL2RenderingContext.ZERO') | 4736 @DomName('WebGL2RenderingContext.ZERO') |
4559 @DocsEditable() | 4737 @DocsEditable() |
4560 @Experimental() // untriaged | 4738 @Experimental() // untriaged |
4561 static const int ZERO = 0; | 4739 static const int ZERO = 0; |
4562 | 4740 |
4563 // From WebGL2RenderingContextBase | 4741 // From WebGL2RenderingContextBase |
4564 | 4742 |
4565 @DomName('WebGL2RenderingContext.beginQuery') | 4743 @DomName('WebGL2RenderingContext.beginQuery') |
4566 @DocsEditable() | 4744 @DocsEditable() |
4567 @Experimental() // untriaged | 4745 @Experimental() // untriaged |
4568 void beginQuery(int target, Query query) native; | 4746 void beginQuery(int target, Query query) native ; |
4569 | 4747 |
4570 @DomName('WebGL2RenderingContext.beginTransformFeedback') | 4748 @DomName('WebGL2RenderingContext.beginTransformFeedback') |
4571 @DocsEditable() | 4749 @DocsEditable() |
4572 @Experimental() // untriaged | 4750 @Experimental() // untriaged |
4573 void beginTransformFeedback(int primitiveMode) native; | 4751 void beginTransformFeedback(int primitiveMode) native ; |
4574 | 4752 |
4575 @DomName('WebGL2RenderingContext.bindBufferBase') | 4753 @DomName('WebGL2RenderingContext.bindBufferBase') |
4576 @DocsEditable() | 4754 @DocsEditable() |
4577 @Experimental() // untriaged | 4755 @Experimental() // untriaged |
4578 void bindBufferBase(int target, int index, Buffer buffer) native; | 4756 void bindBufferBase(int target, int index, Buffer buffer) native ; |
4579 | 4757 |
4580 @DomName('WebGL2RenderingContext.bindBufferRange') | 4758 @DomName('WebGL2RenderingContext.bindBufferRange') |
4581 @DocsEditable() | 4759 @DocsEditable() |
4582 @Experimental() // untriaged | 4760 @Experimental() // untriaged |
4583 void bindBufferRange(int target, int index, Buffer buffer, int offset, int siz
e) native; | 4761 void bindBufferRange( |
| 4762 int target, int index, Buffer buffer, int offset, int size) native ; |
4584 | 4763 |
4585 @DomName('WebGL2RenderingContext.bindSampler') | 4764 @DomName('WebGL2RenderingContext.bindSampler') |
4586 @DocsEditable() | 4765 @DocsEditable() |
4587 @Experimental() // untriaged | 4766 @Experimental() // untriaged |
4588 void bindSampler(int unit, Sampler sampler) native; | 4767 void bindSampler(int unit, Sampler sampler) native ; |
4589 | 4768 |
4590 @DomName('WebGL2RenderingContext.bindTransformFeedback') | 4769 @DomName('WebGL2RenderingContext.bindTransformFeedback') |
4591 @DocsEditable() | 4770 @DocsEditable() |
4592 @Experimental() // untriaged | 4771 @Experimental() // untriaged |
4593 void bindTransformFeedback(int target, TransformFeedback feedback) native; | 4772 void bindTransformFeedback(int target, TransformFeedback feedback) native ; |
4594 | 4773 |
4595 @DomName('WebGL2RenderingContext.bindVertexArray') | 4774 @DomName('WebGL2RenderingContext.bindVertexArray') |
4596 @DocsEditable() | 4775 @DocsEditable() |
4597 @Experimental() // untriaged | 4776 @Experimental() // untriaged |
4598 void bindVertexArray(VertexArrayObject vertexArray) native; | 4777 void bindVertexArray(VertexArrayObject vertexArray) native ; |
4599 | 4778 |
4600 @DomName('WebGL2RenderingContext.blitFramebuffer') | 4779 @DomName('WebGL2RenderingContext.blitFramebuffer') |
4601 @DocsEditable() | 4780 @DocsEditable() |
4602 @Experimental() // untriaged | 4781 @Experimental() // untriaged |
4603 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, in
t dstY0, int dstX1, int dstY1, int mask, int filter) native; | 4782 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, |
| 4783 int dstY0, int dstX1, int dstY1, int mask, int filter) native ; |
4604 | 4784 |
4605 @DomName('WebGL2RenderingContext.clearBufferfi') | 4785 @DomName('WebGL2RenderingContext.clearBufferfi') |
4606 @DocsEditable() | 4786 @DocsEditable() |
4607 @Experimental() // untriaged | 4787 @Experimental() // untriaged |
4608 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) native; | 4788 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) |
| 4789 native ; |
4609 | 4790 |
4610 @DomName('WebGL2RenderingContext.clearBufferfv') | 4791 @DomName('WebGL2RenderingContext.clearBufferfv') |
4611 @DocsEditable() | 4792 @DocsEditable() |
4612 @Experimental() // untriaged | 4793 @Experimental() // untriaged |
4613 void clearBufferfv(int buffer, int drawbuffer, value) native; | 4794 void clearBufferfv(int buffer, int drawbuffer, value) native ; |
4614 | 4795 |
4615 @DomName('WebGL2RenderingContext.clearBufferiv') | 4796 @DomName('WebGL2RenderingContext.clearBufferiv') |
4616 @DocsEditable() | 4797 @DocsEditable() |
4617 @Experimental() // untriaged | 4798 @Experimental() // untriaged |
4618 void clearBufferiv(int buffer, int drawbuffer, value) native; | 4799 void clearBufferiv(int buffer, int drawbuffer, value) native ; |
4619 | 4800 |
4620 @DomName('WebGL2RenderingContext.clearBufferuiv') | 4801 @DomName('WebGL2RenderingContext.clearBufferuiv') |
4621 @DocsEditable() | 4802 @DocsEditable() |
4622 @Experimental() // untriaged | 4803 @Experimental() // untriaged |
4623 void clearBufferuiv(int buffer, int drawbuffer, value) native; | 4804 void clearBufferuiv(int buffer, int drawbuffer, value) native ; |
4624 | 4805 |
4625 @DomName('WebGL2RenderingContext.clientWaitSync') | 4806 @DomName('WebGL2RenderingContext.clientWaitSync') |
4626 @DocsEditable() | 4807 @DocsEditable() |
4627 @Experimental() // untriaged | 4808 @Experimental() // untriaged |
4628 int clientWaitSync(Sync sync, int flags, int timeout) native; | 4809 int clientWaitSync(Sync sync, int flags, int timeout) native ; |
4629 | 4810 |
4630 @DomName('WebGL2RenderingContext.compressedTexImage3D') | 4811 @DomName('WebGL2RenderingContext.compressedTexImage3D') |
4631 @DocsEditable() | 4812 @DocsEditable() |
4632 @Experimental() // untriaged | 4813 @Experimental() // untriaged |
4633 void compressedTexImage3D(int target, int level, int internalformat, int width
, int height, int depth, int border, TypedData data) native; | 4814 void compressedTexImage3D(int target, int level, int internalformat, |
| 4815 int width, int height, int depth, int border, TypedData data) native ; |
4634 | 4816 |
4635 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') | 4817 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') |
4636 @DocsEditable() | 4818 @DocsEditable() |
4637 @Experimental() // untriaged | 4819 @Experimental() // untriaged |
4638 void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset,
int zoffset, int width, int height, int depth, int format, TypedData data) nativ
e; | 4820 void compressedTexSubImage3D( |
| 4821 int target, |
| 4822 int level, |
| 4823 int xoffset, |
| 4824 int yoffset, |
| 4825 int zoffset, |
| 4826 int width, |
| 4827 int height, |
| 4828 int depth, |
| 4829 int format, |
| 4830 TypedData data) native ; |
4639 | 4831 |
4640 @DomName('WebGL2RenderingContext.copyBufferSubData') | 4832 @DomName('WebGL2RenderingContext.copyBufferSubData') |
4641 @DocsEditable() | 4833 @DocsEditable() |
4642 @Experimental() // untriaged | 4834 @Experimental() // untriaged |
4643 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int wr
iteOffset, int size) native; | 4835 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, |
| 4836 int writeOffset, int size) native ; |
4644 | 4837 |
4645 @DomName('WebGL2RenderingContext.copyTexSubImage3D') | 4838 @DomName('WebGL2RenderingContext.copyTexSubImage3D') |
4646 @DocsEditable() | 4839 @DocsEditable() |
4647 @Experimental() // untriaged | 4840 @Experimental() // untriaged |
4648 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zo
ffset, int x, int y, int width, int height) native; | 4841 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, |
| 4842 int zoffset, int x, int y, int width, int height) native ; |
4649 | 4843 |
4650 @DomName('WebGL2RenderingContext.createQuery') | 4844 @DomName('WebGL2RenderingContext.createQuery') |
4651 @DocsEditable() | 4845 @DocsEditable() |
4652 @Experimental() // untriaged | 4846 @Experimental() // untriaged |
4653 Query createQuery() native; | 4847 Query createQuery() native ; |
4654 | 4848 |
4655 @DomName('WebGL2RenderingContext.createSampler') | 4849 @DomName('WebGL2RenderingContext.createSampler') |
4656 @DocsEditable() | 4850 @DocsEditable() |
4657 @Experimental() // untriaged | 4851 @Experimental() // untriaged |
4658 Sampler createSampler() native; | 4852 Sampler createSampler() native ; |
4659 | 4853 |
4660 @DomName('WebGL2RenderingContext.createTransformFeedback') | 4854 @DomName('WebGL2RenderingContext.createTransformFeedback') |
4661 @DocsEditable() | 4855 @DocsEditable() |
4662 @Experimental() // untriaged | 4856 @Experimental() // untriaged |
4663 TransformFeedback createTransformFeedback() native; | 4857 TransformFeedback createTransformFeedback() native ; |
4664 | 4858 |
4665 @DomName('WebGL2RenderingContext.createVertexArray') | 4859 @DomName('WebGL2RenderingContext.createVertexArray') |
4666 @DocsEditable() | 4860 @DocsEditable() |
4667 @Experimental() // untriaged | 4861 @Experimental() // untriaged |
4668 VertexArrayObject createVertexArray() native; | 4862 VertexArrayObject createVertexArray() native ; |
4669 | 4863 |
4670 @DomName('WebGL2RenderingContext.deleteQuery') | 4864 @DomName('WebGL2RenderingContext.deleteQuery') |
4671 @DocsEditable() | 4865 @DocsEditable() |
4672 @Experimental() // untriaged | 4866 @Experimental() // untriaged |
4673 void deleteQuery(Query query) native; | 4867 void deleteQuery(Query query) native ; |
4674 | 4868 |
4675 @DomName('WebGL2RenderingContext.deleteSampler') | 4869 @DomName('WebGL2RenderingContext.deleteSampler') |
4676 @DocsEditable() | 4870 @DocsEditable() |
4677 @Experimental() // untriaged | 4871 @Experimental() // untriaged |
4678 void deleteSampler(Sampler sampler) native; | 4872 void deleteSampler(Sampler sampler) native ; |
4679 | 4873 |
4680 @DomName('WebGL2RenderingContext.deleteSync') | 4874 @DomName('WebGL2RenderingContext.deleteSync') |
4681 @DocsEditable() | 4875 @DocsEditable() |
4682 @Experimental() // untriaged | 4876 @Experimental() // untriaged |
4683 void deleteSync(Sync sync) native; | 4877 void deleteSync(Sync sync) native ; |
4684 | 4878 |
4685 @DomName('WebGL2RenderingContext.deleteTransformFeedback') | 4879 @DomName('WebGL2RenderingContext.deleteTransformFeedback') |
4686 @DocsEditable() | 4880 @DocsEditable() |
4687 @Experimental() // untriaged | 4881 @Experimental() // untriaged |
4688 void deleteTransformFeedback(TransformFeedback feedback) native; | 4882 void deleteTransformFeedback(TransformFeedback feedback) native ; |
4689 | 4883 |
4690 @DomName('WebGL2RenderingContext.deleteVertexArray') | 4884 @DomName('WebGL2RenderingContext.deleteVertexArray') |
4691 @DocsEditable() | 4885 @DocsEditable() |
4692 @Experimental() // untriaged | 4886 @Experimental() // untriaged |
4693 void deleteVertexArray(VertexArrayObject vertexArray) native; | 4887 void deleteVertexArray(VertexArrayObject vertexArray) native ; |
4694 | 4888 |
4695 @DomName('WebGL2RenderingContext.drawArraysInstanced') | 4889 @DomName('WebGL2RenderingContext.drawArraysInstanced') |
4696 @DocsEditable() | 4890 @DocsEditable() |
4697 @Experimental() // untriaged | 4891 @Experimental() // untriaged |
4698 void drawArraysInstanced(int mode, int first, int count, int instanceCount) na
tive; | 4892 void drawArraysInstanced(int mode, int first, int count, int instanceCount) |
| 4893 native ; |
4699 | 4894 |
4700 @DomName('WebGL2RenderingContext.drawBuffers') | 4895 @DomName('WebGL2RenderingContext.drawBuffers') |
4701 @DocsEditable() | 4896 @DocsEditable() |
4702 @Experimental() // untriaged | 4897 @Experimental() // untriaged |
4703 void drawBuffers(List<int> buffers) native; | 4898 void drawBuffers(List<int> buffers) native ; |
4704 | 4899 |
4705 @DomName('WebGL2RenderingContext.drawElementsInstanced') | 4900 @DomName('WebGL2RenderingContext.drawElementsInstanced') |
4706 @DocsEditable() | 4901 @DocsEditable() |
4707 @Experimental() // untriaged | 4902 @Experimental() // untriaged |
4708 void drawElementsInstanced(int mode, int count, int type, int offset, int inst
anceCount) native; | 4903 void drawElementsInstanced( |
| 4904 int mode, int count, int type, int offset, int instanceCount) native ; |
4709 | 4905 |
4710 @DomName('WebGL2RenderingContext.drawRangeElements') | 4906 @DomName('WebGL2RenderingContext.drawRangeElements') |
4711 @DocsEditable() | 4907 @DocsEditable() |
4712 @Experimental() // untriaged | 4908 @Experimental() // untriaged |
4713 void drawRangeElements(int mode, int start, int end, int count, int type, int
offset) native; | 4909 void drawRangeElements( |
| 4910 int mode, int start, int end, int count, int type, int offset) native ; |
4714 | 4911 |
4715 @DomName('WebGL2RenderingContext.endQuery') | 4912 @DomName('WebGL2RenderingContext.endQuery') |
4716 @DocsEditable() | 4913 @DocsEditable() |
4717 @Experimental() // untriaged | 4914 @Experimental() // untriaged |
4718 void endQuery(int target) native; | 4915 void endQuery(int target) native ; |
4719 | 4916 |
4720 @DomName('WebGL2RenderingContext.endTransformFeedback') | 4917 @DomName('WebGL2RenderingContext.endTransformFeedback') |
4721 @DocsEditable() | 4918 @DocsEditable() |
4722 @Experimental() // untriaged | 4919 @Experimental() // untriaged |
4723 void endTransformFeedback() native; | 4920 void endTransformFeedback() native ; |
4724 | 4921 |
4725 @DomName('WebGL2RenderingContext.fenceSync') | 4922 @DomName('WebGL2RenderingContext.fenceSync') |
4726 @DocsEditable() | 4923 @DocsEditable() |
4727 @Experimental() // untriaged | 4924 @Experimental() // untriaged |
4728 Sync fenceSync(int condition, int flags) native; | 4925 Sync fenceSync(int condition, int flags) native ; |
4729 | 4926 |
4730 @DomName('WebGL2RenderingContext.framebufferTextureLayer') | 4927 @DomName('WebGL2RenderingContext.framebufferTextureLayer') |
4731 @DocsEditable() | 4928 @DocsEditable() |
4732 @Experimental() // untriaged | 4929 @Experimental() // untriaged |
4733 void framebufferTextureLayer(int target, int attachment, Texture texture, int
level, int layer) native; | 4930 void framebufferTextureLayer(int target, int attachment, Texture texture, |
| 4931 int level, int layer) native ; |
4734 | 4932 |
4735 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') | 4933 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') |
4736 @DocsEditable() | 4934 @DocsEditable() |
4737 @Experimental() // untriaged | 4935 @Experimental() // untriaged |
4738 String getActiveUniformBlockName(Program program, int uniformBlockIndex) nativ
e; | 4936 String getActiveUniformBlockName(Program program, int uniformBlockIndex) |
| 4937 native ; |
4739 | 4938 |
4740 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') | 4939 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') |
4741 @DocsEditable() | 4940 @DocsEditable() |
4742 @Experimental() // untriaged | 4941 @Experimental() // untriaged |
4743 Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex,
int pname) native; | 4942 Object getActiveUniformBlockParameter( |
| 4943 Program program, int uniformBlockIndex, int pname) native ; |
4744 | 4944 |
4745 @DomName('WebGL2RenderingContext.getActiveUniforms') | 4945 @DomName('WebGL2RenderingContext.getActiveUniforms') |
4746 @DocsEditable() | 4946 @DocsEditable() |
4747 @Experimental() // untriaged | 4947 @Experimental() // untriaged |
4748 List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pna
me) native; | 4948 List<int> getActiveUniforms( |
| 4949 Program program, List<int> uniformIndices, int pname) native ; |
4749 | 4950 |
4750 @DomName('WebGL2RenderingContext.getBufferSubData') | 4951 @DomName('WebGL2RenderingContext.getBufferSubData') |
4751 @DocsEditable() | 4952 @DocsEditable() |
4752 @Experimental() // untriaged | 4953 @Experimental() // untriaged |
4753 void getBufferSubData(int target, int offset, ByteBuffer returnedData) native; | 4954 void getBufferSubData(int target, int offset, ByteBuffer returnedData) |
| 4955 native ; |
4754 | 4956 |
4755 @DomName('WebGL2RenderingContext.getFragDataLocation') | 4957 @DomName('WebGL2RenderingContext.getFragDataLocation') |
4756 @DocsEditable() | 4958 @DocsEditable() |
4757 @Experimental() // untriaged | 4959 @Experimental() // untriaged |
4758 int getFragDataLocation(Program program, String name) native; | 4960 int getFragDataLocation(Program program, String name) native ; |
4759 | 4961 |
4760 @DomName('WebGL2RenderingContext.getIndexedParameter') | 4962 @DomName('WebGL2RenderingContext.getIndexedParameter') |
4761 @DocsEditable() | 4963 @DocsEditable() |
4762 @Experimental() // untriaged | 4964 @Experimental() // untriaged |
4763 Object getIndexedParameter(int target, int index) native; | 4965 Object getIndexedParameter(int target, int index) native ; |
4764 | 4966 |
4765 @DomName('WebGL2RenderingContext.getInternalformatParameter') | 4967 @DomName('WebGL2RenderingContext.getInternalformatParameter') |
4766 @DocsEditable() | 4968 @DocsEditable() |
4767 @Experimental() // untriaged | 4969 @Experimental() // untriaged |
4768 Object getInternalformatParameter(int target, int internalformat, int pname) n
ative; | 4970 Object getInternalformatParameter(int target, int internalformat, int pname) |
| 4971 native ; |
4769 | 4972 |
4770 @DomName('WebGL2RenderingContext.getQuery') | 4973 @DomName('WebGL2RenderingContext.getQuery') |
4771 @DocsEditable() | 4974 @DocsEditable() |
4772 @Experimental() // untriaged | 4975 @Experimental() // untriaged |
4773 Query getQuery(int target, int pname) native; | 4976 Query getQuery(int target, int pname) native ; |
4774 | 4977 |
4775 @DomName('WebGL2RenderingContext.getQueryParameter') | 4978 @DomName('WebGL2RenderingContext.getQueryParameter') |
4776 @DocsEditable() | 4979 @DocsEditable() |
4777 @Experimental() // untriaged | 4980 @Experimental() // untriaged |
4778 Object getQueryParameter(Query query, int pname) native; | 4981 Object getQueryParameter(Query query, int pname) native ; |
4779 | 4982 |
4780 @DomName('WebGL2RenderingContext.getSamplerParameter') | 4983 @DomName('WebGL2RenderingContext.getSamplerParameter') |
4781 @DocsEditable() | 4984 @DocsEditable() |
4782 @Experimental() // untriaged | 4985 @Experimental() // untriaged |
4783 Object getSamplerParameter(Sampler sampler, int pname) native; | 4986 Object getSamplerParameter(Sampler sampler, int pname) native ; |
4784 | 4987 |
4785 @DomName('WebGL2RenderingContext.getSyncParameter') | 4988 @DomName('WebGL2RenderingContext.getSyncParameter') |
4786 @DocsEditable() | 4989 @DocsEditable() |
4787 @Experimental() // untriaged | 4990 @Experimental() // untriaged |
4788 Object getSyncParameter(Sync sync, int pname) native; | 4991 Object getSyncParameter(Sync sync, int pname) native ; |
4789 | 4992 |
4790 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') | 4993 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') |
4791 @DocsEditable() | 4994 @DocsEditable() |
4792 @Experimental() // untriaged | 4995 @Experimental() // untriaged |
4793 ActiveInfo getTransformFeedbackVarying(Program program, int index) native; | 4996 ActiveInfo getTransformFeedbackVarying(Program program, int index) native ; |
4794 | 4997 |
4795 @DomName('WebGL2RenderingContext.getUniformBlockIndex') | 4998 @DomName('WebGL2RenderingContext.getUniformBlockIndex') |
4796 @DocsEditable() | 4999 @DocsEditable() |
4797 @Experimental() // untriaged | 5000 @Experimental() // untriaged |
4798 int getUniformBlockIndex(Program program, String uniformBlockName) native; | 5001 int getUniformBlockIndex(Program program, String uniformBlockName) native ; |
4799 | 5002 |
4800 @DomName('WebGL2RenderingContext.getUniformIndices') | 5003 @DomName('WebGL2RenderingContext.getUniformIndices') |
4801 @DocsEditable() | 5004 @DocsEditable() |
4802 @Experimental() // untriaged | 5005 @Experimental() // untriaged |
4803 List<int> getUniformIndices(Program program, List<String> uniformNames) { | 5006 List<int> getUniformIndices(Program program, List<String> uniformNames) { |
4804 List uniformNames_1 = convertDartToNative_StringArray(uniformNames); | 5007 List uniformNames_1 = convertDartToNative_StringArray(uniformNames); |
4805 return _getUniformIndices_1(program, uniformNames_1); | 5008 return _getUniformIndices_1(program, uniformNames_1); |
4806 } | 5009 } |
| 5010 |
4807 @JSName('getUniformIndices') | 5011 @JSName('getUniformIndices') |
4808 @DomName('WebGL2RenderingContext.getUniformIndices') | 5012 @DomName('WebGL2RenderingContext.getUniformIndices') |
4809 @DocsEditable() | 5013 @DocsEditable() |
4810 @Experimental() // untriaged | 5014 @Experimental() // untriaged |
4811 List<int> _getUniformIndices_1(Program program, List uniformNames) native; | 5015 List<int> _getUniformIndices_1(Program program, List uniformNames) native ; |
4812 | 5016 |
4813 @DomName('WebGL2RenderingContext.invalidateFramebuffer') | 5017 @DomName('WebGL2RenderingContext.invalidateFramebuffer') |
4814 @DocsEditable() | 5018 @DocsEditable() |
4815 @Experimental() // untriaged | 5019 @Experimental() // untriaged |
4816 void invalidateFramebuffer(int target, List<int> attachments) native; | 5020 void invalidateFramebuffer(int target, List<int> attachments) native ; |
4817 | 5021 |
4818 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') | 5022 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') |
4819 @DocsEditable() | 5023 @DocsEditable() |
4820 @Experimental() // untriaged | 5024 @Experimental() // untriaged |
4821 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y,
int width, int height) native; | 5025 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, |
| 5026 int width, int height) native ; |
4822 | 5027 |
4823 @DomName('WebGL2RenderingContext.isQuery') | 5028 @DomName('WebGL2RenderingContext.isQuery') |
4824 @DocsEditable() | 5029 @DocsEditable() |
4825 @Experimental() // untriaged | 5030 @Experimental() // untriaged |
4826 bool isQuery(Query query) native; | 5031 bool isQuery(Query query) native ; |
4827 | 5032 |
4828 @DomName('WebGL2RenderingContext.isSampler') | 5033 @DomName('WebGL2RenderingContext.isSampler') |
4829 @DocsEditable() | 5034 @DocsEditable() |
4830 @Experimental() // untriaged | 5035 @Experimental() // untriaged |
4831 bool isSampler(Sampler sampler) native; | 5036 bool isSampler(Sampler sampler) native ; |
4832 | 5037 |
4833 @DomName('WebGL2RenderingContext.isSync') | 5038 @DomName('WebGL2RenderingContext.isSync') |
4834 @DocsEditable() | 5039 @DocsEditable() |
4835 @Experimental() // untriaged | 5040 @Experimental() // untriaged |
4836 bool isSync(Sync sync) native; | 5041 bool isSync(Sync sync) native ; |
4837 | 5042 |
4838 @DomName('WebGL2RenderingContext.isTransformFeedback') | 5043 @DomName('WebGL2RenderingContext.isTransformFeedback') |
4839 @DocsEditable() | 5044 @DocsEditable() |
4840 @Experimental() // untriaged | 5045 @Experimental() // untriaged |
4841 bool isTransformFeedback(TransformFeedback feedback) native; | 5046 bool isTransformFeedback(TransformFeedback feedback) native ; |
4842 | 5047 |
4843 @DomName('WebGL2RenderingContext.isVertexArray') | 5048 @DomName('WebGL2RenderingContext.isVertexArray') |
4844 @DocsEditable() | 5049 @DocsEditable() |
4845 @Experimental() // untriaged | 5050 @Experimental() // untriaged |
4846 bool isVertexArray(VertexArrayObject vertexArray) native; | 5051 bool isVertexArray(VertexArrayObject vertexArray) native ; |
4847 | 5052 |
4848 @DomName('WebGL2RenderingContext.pauseTransformFeedback') | 5053 @DomName('WebGL2RenderingContext.pauseTransformFeedback') |
4849 @DocsEditable() | 5054 @DocsEditable() |
4850 @Experimental() // untriaged | 5055 @Experimental() // untriaged |
4851 void pauseTransformFeedback() native; | 5056 void pauseTransformFeedback() native ; |
4852 | 5057 |
4853 @DomName('WebGL2RenderingContext.readBuffer') | 5058 @DomName('WebGL2RenderingContext.readBuffer') |
4854 @DocsEditable() | 5059 @DocsEditable() |
4855 @Experimental() // untriaged | 5060 @Experimental() // untriaged |
4856 void readBuffer(int mode) native; | 5061 void readBuffer(int mode) native ; |
4857 | 5062 |
4858 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') | 5063 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') |
4859 @DocsEditable() | 5064 @DocsEditable() |
4860 @Experimental() // untriaged | 5065 @Experimental() // untriaged |
4861 void renderbufferStorageMultisample(int target, int samples, int internalforma
t, int width, int height) native; | 5066 void renderbufferStorageMultisample(int target, int samples, |
| 5067 int internalformat, int width, int height) native ; |
4862 | 5068 |
4863 @DomName('WebGL2RenderingContext.resumeTransformFeedback') | 5069 @DomName('WebGL2RenderingContext.resumeTransformFeedback') |
4864 @DocsEditable() | 5070 @DocsEditable() |
4865 @Experimental() // untriaged | 5071 @Experimental() // untriaged |
4866 void resumeTransformFeedback() native; | 5072 void resumeTransformFeedback() native ; |
4867 | 5073 |
4868 @DomName('WebGL2RenderingContext.samplerParameterf') | 5074 @DomName('WebGL2RenderingContext.samplerParameterf') |
4869 @DocsEditable() | 5075 @DocsEditable() |
4870 @Experimental() // untriaged | 5076 @Experimental() // untriaged |
4871 void samplerParameterf(Sampler sampler, int pname, num param) native; | 5077 void samplerParameterf(Sampler sampler, int pname, num param) native ; |
4872 | 5078 |
4873 @DomName('WebGL2RenderingContext.samplerParameteri') | 5079 @DomName('WebGL2RenderingContext.samplerParameteri') |
4874 @DocsEditable() | 5080 @DocsEditable() |
4875 @Experimental() // untriaged | 5081 @Experimental() // untriaged |
4876 void samplerParameteri(Sampler sampler, int pname, int param) native; | 5082 void samplerParameteri(Sampler sampler, int pname, int param) native ; |
4877 | 5083 |
4878 @DomName('WebGL2RenderingContext.texImage3D') | 5084 @DomName('WebGL2RenderingContext.texImage3D') |
4879 @DocsEditable() | 5085 @DocsEditable() |
4880 @Experimental() // untriaged | 5086 @Experimental() // untriaged |
4881 void texImage3D(int target, int level, int internalformat, int width, int heig
ht, int depth, int border, int format, int type, TypedData pixels) native; | 5087 void texImage3D( |
| 5088 int target, |
| 5089 int level, |
| 5090 int internalformat, |
| 5091 int width, |
| 5092 int height, |
| 5093 int depth, |
| 5094 int border, |
| 5095 int format, |
| 5096 int type, |
| 5097 TypedData pixels) native ; |
4882 | 5098 |
4883 @DomName('WebGL2RenderingContext.texStorage2D') | 5099 @DomName('WebGL2RenderingContext.texStorage2D') |
4884 @DocsEditable() | 5100 @DocsEditable() |
4885 @Experimental() // untriaged | 5101 @Experimental() // untriaged |
4886 void texStorage2D(int target, int levels, int internalformat, int width, int h
eight) native; | 5102 void texStorage2D(int target, int levels, int internalformat, int width, |
| 5103 int height) native ; |
4887 | 5104 |
4888 @DomName('WebGL2RenderingContext.texStorage3D') | 5105 @DomName('WebGL2RenderingContext.texStorage3D') |
4889 @DocsEditable() | 5106 @DocsEditable() |
4890 @Experimental() // untriaged | 5107 @Experimental() // untriaged |
4891 void texStorage3D(int target, int levels, int internalformat, int width, int h
eight, int depth) native; | 5108 void texStorage3D(int target, int levels, int internalformat, int width, |
4892 | 5109 int height, int depth) native ; |
4893 @DomName('WebGL2RenderingContext.texSubImage3D') | 5110 |
4894 @DocsEditable() | 5111 @DomName('WebGL2RenderingContext.texSubImage3D') |
4895 @Experimental() // untriaged | 5112 @DocsEditable() |
4896 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffse
t, int format_OR_width, int height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_
video, [int format, int type, TypedData pixels]) { | 5113 @Experimental() // untriaged |
4897 if (type != null && format != null && (canvas_OR_data_OR_depth_OR_image_OR_v
ideo is int)) { | 5114 void texSubImage3D( |
4898 _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video, format, type, pixel
s); | 5115 int target, |
4899 return; | 5116 int level, |
4900 } | 5117 int xoffset, |
4901 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || canvas_OR_dat
a_OR_depth_OR_image_OR_video == null) && format == null && type == null && pixel
s == null) { | 5118 int yoffset, |
4902 var data_1 = convertDartToNative_ImageData(canvas_OR_data_OR_depth_OR_imag
e_OR_video); | 5119 int zoffset, |
4903 _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, data_1); | 5120 int format_OR_width, |
4904 return; | 5121 int height_OR_type, |
4905 } | 5122 canvas_OR_data_OR_depth_OR_image_OR_video, |
4906 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || canvas_OR_
data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pi
xels == null) { | 5123 [int format, |
4907 _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video); | 5124 int type, |
4908 return; | 5125 TypedData pixels]) { |
4909 } | 5126 if (type != null && |
4910 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || canvas_OR
_data_OR_depth_OR_image_OR_video == null) && format == null && type == null && p
ixels == null) { | 5127 format != null && |
4911 _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video); | 5128 (canvas_OR_data_OR_depth_OR_image_OR_video is int)) { |
4912 return; | 5129 _texSubImage3D_1( |
4913 } | 5130 target, |
4914 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || canvas_OR_
data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pi
xels == null) { | 5131 level, |
4915 _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format_OR_width
, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video); | 5132 xoffset, |
| 5133 yoffset, |
| 5134 zoffset, |
| 5135 format_OR_width, |
| 5136 height_OR_type, |
| 5137 canvas_OR_data_OR_depth_OR_image_OR_video, |
| 5138 format, |
| 5139 type, |
| 5140 pixels); |
| 5141 return; |
| 5142 } |
| 5143 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || |
| 5144 canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
| 5145 format == null && |
| 5146 type == null && |
| 5147 pixels == null) { |
| 5148 var data_1 = convertDartToNative_ImageData( |
| 5149 canvas_OR_data_OR_depth_OR_image_OR_video); |
| 5150 _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, |
| 5151 format_OR_width, height_OR_type, data_1); |
| 5152 return; |
| 5153 } |
| 5154 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || |
| 5155 canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
| 5156 format == null && |
| 5157 type == null && |
| 5158 pixels == null) { |
| 5159 _texSubImage3D_3( |
| 5160 target, |
| 5161 level, |
| 5162 xoffset, |
| 5163 yoffset, |
| 5164 zoffset, |
| 5165 format_OR_width, |
| 5166 height_OR_type, |
| 5167 canvas_OR_data_OR_depth_OR_image_OR_video); |
| 5168 return; |
| 5169 } |
| 5170 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || |
| 5171 canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
| 5172 format == null && |
| 5173 type == null && |
| 5174 pixels == null) { |
| 5175 _texSubImage3D_4( |
| 5176 target, |
| 5177 level, |
| 5178 xoffset, |
| 5179 yoffset, |
| 5180 zoffset, |
| 5181 format_OR_width, |
| 5182 height_OR_type, |
| 5183 canvas_OR_data_OR_depth_OR_image_OR_video); |
| 5184 return; |
| 5185 } |
| 5186 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || |
| 5187 canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
| 5188 format == null && |
| 5189 type == null && |
| 5190 pixels == null) { |
| 5191 _texSubImage3D_5( |
| 5192 target, |
| 5193 level, |
| 5194 xoffset, |
| 5195 yoffset, |
| 5196 zoffset, |
| 5197 format_OR_width, |
| 5198 height_OR_type, |
| 5199 canvas_OR_data_OR_depth_OR_image_OR_video); |
4916 return; | 5200 return; |
4917 } | 5201 } |
4918 throw new ArgumentError("Incorrect number or type of arguments"); | 5202 throw new ArgumentError("Incorrect number or type of arguments"); |
4919 } | 5203 } |
4920 @JSName('texSubImage3D') | 5204 |
4921 @DomName('WebGL2RenderingContext.texSubImage3D') | 5205 @JSName('texSubImage3D') |
4922 @DocsEditable() | 5206 @DomName('WebGL2RenderingContext.texSubImage3D') |
4923 @Experimental() // untriaged | 5207 @DocsEditable() |
4924 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height,
int depth, format, type, TypedData pixels) native; | 5208 @Experimental() // untriaged |
4925 @JSName('texSubImage3D') | 5209 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height, |
4926 @DomName('WebGL2RenderingContext.texSubImage3D') | 5210 int depth, format, type, TypedData pixels) native ; |
4927 @DocsEditable() | 5211 @JSName('texSubImage3D') |
4928 @Experimental() // untriaged | 5212 @DomName('WebGL2RenderingContext.texSubImage3D') |
4929 void _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, format, type,
data) native; | 5213 @DocsEditable() |
4930 @JSName('texSubImage3D') | 5214 @Experimental() // untriaged |
4931 @DomName('WebGL2RenderingContext.texSubImage3D') | 5215 void _texSubImage3D_2( |
4932 @DocsEditable() | 5216 target, level, xoffset, yoffset, zoffset, format, type, data) native ; |
4933 @Experimental() // untriaged | 5217 @JSName('texSubImage3D') |
4934 void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type,
ImageElement image) native; | 5218 @DomName('WebGL2RenderingContext.texSubImage3D') |
4935 @JSName('texSubImage3D') | 5219 @DocsEditable() |
4936 @DomName('WebGL2RenderingContext.texSubImage3D') | 5220 @Experimental() // untriaged |
4937 @DocsEditable() | 5221 void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type, |
4938 @Experimental() // untriaged | 5222 ImageElement image) native ; |
4939 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type,
CanvasElement canvas) native; | 5223 @JSName('texSubImage3D') |
4940 @JSName('texSubImage3D') | 5224 @DomName('WebGL2RenderingContext.texSubImage3D') |
4941 @DomName('WebGL2RenderingContext.texSubImage3D') | 5225 @DocsEditable() |
4942 @DocsEditable() | 5226 @Experimental() // untriaged |
4943 @Experimental() // untriaged | 5227 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type, |
4944 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type,
VideoElement video) native; | 5228 CanvasElement canvas) native ; |
| 5229 @JSName('texSubImage3D') |
| 5230 @DomName('WebGL2RenderingContext.texSubImage3D') |
| 5231 @DocsEditable() |
| 5232 @Experimental() // untriaged |
| 5233 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type, |
| 5234 VideoElement video) native ; |
4945 | 5235 |
4946 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | 5236 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
4947 @DocsEditable() | 5237 @DocsEditable() |
4948 @Experimental() // untriaged | 5238 @Experimental() // untriaged |
4949 void transformFeedbackVaryings(Program program, List<String> varyings, int buf
ferMode) { | 5239 void transformFeedbackVaryings( |
| 5240 Program program, List<String> varyings, int bufferMode) { |
4950 List varyings_1 = convertDartToNative_StringArray(varyings); | 5241 List varyings_1 = convertDartToNative_StringArray(varyings); |
4951 _transformFeedbackVaryings_1(program, varyings_1, bufferMode); | 5242 _transformFeedbackVaryings_1(program, varyings_1, bufferMode); |
4952 return; | 5243 return; |
4953 } | 5244 } |
| 5245 |
4954 @JSName('transformFeedbackVaryings') | 5246 @JSName('transformFeedbackVaryings') |
4955 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | 5247 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
4956 @DocsEditable() | 5248 @DocsEditable() |
4957 @Experimental() // untriaged | 5249 @Experimental() // untriaged |
4958 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode)
native; | 5250 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode) |
| 5251 native ; |
4959 | 5252 |
4960 @DomName('WebGL2RenderingContext.uniform1ui') | 5253 @DomName('WebGL2RenderingContext.uniform1ui') |
4961 @DocsEditable() | 5254 @DocsEditable() |
4962 @Experimental() // untriaged | 5255 @Experimental() // untriaged |
4963 void uniform1ui(UniformLocation location, int v0) native; | 5256 void uniform1ui(UniformLocation location, int v0) native ; |
4964 | 5257 |
4965 @DomName('WebGL2RenderingContext.uniform1uiv') | 5258 @DomName('WebGL2RenderingContext.uniform1uiv') |
4966 @DocsEditable() | 5259 @DocsEditable() |
4967 @Experimental() // untriaged | 5260 @Experimental() // untriaged |
4968 void uniform1uiv(UniformLocation location, List<int> value) native; | 5261 void uniform1uiv(UniformLocation location, List<int> value) native ; |
4969 | 5262 |
4970 @DomName('WebGL2RenderingContext.uniform2ui') | 5263 @DomName('WebGL2RenderingContext.uniform2ui') |
4971 @DocsEditable() | 5264 @DocsEditable() |
4972 @Experimental() // untriaged | 5265 @Experimental() // untriaged |
4973 void uniform2ui(UniformLocation location, int v0, int v1) native; | 5266 void uniform2ui(UniformLocation location, int v0, int v1) native ; |
4974 | 5267 |
4975 @DomName('WebGL2RenderingContext.uniform2uiv') | 5268 @DomName('WebGL2RenderingContext.uniform2uiv') |
4976 @DocsEditable() | 5269 @DocsEditable() |
4977 @Experimental() // untriaged | 5270 @Experimental() // untriaged |
4978 void uniform2uiv(UniformLocation location, List<int> value) native; | 5271 void uniform2uiv(UniformLocation location, List<int> value) native ; |
4979 | 5272 |
4980 @DomName('WebGL2RenderingContext.uniform3ui') | 5273 @DomName('WebGL2RenderingContext.uniform3ui') |
4981 @DocsEditable() | 5274 @DocsEditable() |
4982 @Experimental() // untriaged | 5275 @Experimental() // untriaged |
4983 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native; | 5276 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native ; |
4984 | 5277 |
4985 @DomName('WebGL2RenderingContext.uniform3uiv') | 5278 @DomName('WebGL2RenderingContext.uniform3uiv') |
4986 @DocsEditable() | 5279 @DocsEditable() |
4987 @Experimental() // untriaged | 5280 @Experimental() // untriaged |
4988 void uniform3uiv(UniformLocation location, List<int> value) native; | 5281 void uniform3uiv(UniformLocation location, List<int> value) native ; |
4989 | 5282 |
4990 @DomName('WebGL2RenderingContext.uniform4ui') | 5283 @DomName('WebGL2RenderingContext.uniform4ui') |
4991 @DocsEditable() | 5284 @DocsEditable() |
4992 @Experimental() // untriaged | 5285 @Experimental() // untriaged |
4993 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) nati
ve; | 5286 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) |
| 5287 native ; |
4994 | 5288 |
4995 @DomName('WebGL2RenderingContext.uniform4uiv') | 5289 @DomName('WebGL2RenderingContext.uniform4uiv') |
4996 @DocsEditable() | 5290 @DocsEditable() |
4997 @Experimental() // untriaged | 5291 @Experimental() // untriaged |
4998 void uniform4uiv(UniformLocation location, List<int> value) native; | 5292 void uniform4uiv(UniformLocation location, List<int> value) native ; |
4999 | 5293 |
5000 @DomName('WebGL2RenderingContext.uniformBlockBinding') | 5294 @DomName('WebGL2RenderingContext.uniformBlockBinding') |
5001 @DocsEditable() | 5295 @DocsEditable() |
5002 @Experimental() // untriaged | 5296 @Experimental() // untriaged |
5003 void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBl
ockBinding) native; | 5297 void uniformBlockBinding( |
| 5298 Program program, int uniformBlockIndex, int uniformBlockBinding) native ; |
5004 | 5299 |
5005 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') | 5300 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') |
5006 @DocsEditable() | 5301 @DocsEditable() |
5007 @Experimental() // untriaged | 5302 @Experimental() // untriaged |
5008 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) nativ
e; | 5303 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) |
| 5304 native ; |
5009 | 5305 |
5010 @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') | 5306 @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') |
5011 @DocsEditable() | 5307 @DocsEditable() |
5012 @Experimental() // untriaged | 5308 @Experimental() // untriaged |
5013 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) nativ
e; | 5309 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) |
| 5310 native ; |
5014 | 5311 |
5015 @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') | 5312 @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') |
5016 @DocsEditable() | 5313 @DocsEditable() |
5017 @Experimental() // untriaged | 5314 @Experimental() // untriaged |
5018 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) nativ
e; | 5315 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) |
| 5316 native ; |
5019 | 5317 |
5020 @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') | 5318 @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') |
5021 @DocsEditable() | 5319 @DocsEditable() |
5022 @Experimental() // untriaged | 5320 @Experimental() // untriaged |
5023 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) nativ
e; | 5321 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) |
| 5322 native ; |
5024 | 5323 |
5025 @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') | 5324 @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') |
5026 @DocsEditable() | 5325 @DocsEditable() |
5027 @Experimental() // untriaged | 5326 @Experimental() // untriaged |
5028 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) nativ
e; | 5327 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) |
| 5328 native ; |
5029 | 5329 |
5030 @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') | 5330 @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') |
5031 @DocsEditable() | 5331 @DocsEditable() |
5032 @Experimental() // untriaged | 5332 @Experimental() // untriaged |
5033 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) nativ
e; | 5333 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) |
| 5334 native ; |
5034 | 5335 |
5035 @DomName('WebGL2RenderingContext.vertexAttribDivisor') | 5336 @DomName('WebGL2RenderingContext.vertexAttribDivisor') |
5036 @DocsEditable() | 5337 @DocsEditable() |
5037 @Experimental() // untriaged | 5338 @Experimental() // untriaged |
5038 void vertexAttribDivisor(int index, int divisor) native; | 5339 void vertexAttribDivisor(int index, int divisor) native ; |
5039 | 5340 |
5040 @DomName('WebGL2RenderingContext.vertexAttribI4i') | 5341 @DomName('WebGL2RenderingContext.vertexAttribI4i') |
5041 @DocsEditable() | 5342 @DocsEditable() |
5042 @Experimental() // untriaged | 5343 @Experimental() // untriaged |
5043 void vertexAttribI4i(int index, int x, int y, int z, int w) native; | 5344 void vertexAttribI4i(int index, int x, int y, int z, int w) native ; |
5044 | 5345 |
5045 @DomName('WebGL2RenderingContext.vertexAttribI4iv') | 5346 @DomName('WebGL2RenderingContext.vertexAttribI4iv') |
5046 @DocsEditable() | 5347 @DocsEditable() |
5047 @Experimental() // untriaged | 5348 @Experimental() // untriaged |
5048 void vertexAttribI4iv(int index, List<int> v) native; | 5349 void vertexAttribI4iv(int index, List<int> v) native ; |
5049 | 5350 |
5050 @DomName('WebGL2RenderingContext.vertexAttribI4ui') | 5351 @DomName('WebGL2RenderingContext.vertexAttribI4ui') |
5051 @DocsEditable() | 5352 @DocsEditable() |
5052 @Experimental() // untriaged | 5353 @Experimental() // untriaged |
5053 void vertexAttribI4ui(int index, int x, int y, int z, int w) native; | 5354 void vertexAttribI4ui(int index, int x, int y, int z, int w) native ; |
5054 | 5355 |
5055 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') | 5356 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') |
5056 @DocsEditable() | 5357 @DocsEditable() |
5057 @Experimental() // untriaged | 5358 @Experimental() // untriaged |
5058 void vertexAttribI4uiv(int index, List<int> v) native; | 5359 void vertexAttribI4uiv(int index, List<int> v) native ; |
5059 | 5360 |
5060 @DomName('WebGL2RenderingContext.vertexAttribIPointer') | 5361 @DomName('WebGL2RenderingContext.vertexAttribIPointer') |
5061 @DocsEditable() | 5362 @DocsEditable() |
5062 @Experimental() // untriaged | 5363 @Experimental() // untriaged |
5063 void vertexAttribIPointer(int index, int size, int type, int stride, int offse
t) native; | 5364 void vertexAttribIPointer( |
| 5365 int index, int size, int type, int stride, int offset) native ; |
5064 | 5366 |
5065 @DomName('WebGL2RenderingContext.waitSync') | 5367 @DomName('WebGL2RenderingContext.waitSync') |
5066 @DocsEditable() | 5368 @DocsEditable() |
5067 @Experimental() // untriaged | 5369 @Experimental() // untriaged |
5068 void waitSync(Sync sync, int flags, int timeout) native; | 5370 void waitSync(Sync sync, int flags, int timeout) native ; |
5069 | 5371 |
5070 // From WebGLRenderingContextBase | 5372 // From WebGLRenderingContextBase |
5071 | 5373 |
5072 @DomName('WebGL2RenderingContext.canvas') | 5374 @DomName('WebGL2RenderingContext.canvas') |
5073 @DocsEditable() | 5375 @DocsEditable() |
5074 @Experimental() // untriaged | 5376 @Experimental() // untriaged |
5075 final CanvasElement canvas; | 5377 final CanvasElement canvas; |
5076 | 5378 |
5077 @DomName('WebGL2RenderingContext.drawingBufferHeight') | 5379 @DomName('WebGL2RenderingContext.drawingBufferHeight') |
5078 @DocsEditable() | 5380 @DocsEditable() |
5079 @Experimental() // untriaged | 5381 @Experimental() // untriaged |
5080 final int drawingBufferHeight; | 5382 final int drawingBufferHeight; |
5081 | 5383 |
5082 @DomName('WebGL2RenderingContext.drawingBufferWidth') | 5384 @DomName('WebGL2RenderingContext.drawingBufferWidth') |
5083 @DocsEditable() | 5385 @DocsEditable() |
5084 @Experimental() // untriaged | 5386 @Experimental() // untriaged |
5085 final int drawingBufferWidth; | 5387 final int drawingBufferWidth; |
5086 | 5388 |
5087 @DomName('WebGL2RenderingContext.activeTexture') | 5389 @DomName('WebGL2RenderingContext.activeTexture') |
5088 @DocsEditable() | 5390 @DocsEditable() |
5089 @Experimental() // untriaged | 5391 @Experimental() // untriaged |
5090 void activeTexture(int texture) native; | 5392 void activeTexture(int texture) native ; |
5091 | 5393 |
5092 @DomName('WebGL2RenderingContext.attachShader') | 5394 @DomName('WebGL2RenderingContext.attachShader') |
5093 @DocsEditable() | 5395 @DocsEditable() |
5094 @Experimental() // untriaged | 5396 @Experimental() // untriaged |
5095 void attachShader(Program program, Shader shader) native; | 5397 void attachShader(Program program, Shader shader) native ; |
5096 | 5398 |
5097 @DomName('WebGL2RenderingContext.bindAttribLocation') | 5399 @DomName('WebGL2RenderingContext.bindAttribLocation') |
5098 @DocsEditable() | 5400 @DocsEditable() |
5099 @Experimental() // untriaged | 5401 @Experimental() // untriaged |
5100 void bindAttribLocation(Program program, int index, String name) native; | 5402 void bindAttribLocation(Program program, int index, String name) native ; |
5101 | 5403 |
5102 @DomName('WebGL2RenderingContext.bindBuffer') | 5404 @DomName('WebGL2RenderingContext.bindBuffer') |
5103 @DocsEditable() | 5405 @DocsEditable() |
5104 @Experimental() // untriaged | 5406 @Experimental() // untriaged |
5105 void bindBuffer(int target, Buffer buffer) native; | 5407 void bindBuffer(int target, Buffer buffer) native ; |
5106 | 5408 |
5107 @DomName('WebGL2RenderingContext.bindFramebuffer') | 5409 @DomName('WebGL2RenderingContext.bindFramebuffer') |
5108 @DocsEditable() | 5410 @DocsEditable() |
5109 @Experimental() // untriaged | 5411 @Experimental() // untriaged |
5110 void bindFramebuffer(int target, Framebuffer framebuffer) native; | 5412 void bindFramebuffer(int target, Framebuffer framebuffer) native ; |
5111 | 5413 |
5112 @DomName('WebGL2RenderingContext.bindRenderbuffer') | 5414 @DomName('WebGL2RenderingContext.bindRenderbuffer') |
5113 @DocsEditable() | 5415 @DocsEditable() |
5114 @Experimental() // untriaged | 5416 @Experimental() // untriaged |
5115 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; | 5417 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native ; |
5116 | 5418 |
5117 @DomName('WebGL2RenderingContext.bindTexture') | 5419 @DomName('WebGL2RenderingContext.bindTexture') |
5118 @DocsEditable() | 5420 @DocsEditable() |
5119 @Experimental() // untriaged | 5421 @Experimental() // untriaged |
5120 void bindTexture(int target, Texture texture) native; | 5422 void bindTexture(int target, Texture texture) native ; |
5121 | 5423 |
5122 @DomName('WebGL2RenderingContext.blendColor') | 5424 @DomName('WebGL2RenderingContext.blendColor') |
5123 @DocsEditable() | 5425 @DocsEditable() |
5124 @Experimental() // untriaged | 5426 @Experimental() // untriaged |
5125 void blendColor(num red, num green, num blue, num alpha) native; | 5427 void blendColor(num red, num green, num blue, num alpha) native ; |
5126 | 5428 |
5127 @DomName('WebGL2RenderingContext.blendEquation') | 5429 @DomName('WebGL2RenderingContext.blendEquation') |
5128 @DocsEditable() | 5430 @DocsEditable() |
5129 @Experimental() // untriaged | 5431 @Experimental() // untriaged |
5130 void blendEquation(int mode) native; | 5432 void blendEquation(int mode) native ; |
5131 | 5433 |
5132 @DomName('WebGL2RenderingContext.blendEquationSeparate') | 5434 @DomName('WebGL2RenderingContext.blendEquationSeparate') |
5133 @DocsEditable() | 5435 @DocsEditable() |
5134 @Experimental() // untriaged | 5436 @Experimental() // untriaged |
5135 void blendEquationSeparate(int modeRGB, int modeAlpha) native; | 5437 void blendEquationSeparate(int modeRGB, int modeAlpha) native ; |
5136 | 5438 |
5137 @DomName('WebGL2RenderingContext.blendFunc') | 5439 @DomName('WebGL2RenderingContext.blendFunc') |
5138 @DocsEditable() | 5440 @DocsEditable() |
5139 @Experimental() // untriaged | 5441 @Experimental() // untriaged |
5140 void blendFunc(int sfactor, int dfactor) native; | 5442 void blendFunc(int sfactor, int dfactor) native ; |
5141 | 5443 |
5142 @DomName('WebGL2RenderingContext.blendFuncSeparate') | 5444 @DomName('WebGL2RenderingContext.blendFuncSeparate') |
5143 @DocsEditable() | 5445 @DocsEditable() |
5144 @Experimental() // untriaged | 5446 @Experimental() // untriaged |
5145 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; | 5447 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) |
| 5448 native ; |
5146 | 5449 |
5147 @DomName('WebGL2RenderingContext.bufferData') | 5450 @DomName('WebGL2RenderingContext.bufferData') |
5148 @DocsEditable() | 5451 @DocsEditable() |
5149 @Experimental() // untriaged | 5452 @Experimental() // untriaged |
5150 void bufferData(int target, data_OR_size, int usage) native; | 5453 void bufferData(int target, data_OR_size, int usage) native ; |
5151 | 5454 |
5152 @DomName('WebGL2RenderingContext.bufferSubData') | 5455 @DomName('WebGL2RenderingContext.bufferSubData') |
5153 @DocsEditable() | 5456 @DocsEditable() |
5154 @Experimental() // untriaged | 5457 @Experimental() // untriaged |
5155 void bufferSubData(int target, int offset, data) native; | 5458 void bufferSubData(int target, int offset, data) native ; |
5156 | 5459 |
5157 @DomName('WebGL2RenderingContext.checkFramebufferStatus') | 5460 @DomName('WebGL2RenderingContext.checkFramebufferStatus') |
5158 @DocsEditable() | 5461 @DocsEditable() |
5159 @Experimental() // untriaged | 5462 @Experimental() // untriaged |
5160 int checkFramebufferStatus(int target) native; | 5463 int checkFramebufferStatus(int target) native ; |
5161 | 5464 |
5162 @DomName('WebGL2RenderingContext.clear') | 5465 @DomName('WebGL2RenderingContext.clear') |
5163 @DocsEditable() | 5466 @DocsEditable() |
5164 @Experimental() // untriaged | 5467 @Experimental() // untriaged |
5165 void clear(int mask) native; | 5468 void clear(int mask) native ; |
5166 | 5469 |
5167 @DomName('WebGL2RenderingContext.clearColor') | 5470 @DomName('WebGL2RenderingContext.clearColor') |
5168 @DocsEditable() | 5471 @DocsEditable() |
5169 @Experimental() // untriaged | 5472 @Experimental() // untriaged |
5170 void clearColor(num red, num green, num blue, num alpha) native; | 5473 void clearColor(num red, num green, num blue, num alpha) native ; |
5171 | 5474 |
5172 @DomName('WebGL2RenderingContext.clearDepth') | 5475 @DomName('WebGL2RenderingContext.clearDepth') |
5173 @DocsEditable() | 5476 @DocsEditable() |
5174 @Experimental() // untriaged | 5477 @Experimental() // untriaged |
5175 void clearDepth(num depth) native; | 5478 void clearDepth(num depth) native ; |
5176 | 5479 |
5177 @DomName('WebGL2RenderingContext.clearStencil') | 5480 @DomName('WebGL2RenderingContext.clearStencil') |
5178 @DocsEditable() | 5481 @DocsEditable() |
5179 @Experimental() // untriaged | 5482 @Experimental() // untriaged |
5180 void clearStencil(int s) native; | 5483 void clearStencil(int s) native ; |
5181 | 5484 |
5182 @DomName('WebGL2RenderingContext.colorMask') | 5485 @DomName('WebGL2RenderingContext.colorMask') |
5183 @DocsEditable() | 5486 @DocsEditable() |
5184 @Experimental() // untriaged | 5487 @Experimental() // untriaged |
5185 void colorMask(bool red, bool green, bool blue, bool alpha) native; | 5488 void colorMask(bool red, bool green, bool blue, bool alpha) native ; |
5186 | 5489 |
5187 @DomName('WebGL2RenderingContext.compileShader') | 5490 @DomName('WebGL2RenderingContext.compileShader') |
5188 @DocsEditable() | 5491 @DocsEditable() |
5189 @Experimental() // untriaged | 5492 @Experimental() // untriaged |
5190 void compileShader(Shader shader) native; | 5493 void compileShader(Shader shader) native ; |
5191 | 5494 |
5192 @DomName('WebGL2RenderingContext.compressedTexImage2D') | 5495 @DomName('WebGL2RenderingContext.compressedTexImage2D') |
5193 @DocsEditable() | 5496 @DocsEditable() |
5194 @Experimental() // untriaged | 5497 @Experimental() // untriaged |
5195 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) native; | 5498 void compressedTexImage2D(int target, int level, int internalformat, |
| 5499 int width, int height, int border, TypedData data) native ; |
5196 | 5500 |
5197 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') | 5501 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') |
5198 @DocsEditable() | 5502 @DocsEditable() |
5199 @Experimental() // untriaged | 5503 @Experimental() // untriaged |
5200 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) native; | 5504 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, |
| 5505 int width, int height, int format, TypedData data) native ; |
5201 | 5506 |
5202 @DomName('WebGL2RenderingContext.copyTexImage2D') | 5507 @DomName('WebGL2RenderingContext.copyTexImage2D') |
5203 @DocsEditable() | 5508 @DocsEditable() |
5204 @Experimental() // untriaged | 5509 @Experimental() // untriaged |
5205 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; | 5510 void copyTexImage2D(int target, int level, int internalformat, int x, int y, |
| 5511 int width, int height, int border) native ; |
5206 | 5512 |
5207 @DomName('WebGL2RenderingContext.copyTexSubImage2D') | 5513 @DomName('WebGL2RenderingContext.copyTexSubImage2D') |
5208 @DocsEditable() | 5514 @DocsEditable() |
5209 @Experimental() // untriaged | 5515 @Experimental() // untriaged |
5210 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; | 5516 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, |
| 5517 int y, int width, int height) native ; |
5211 | 5518 |
5212 @DomName('WebGL2RenderingContext.createBuffer') | 5519 @DomName('WebGL2RenderingContext.createBuffer') |
5213 @DocsEditable() | 5520 @DocsEditable() |
5214 @Experimental() // untriaged | 5521 @Experimental() // untriaged |
5215 Buffer createBuffer() native; | 5522 Buffer createBuffer() native ; |
5216 | 5523 |
5217 @DomName('WebGL2RenderingContext.createFramebuffer') | 5524 @DomName('WebGL2RenderingContext.createFramebuffer') |
5218 @DocsEditable() | 5525 @DocsEditable() |
5219 @Experimental() // untriaged | 5526 @Experimental() // untriaged |
5220 Framebuffer createFramebuffer() native; | 5527 Framebuffer createFramebuffer() native ; |
5221 | 5528 |
5222 @DomName('WebGL2RenderingContext.createProgram') | 5529 @DomName('WebGL2RenderingContext.createProgram') |
5223 @DocsEditable() | 5530 @DocsEditable() |
5224 @Experimental() // untriaged | 5531 @Experimental() // untriaged |
5225 Program createProgram() native; | 5532 Program createProgram() native ; |
5226 | 5533 |
5227 @DomName('WebGL2RenderingContext.createRenderbuffer') | 5534 @DomName('WebGL2RenderingContext.createRenderbuffer') |
5228 @DocsEditable() | 5535 @DocsEditable() |
5229 @Experimental() // untriaged | 5536 @Experimental() // untriaged |
5230 Renderbuffer createRenderbuffer() native; | 5537 Renderbuffer createRenderbuffer() native ; |
5231 | 5538 |
5232 @DomName('WebGL2RenderingContext.createShader') | 5539 @DomName('WebGL2RenderingContext.createShader') |
5233 @DocsEditable() | 5540 @DocsEditable() |
5234 @Experimental() // untriaged | 5541 @Experimental() // untriaged |
5235 Shader createShader(int type) native; | 5542 Shader createShader(int type) native ; |
5236 | 5543 |
5237 @DomName('WebGL2RenderingContext.createTexture') | 5544 @DomName('WebGL2RenderingContext.createTexture') |
5238 @DocsEditable() | 5545 @DocsEditable() |
5239 @Experimental() // untriaged | 5546 @Experimental() // untriaged |
5240 Texture createTexture() native; | 5547 Texture createTexture() native ; |
5241 | 5548 |
5242 @DomName('WebGL2RenderingContext.cullFace') | 5549 @DomName('WebGL2RenderingContext.cullFace') |
5243 @DocsEditable() | 5550 @DocsEditable() |
5244 @Experimental() // untriaged | 5551 @Experimental() // untriaged |
5245 void cullFace(int mode) native; | 5552 void cullFace(int mode) native ; |
5246 | 5553 |
5247 @DomName('WebGL2RenderingContext.deleteBuffer') | 5554 @DomName('WebGL2RenderingContext.deleteBuffer') |
5248 @DocsEditable() | 5555 @DocsEditable() |
5249 @Experimental() // untriaged | 5556 @Experimental() // untriaged |
5250 void deleteBuffer(Buffer buffer) native; | 5557 void deleteBuffer(Buffer buffer) native ; |
5251 | 5558 |
5252 @DomName('WebGL2RenderingContext.deleteFramebuffer') | 5559 @DomName('WebGL2RenderingContext.deleteFramebuffer') |
5253 @DocsEditable() | 5560 @DocsEditable() |
5254 @Experimental() // untriaged | 5561 @Experimental() // untriaged |
5255 void deleteFramebuffer(Framebuffer framebuffer) native; | 5562 void deleteFramebuffer(Framebuffer framebuffer) native ; |
5256 | 5563 |
5257 @DomName('WebGL2RenderingContext.deleteProgram') | 5564 @DomName('WebGL2RenderingContext.deleteProgram') |
5258 @DocsEditable() | 5565 @DocsEditable() |
5259 @Experimental() // untriaged | 5566 @Experimental() // untriaged |
5260 void deleteProgram(Program program) native; | 5567 void deleteProgram(Program program) native ; |
5261 | 5568 |
5262 @DomName('WebGL2RenderingContext.deleteRenderbuffer') | 5569 @DomName('WebGL2RenderingContext.deleteRenderbuffer') |
5263 @DocsEditable() | 5570 @DocsEditable() |
5264 @Experimental() // untriaged | 5571 @Experimental() // untriaged |
5265 void deleteRenderbuffer(Renderbuffer renderbuffer) native; | 5572 void deleteRenderbuffer(Renderbuffer renderbuffer) native ; |
5266 | 5573 |
5267 @DomName('WebGL2RenderingContext.deleteShader') | 5574 @DomName('WebGL2RenderingContext.deleteShader') |
5268 @DocsEditable() | 5575 @DocsEditable() |
5269 @Experimental() // untriaged | 5576 @Experimental() // untriaged |
5270 void deleteShader(Shader shader) native; | 5577 void deleteShader(Shader shader) native ; |
5271 | 5578 |
5272 @DomName('WebGL2RenderingContext.deleteTexture') | 5579 @DomName('WebGL2RenderingContext.deleteTexture') |
5273 @DocsEditable() | 5580 @DocsEditable() |
5274 @Experimental() // untriaged | 5581 @Experimental() // untriaged |
5275 void deleteTexture(Texture texture) native; | 5582 void deleteTexture(Texture texture) native ; |
5276 | 5583 |
5277 @DomName('WebGL2RenderingContext.depthFunc') | 5584 @DomName('WebGL2RenderingContext.depthFunc') |
5278 @DocsEditable() | 5585 @DocsEditable() |
5279 @Experimental() // untriaged | 5586 @Experimental() // untriaged |
5280 void depthFunc(int func) native; | 5587 void depthFunc(int func) native ; |
5281 | 5588 |
5282 @DomName('WebGL2RenderingContext.depthMask') | 5589 @DomName('WebGL2RenderingContext.depthMask') |
5283 @DocsEditable() | 5590 @DocsEditable() |
5284 @Experimental() // untriaged | 5591 @Experimental() // untriaged |
5285 void depthMask(bool flag) native; | 5592 void depthMask(bool flag) native ; |
5286 | 5593 |
5287 @DomName('WebGL2RenderingContext.depthRange') | 5594 @DomName('WebGL2RenderingContext.depthRange') |
5288 @DocsEditable() | 5595 @DocsEditable() |
5289 @Experimental() // untriaged | 5596 @Experimental() // untriaged |
5290 void depthRange(num zNear, num zFar) native; | 5597 void depthRange(num zNear, num zFar) native ; |
5291 | 5598 |
5292 @DomName('WebGL2RenderingContext.detachShader') | 5599 @DomName('WebGL2RenderingContext.detachShader') |
5293 @DocsEditable() | 5600 @DocsEditable() |
5294 @Experimental() // untriaged | 5601 @Experimental() // untriaged |
5295 void detachShader(Program program, Shader shader) native; | 5602 void detachShader(Program program, Shader shader) native ; |
5296 | 5603 |
5297 @DomName('WebGL2RenderingContext.disable') | 5604 @DomName('WebGL2RenderingContext.disable') |
5298 @DocsEditable() | 5605 @DocsEditable() |
5299 @Experimental() // untriaged | 5606 @Experimental() // untriaged |
5300 void disable(int cap) native; | 5607 void disable(int cap) native ; |
5301 | 5608 |
5302 @DomName('WebGL2RenderingContext.disableVertexAttribArray') | 5609 @DomName('WebGL2RenderingContext.disableVertexAttribArray') |
5303 @DocsEditable() | 5610 @DocsEditable() |
5304 @Experimental() // untriaged | 5611 @Experimental() // untriaged |
5305 void disableVertexAttribArray(int index) native; | 5612 void disableVertexAttribArray(int index) native ; |
5306 | 5613 |
5307 @DomName('WebGL2RenderingContext.drawArrays') | 5614 @DomName('WebGL2RenderingContext.drawArrays') |
5308 @DocsEditable() | 5615 @DocsEditable() |
5309 @Experimental() // untriaged | 5616 @Experimental() // untriaged |
5310 void drawArrays(int mode, int first, int count) native; | 5617 void drawArrays(int mode, int first, int count) native ; |
5311 | 5618 |
5312 @DomName('WebGL2RenderingContext.drawElements') | 5619 @DomName('WebGL2RenderingContext.drawElements') |
5313 @DocsEditable() | 5620 @DocsEditable() |
5314 @Experimental() // untriaged | 5621 @Experimental() // untriaged |
5315 void drawElements(int mode, int count, int type, int offset) native; | 5622 void drawElements(int mode, int count, int type, int offset) native ; |
5316 | 5623 |
5317 @DomName('WebGL2RenderingContext.enable') | 5624 @DomName('WebGL2RenderingContext.enable') |
5318 @DocsEditable() | 5625 @DocsEditable() |
5319 @Experimental() // untriaged | 5626 @Experimental() // untriaged |
5320 void enable(int cap) native; | 5627 void enable(int cap) native ; |
5321 | 5628 |
5322 @DomName('WebGL2RenderingContext.enableVertexAttribArray') | 5629 @DomName('WebGL2RenderingContext.enableVertexAttribArray') |
5323 @DocsEditable() | 5630 @DocsEditable() |
5324 @Experimental() // untriaged | 5631 @Experimental() // untriaged |
5325 void enableVertexAttribArray(int index) native; | 5632 void enableVertexAttribArray(int index) native ; |
5326 | 5633 |
5327 @DomName('WebGL2RenderingContext.finish') | 5634 @DomName('WebGL2RenderingContext.finish') |
5328 @DocsEditable() | 5635 @DocsEditable() |
5329 @Experimental() // untriaged | 5636 @Experimental() // untriaged |
5330 void finish() native; | 5637 void finish() native ; |
5331 | 5638 |
5332 @DomName('WebGL2RenderingContext.flush') | 5639 @DomName('WebGL2RenderingContext.flush') |
5333 @DocsEditable() | 5640 @DocsEditable() |
5334 @Experimental() // untriaged | 5641 @Experimental() // untriaged |
5335 void flush() native; | 5642 void flush() native ; |
5336 | 5643 |
5337 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') | 5644 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') |
5338 @DocsEditable() | 5645 @DocsEditable() |
5339 @Experimental() // untriaged | 5646 @Experimental() // untriaged |
5340 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) native; | 5647 void framebufferRenderbuffer(int target, int attachment, |
| 5648 int renderbuffertarget, Renderbuffer renderbuffer) native ; |
5341 | 5649 |
5342 @DomName('WebGL2RenderingContext.framebufferTexture2D') | 5650 @DomName('WebGL2RenderingContext.framebufferTexture2D') |
5343 @DocsEditable() | 5651 @DocsEditable() |
5344 @Experimental() // untriaged | 5652 @Experimental() // untriaged |
5345 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) native; | 5653 void framebufferTexture2D(int target, int attachment, int textarget, |
| 5654 Texture texture, int level) native ; |
5346 | 5655 |
5347 @DomName('WebGL2RenderingContext.frontFace') | 5656 @DomName('WebGL2RenderingContext.frontFace') |
5348 @DocsEditable() | 5657 @DocsEditable() |
5349 @Experimental() // untriaged | 5658 @Experimental() // untriaged |
5350 void frontFace(int mode) native; | 5659 void frontFace(int mode) native ; |
5351 | 5660 |
5352 @DomName('WebGL2RenderingContext.generateMipmap') | 5661 @DomName('WebGL2RenderingContext.generateMipmap') |
5353 @DocsEditable() | 5662 @DocsEditable() |
5354 @Experimental() // untriaged | 5663 @Experimental() // untriaged |
5355 void generateMipmap(int target) native; | 5664 void generateMipmap(int target) native ; |
5356 | 5665 |
5357 @DomName('WebGL2RenderingContext.getActiveAttrib') | 5666 @DomName('WebGL2RenderingContext.getActiveAttrib') |
5358 @DocsEditable() | 5667 @DocsEditable() |
5359 @Experimental() // untriaged | 5668 @Experimental() // untriaged |
5360 ActiveInfo getActiveAttrib(Program program, int index) native; | 5669 ActiveInfo getActiveAttrib(Program program, int index) native ; |
5361 | 5670 |
5362 @DomName('WebGL2RenderingContext.getActiveUniform') | 5671 @DomName('WebGL2RenderingContext.getActiveUniform') |
5363 @DocsEditable() | 5672 @DocsEditable() |
5364 @Experimental() // untriaged | 5673 @Experimental() // untriaged |
5365 ActiveInfo getActiveUniform(Program program, int index) native; | 5674 ActiveInfo getActiveUniform(Program program, int index) native ; |
5366 | 5675 |
5367 @DomName('WebGL2RenderingContext.getAttachedShaders') | 5676 @DomName('WebGL2RenderingContext.getAttachedShaders') |
5368 @DocsEditable() | 5677 @DocsEditable() |
5369 @Experimental() // untriaged | 5678 @Experimental() // untriaged |
5370 List<Shader> getAttachedShaders(Program program) native; | 5679 List<Shader> getAttachedShaders(Program program) native ; |
5371 | 5680 |
5372 @DomName('WebGL2RenderingContext.getAttribLocation') | 5681 @DomName('WebGL2RenderingContext.getAttribLocation') |
5373 @DocsEditable() | 5682 @DocsEditable() |
5374 @Experimental() // untriaged | 5683 @Experimental() // untriaged |
5375 int getAttribLocation(Program program, String name) native; | 5684 int getAttribLocation(Program program, String name) native ; |
5376 | 5685 |
5377 @DomName('WebGL2RenderingContext.getBufferParameter') | 5686 @DomName('WebGL2RenderingContext.getBufferParameter') |
5378 @DocsEditable() | 5687 @DocsEditable() |
5379 @Experimental() // untriaged | 5688 @Experimental() // untriaged |
5380 Object getBufferParameter(int target, int pname) native; | 5689 Object getBufferParameter(int target, int pname) native ; |
5381 | 5690 |
5382 @DomName('WebGL2RenderingContext.getContextAttributes') | 5691 @DomName('WebGL2RenderingContext.getContextAttributes') |
5383 @DocsEditable() | 5692 @DocsEditable() |
5384 @Experimental() // untriaged | 5693 @Experimental() // untriaged |
5385 Map getContextAttributes() { | 5694 Map getContextAttributes() { |
5386 return convertNativeToDart_Dictionary(_getContextAttributes_1()); | 5695 return convertNativeToDart_Dictionary(_getContextAttributes_1()); |
5387 } | 5696 } |
| 5697 |
5388 @JSName('getContextAttributes') | 5698 @JSName('getContextAttributes') |
5389 @DomName('WebGL2RenderingContext.getContextAttributes') | 5699 @DomName('WebGL2RenderingContext.getContextAttributes') |
5390 @DocsEditable() | 5700 @DocsEditable() |
5391 @Experimental() // untriaged | 5701 @Experimental() // untriaged |
5392 _getContextAttributes_1() native; | 5702 _getContextAttributes_1() native ; |
5393 | 5703 |
5394 @DomName('WebGL2RenderingContext.getError') | 5704 @DomName('WebGL2RenderingContext.getError') |
5395 @DocsEditable() | 5705 @DocsEditable() |
5396 @Experimental() // untriaged | 5706 @Experimental() // untriaged |
5397 int getError() native; | 5707 int getError() native ; |
5398 | 5708 |
5399 @DomName('WebGL2RenderingContext.getExtension') | 5709 @DomName('WebGL2RenderingContext.getExtension') |
5400 @DocsEditable() | 5710 @DocsEditable() |
5401 @Experimental() // untriaged | 5711 @Experimental() // untriaged |
5402 Object getExtension(String name) native; | 5712 Object getExtension(String name) native ; |
5403 | 5713 |
5404 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') | 5714 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') |
5405 @DocsEditable() | 5715 @DocsEditable() |
5406 @Experimental() // untriaged | 5716 @Experimental() // untriaged |
5407 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; | 5717 Object getFramebufferAttachmentParameter( |
| 5718 int target, int attachment, int pname) native ; |
5408 | 5719 |
5409 @DomName('WebGL2RenderingContext.getParameter') | 5720 @DomName('WebGL2RenderingContext.getParameter') |
5410 @DocsEditable() | 5721 @DocsEditable() |
5411 @Experimental() // untriaged | 5722 @Experimental() // untriaged |
5412 Object getParameter(int pname) native; | 5723 Object getParameter(int pname) native ; |
5413 | 5724 |
5414 @DomName('WebGL2RenderingContext.getProgramInfoLog') | 5725 @DomName('WebGL2RenderingContext.getProgramInfoLog') |
5415 @DocsEditable() | 5726 @DocsEditable() |
5416 @Experimental() // untriaged | 5727 @Experimental() // untriaged |
5417 String getProgramInfoLog(Program program) native; | 5728 String getProgramInfoLog(Program program) native ; |
5418 | 5729 |
5419 @DomName('WebGL2RenderingContext.getProgramParameter') | 5730 @DomName('WebGL2RenderingContext.getProgramParameter') |
5420 @DocsEditable() | 5731 @DocsEditable() |
5421 @Experimental() // untriaged | 5732 @Experimental() // untriaged |
5422 Object getProgramParameter(Program program, int pname) native; | 5733 Object getProgramParameter(Program program, int pname) native ; |
5423 | 5734 |
5424 @DomName('WebGL2RenderingContext.getRenderbufferParameter') | 5735 @DomName('WebGL2RenderingContext.getRenderbufferParameter') |
5425 @DocsEditable() | 5736 @DocsEditable() |
5426 @Experimental() // untriaged | 5737 @Experimental() // untriaged |
5427 Object getRenderbufferParameter(int target, int pname) native; | 5738 Object getRenderbufferParameter(int target, int pname) native ; |
5428 | 5739 |
5429 @DomName('WebGL2RenderingContext.getShaderInfoLog') | 5740 @DomName('WebGL2RenderingContext.getShaderInfoLog') |
5430 @DocsEditable() | 5741 @DocsEditable() |
5431 @Experimental() // untriaged | 5742 @Experimental() // untriaged |
5432 String getShaderInfoLog(Shader shader) native; | 5743 String getShaderInfoLog(Shader shader) native ; |
5433 | 5744 |
5434 @DomName('WebGL2RenderingContext.getShaderParameter') | 5745 @DomName('WebGL2RenderingContext.getShaderParameter') |
5435 @DocsEditable() | 5746 @DocsEditable() |
5436 @Experimental() // untriaged | 5747 @Experimental() // untriaged |
5437 Object getShaderParameter(Shader shader, int pname) native; | 5748 Object getShaderParameter(Shader shader, int pname) native ; |
5438 | 5749 |
5439 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') | 5750 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') |
5440 @DocsEditable() | 5751 @DocsEditable() |
5441 @Experimental() // untriaged | 5752 @Experimental() // untriaged |
5442 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) native; | 5753 ShaderPrecisionFormat getShaderPrecisionFormat( |
| 5754 int shadertype, int precisiontype) native ; |
5443 | 5755 |
5444 @DomName('WebGL2RenderingContext.getShaderSource') | 5756 @DomName('WebGL2RenderingContext.getShaderSource') |
5445 @DocsEditable() | 5757 @DocsEditable() |
5446 @Experimental() // untriaged | 5758 @Experimental() // untriaged |
5447 String getShaderSource(Shader shader) native; | 5759 String getShaderSource(Shader shader) native ; |
5448 | 5760 |
5449 @DomName('WebGL2RenderingContext.getSupportedExtensions') | 5761 @DomName('WebGL2RenderingContext.getSupportedExtensions') |
5450 @DocsEditable() | 5762 @DocsEditable() |
5451 @Experimental() // untriaged | 5763 @Experimental() // untriaged |
5452 List<String> getSupportedExtensions() native; | 5764 List<String> getSupportedExtensions() native ; |
5453 | 5765 |
5454 @DomName('WebGL2RenderingContext.getTexParameter') | 5766 @DomName('WebGL2RenderingContext.getTexParameter') |
5455 @DocsEditable() | 5767 @DocsEditable() |
5456 @Experimental() // untriaged | 5768 @Experimental() // untriaged |
5457 Object getTexParameter(int target, int pname) native; | 5769 Object getTexParameter(int target, int pname) native ; |
5458 | 5770 |
5459 @DomName('WebGL2RenderingContext.getUniform') | 5771 @DomName('WebGL2RenderingContext.getUniform') |
5460 @DocsEditable() | 5772 @DocsEditable() |
5461 @Experimental() // untriaged | 5773 @Experimental() // untriaged |
5462 Object getUniform(Program program, UniformLocation location) native; | 5774 Object getUniform(Program program, UniformLocation location) native ; |
5463 | 5775 |
5464 @DomName('WebGL2RenderingContext.getUniformLocation') | 5776 @DomName('WebGL2RenderingContext.getUniformLocation') |
5465 @DocsEditable() | 5777 @DocsEditable() |
5466 @Experimental() // untriaged | 5778 @Experimental() // untriaged |
5467 UniformLocation getUniformLocation(Program program, String name) native; | 5779 UniformLocation getUniformLocation(Program program, String name) native ; |
5468 | 5780 |
5469 @DomName('WebGL2RenderingContext.getVertexAttrib') | 5781 @DomName('WebGL2RenderingContext.getVertexAttrib') |
5470 @DocsEditable() | 5782 @DocsEditable() |
5471 @Experimental() // untriaged | 5783 @Experimental() // untriaged |
5472 Object getVertexAttrib(int index, int pname) native; | 5784 Object getVertexAttrib(int index, int pname) native ; |
5473 | 5785 |
5474 @DomName('WebGL2RenderingContext.getVertexAttribOffset') | 5786 @DomName('WebGL2RenderingContext.getVertexAttribOffset') |
5475 @DocsEditable() | 5787 @DocsEditable() |
5476 @Experimental() // untriaged | 5788 @Experimental() // untriaged |
5477 int getVertexAttribOffset(int index, int pname) native; | 5789 int getVertexAttribOffset(int index, int pname) native ; |
5478 | 5790 |
5479 @DomName('WebGL2RenderingContext.hint') | 5791 @DomName('WebGL2RenderingContext.hint') |
5480 @DocsEditable() | 5792 @DocsEditable() |
5481 @Experimental() // untriaged | 5793 @Experimental() // untriaged |
5482 void hint(int target, int mode) native; | 5794 void hint(int target, int mode) native ; |
5483 | 5795 |
5484 @DomName('WebGL2RenderingContext.isBuffer') | 5796 @DomName('WebGL2RenderingContext.isBuffer') |
5485 @DocsEditable() | 5797 @DocsEditable() |
5486 @Experimental() // untriaged | 5798 @Experimental() // untriaged |
5487 bool isBuffer(Buffer buffer) native; | 5799 bool isBuffer(Buffer buffer) native ; |
5488 | 5800 |
5489 @DomName('WebGL2RenderingContext.isContextLost') | 5801 @DomName('WebGL2RenderingContext.isContextLost') |
5490 @DocsEditable() | 5802 @DocsEditable() |
5491 @Experimental() // untriaged | 5803 @Experimental() // untriaged |
5492 bool isContextLost() native; | 5804 bool isContextLost() native ; |
5493 | 5805 |
5494 @DomName('WebGL2RenderingContext.isEnabled') | 5806 @DomName('WebGL2RenderingContext.isEnabled') |
5495 @DocsEditable() | 5807 @DocsEditable() |
5496 @Experimental() // untriaged | 5808 @Experimental() // untriaged |
5497 bool isEnabled(int cap) native; | 5809 bool isEnabled(int cap) native ; |
5498 | 5810 |
5499 @DomName('WebGL2RenderingContext.isFramebuffer') | 5811 @DomName('WebGL2RenderingContext.isFramebuffer') |
5500 @DocsEditable() | 5812 @DocsEditable() |
5501 @Experimental() // untriaged | 5813 @Experimental() // untriaged |
5502 bool isFramebuffer(Framebuffer framebuffer) native; | 5814 bool isFramebuffer(Framebuffer framebuffer) native ; |
5503 | 5815 |
5504 @DomName('WebGL2RenderingContext.isProgram') | 5816 @DomName('WebGL2RenderingContext.isProgram') |
5505 @DocsEditable() | 5817 @DocsEditable() |
5506 @Experimental() // untriaged | 5818 @Experimental() // untriaged |
5507 bool isProgram(Program program) native; | 5819 bool isProgram(Program program) native ; |
5508 | 5820 |
5509 @DomName('WebGL2RenderingContext.isRenderbuffer') | 5821 @DomName('WebGL2RenderingContext.isRenderbuffer') |
5510 @DocsEditable() | 5822 @DocsEditable() |
5511 @Experimental() // untriaged | 5823 @Experimental() // untriaged |
5512 bool isRenderbuffer(Renderbuffer renderbuffer) native; | 5824 bool isRenderbuffer(Renderbuffer renderbuffer) native ; |
5513 | 5825 |
5514 @DomName('WebGL2RenderingContext.isShader') | 5826 @DomName('WebGL2RenderingContext.isShader') |
5515 @DocsEditable() | 5827 @DocsEditable() |
5516 @Experimental() // untriaged | 5828 @Experimental() // untriaged |
5517 bool isShader(Shader shader) native; | 5829 bool isShader(Shader shader) native ; |
5518 | 5830 |
5519 @DomName('WebGL2RenderingContext.isTexture') | 5831 @DomName('WebGL2RenderingContext.isTexture') |
5520 @DocsEditable() | 5832 @DocsEditable() |
5521 @Experimental() // untriaged | 5833 @Experimental() // untriaged |
5522 bool isTexture(Texture texture) native; | 5834 bool isTexture(Texture texture) native ; |
5523 | 5835 |
5524 @DomName('WebGL2RenderingContext.lineWidth') | 5836 @DomName('WebGL2RenderingContext.lineWidth') |
5525 @DocsEditable() | 5837 @DocsEditable() |
5526 @Experimental() // untriaged | 5838 @Experimental() // untriaged |
5527 void lineWidth(num width) native; | 5839 void lineWidth(num width) native ; |
5528 | 5840 |
5529 @DomName('WebGL2RenderingContext.linkProgram') | 5841 @DomName('WebGL2RenderingContext.linkProgram') |
5530 @DocsEditable() | 5842 @DocsEditable() |
5531 @Experimental() // untriaged | 5843 @Experimental() // untriaged |
5532 void linkProgram(Program program) native; | 5844 void linkProgram(Program program) native ; |
5533 | 5845 |
5534 @DomName('WebGL2RenderingContext.pixelStorei') | 5846 @DomName('WebGL2RenderingContext.pixelStorei') |
5535 @DocsEditable() | 5847 @DocsEditable() |
5536 @Experimental() // untriaged | 5848 @Experimental() // untriaged |
5537 void pixelStorei(int pname, int param) native; | 5849 void pixelStorei(int pname, int param) native ; |
5538 | 5850 |
5539 @DomName('WebGL2RenderingContext.polygonOffset') | 5851 @DomName('WebGL2RenderingContext.polygonOffset') |
5540 @DocsEditable() | 5852 @DocsEditable() |
5541 @Experimental() // untriaged | 5853 @Experimental() // untriaged |
5542 void polygonOffset(num factor, num units) native; | 5854 void polygonOffset(num factor, num units) native ; |
5543 | 5855 |
5544 @DomName('WebGL2RenderingContext.readPixels') | 5856 @DomName('WebGL2RenderingContext.readPixels') |
5545 @DocsEditable() | 5857 @DocsEditable() |
5546 @Experimental() // untriaged | 5858 @Experimental() // untriaged |
5547 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native; | 5859 void readPixels(int x, int y, int width, int height, int format, int type, |
| 5860 TypedData pixels) native ; |
5548 | 5861 |
5549 @DomName('WebGL2RenderingContext.renderbufferStorage') | 5862 @DomName('WebGL2RenderingContext.renderbufferStorage') |
5550 @DocsEditable() | 5863 @DocsEditable() |
5551 @Experimental() // untriaged | 5864 @Experimental() // untriaged |
5552 void renderbufferStorage(int target, int internalformat, int width, int height
) native; | 5865 void renderbufferStorage( |
| 5866 int target, int internalformat, int width, int height) native ; |
5553 | 5867 |
5554 @DomName('WebGL2RenderingContext.sampleCoverage') | 5868 @DomName('WebGL2RenderingContext.sampleCoverage') |
5555 @DocsEditable() | 5869 @DocsEditable() |
5556 @Experimental() // untriaged | 5870 @Experimental() // untriaged |
5557 void sampleCoverage(num value, bool invert) native; | 5871 void sampleCoverage(num value, bool invert) native ; |
5558 | 5872 |
5559 @DomName('WebGL2RenderingContext.scissor') | 5873 @DomName('WebGL2RenderingContext.scissor') |
5560 @DocsEditable() | 5874 @DocsEditable() |
5561 @Experimental() // untriaged | 5875 @Experimental() // untriaged |
5562 void scissor(int x, int y, int width, int height) native; | 5876 void scissor(int x, int y, int width, int height) native ; |
5563 | 5877 |
5564 @DomName('WebGL2RenderingContext.shaderSource') | 5878 @DomName('WebGL2RenderingContext.shaderSource') |
5565 @DocsEditable() | 5879 @DocsEditable() |
5566 @Experimental() // untriaged | 5880 @Experimental() // untriaged |
5567 void shaderSource(Shader shader, String string) native; | 5881 void shaderSource(Shader shader, String string) native ; |
5568 | 5882 |
5569 @DomName('WebGL2RenderingContext.stencilFunc') | 5883 @DomName('WebGL2RenderingContext.stencilFunc') |
5570 @DocsEditable() | 5884 @DocsEditable() |
5571 @Experimental() // untriaged | 5885 @Experimental() // untriaged |
5572 void stencilFunc(int func, int ref, int mask) native; | 5886 void stencilFunc(int func, int ref, int mask) native ; |
5573 | 5887 |
5574 @DomName('WebGL2RenderingContext.stencilFuncSeparate') | 5888 @DomName('WebGL2RenderingContext.stencilFuncSeparate') |
5575 @DocsEditable() | 5889 @DocsEditable() |
5576 @Experimental() // untriaged | 5890 @Experimental() // untriaged |
5577 void stencilFuncSeparate(int face, int func, int ref, int mask) native; | 5891 void stencilFuncSeparate(int face, int func, int ref, int mask) native ; |
5578 | 5892 |
5579 @DomName('WebGL2RenderingContext.stencilMask') | 5893 @DomName('WebGL2RenderingContext.stencilMask') |
5580 @DocsEditable() | 5894 @DocsEditable() |
5581 @Experimental() // untriaged | 5895 @Experimental() // untriaged |
5582 void stencilMask(int mask) native; | 5896 void stencilMask(int mask) native ; |
5583 | 5897 |
5584 @DomName('WebGL2RenderingContext.stencilMaskSeparate') | 5898 @DomName('WebGL2RenderingContext.stencilMaskSeparate') |
5585 @DocsEditable() | 5899 @DocsEditable() |
5586 @Experimental() // untriaged | 5900 @Experimental() // untriaged |
5587 void stencilMaskSeparate(int face, int mask) native; | 5901 void stencilMaskSeparate(int face, int mask) native ; |
5588 | 5902 |
5589 @DomName('WebGL2RenderingContext.stencilOp') | 5903 @DomName('WebGL2RenderingContext.stencilOp') |
5590 @DocsEditable() | 5904 @DocsEditable() |
5591 @Experimental() // untriaged | 5905 @Experimental() // untriaged |
5592 void stencilOp(int fail, int zfail, int zpass) native; | 5906 void stencilOp(int fail, int zfail, int zpass) native ; |
5593 | 5907 |
5594 @DomName('WebGL2RenderingContext.stencilOpSeparate') | 5908 @DomName('WebGL2RenderingContext.stencilOpSeparate') |
5595 @DocsEditable() | 5909 @DocsEditable() |
5596 @Experimental() // untriaged | 5910 @Experimental() // untriaged |
5597 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; | 5911 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native ; |
5598 | 5912 |
5599 @DomName('WebGL2RenderingContext.texImage2D') | 5913 @DomName('WebGL2RenderingContext.texImage2D') |
5600 @DocsEditable() | 5914 @DocsEditable() |
5601 @Experimental() // untriaged | 5915 @Experimental() // untriaged |
5602 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, TypedData pixels]) { | 5916 void texImage2D( |
5603 if (type != null && format != null && (border_OR_canvas_OR_image_OR_pixels_O
R_video is int)) { | 5917 int target, |
5604 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); | 5918 int level, |
5605 return; | 5919 int internalformat, |
5606 } | 5920 int format_OR_width, |
5607 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null &&
pixels == null) { | 5921 int height_OR_type, |
5608 var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_
pixels_OR_video); | 5922 border_OR_canvas_OR_image_OR_pixels_OR_video, |
5609 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, pixels_1); | 5923 [int format, |
5610 return; | 5924 int type, |
5611 } | 5925 TypedData pixels]) { |
5612 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && format
== null && type == null && pixels == null) { | 5926 if (type != null && |
5613 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 5927 format != null && |
5614 return; | 5928 (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) { |
5615 } | 5929 _texImage2D_1( |
5616 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && forma
t == null && type == null && pixels == null) { | 5930 target, |
5617 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 5931 level, |
5618 return; | 5932 internalformat, |
5619 } | 5933 format_OR_width, |
5620 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && format
== null && type == null && pixels == null) { | 5934 height_OR_type, |
5621 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 5935 border_OR_canvas_OR_image_OR_pixels_OR_video, |
| 5936 format, |
| 5937 type, |
| 5938 pixels); |
| 5939 return; |
| 5940 } |
| 5941 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || |
| 5942 border_OR_canvas_OR_image_OR_pixels_OR_video == null) && |
| 5943 format == null && |
| 5944 type == null && |
| 5945 pixels == null) { |
| 5946 var pixels_1 = convertDartToNative_ImageData( |
| 5947 border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 5948 _texImage2D_2(target, level, internalformat, format_OR_width, |
| 5949 height_OR_type, pixels_1); |
| 5950 return; |
| 5951 } |
| 5952 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && |
| 5953 format == null && |
| 5954 type == null && |
| 5955 pixels == null) { |
| 5956 _texImage2D_3(target, level, internalformat, format_OR_width, |
| 5957 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 5958 return; |
| 5959 } |
| 5960 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && |
| 5961 format == null && |
| 5962 type == null && |
| 5963 pixels == null) { |
| 5964 _texImage2D_4(target, level, internalformat, format_OR_width, |
| 5965 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 5966 return; |
| 5967 } |
| 5968 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && |
| 5969 format == null && |
| 5970 type == null && |
| 5971 pixels == null) { |
| 5972 _texImage2D_5(target, level, internalformat, format_OR_width, |
| 5973 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
5622 return; | 5974 return; |
5623 } | 5975 } |
5624 throw new ArgumentError("Incorrect number or type of arguments"); | 5976 throw new ArgumentError("Incorrect number or type of arguments"); |
5625 } | 5977 } |
| 5978 |
5626 @JSName('texImage2D') | 5979 @JSName('texImage2D') |
5627 @DomName('WebGL2RenderingContext.texImage2D') | 5980 @DomName('WebGL2RenderingContext.texImage2D') |
5628 @DocsEditable() | 5981 @DocsEditable() |
5629 @Experimental() // untriaged | 5982 @Experimental() // untriaged |
5630 void _texImage2D_1(target, level, internalformat, width, height, int border, f
ormat, type, TypedData pixels) native; | 5983 void _texImage2D_1(target, level, internalformat, width, height, int border, |
| 5984 format, type, TypedData pixels) native ; |
5631 @JSName('texImage2D') | 5985 @JSName('texImage2D') |
5632 @DomName('WebGL2RenderingContext.texImage2D') | 5986 @DomName('WebGL2RenderingContext.texImage2D') |
5633 @DocsEditable() | 5987 @DocsEditable() |
5634 @Experimental() // untriaged | 5988 @Experimental() // untriaged |
5635 void _texImage2D_2(target, level, internalformat, format, type, pixels) native
; | 5989 void _texImage2D_2(target, level, internalformat, format, type, pixels) |
| 5990 native ; |
5636 @JSName('texImage2D') | 5991 @JSName('texImage2D') |
5637 @DomName('WebGL2RenderingContext.texImage2D') | 5992 @DomName('WebGL2RenderingContext.texImage2D') |
5638 @DocsEditable() | 5993 @DocsEditable() |
5639 @Experimental() // untriaged | 5994 @Experimental() // untriaged |
5640 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i
mage) native; | 5995 void _texImage2D_3( |
| 5996 target, level, internalformat, format, type, ImageElement image) native ; |
5641 @JSName('texImage2D') | 5997 @JSName('texImage2D') |
5642 @DomName('WebGL2RenderingContext.texImage2D') | 5998 @DomName('WebGL2RenderingContext.texImage2D') |
5643 @DocsEditable() | 5999 @DocsEditable() |
5644 @Experimental() // untriaged | 6000 @Experimental() // untriaged |
5645 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; | 6001 void _texImage2D_4(target, level, internalformat, format, type, |
| 6002 CanvasElement canvas) native ; |
5646 @JSName('texImage2D') | 6003 @JSName('texImage2D') |
5647 @DomName('WebGL2RenderingContext.texImage2D') | 6004 @DomName('WebGL2RenderingContext.texImage2D') |
5648 @DocsEditable() | 6005 @DocsEditable() |
5649 @Experimental() // untriaged | 6006 @Experimental() // untriaged |
5650 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; | 6007 void _texImage2D_5( |
| 6008 target, level, internalformat, format, type, VideoElement video) native ; |
5651 | 6009 |
5652 @DomName('WebGL2RenderingContext.texParameterf') | 6010 @DomName('WebGL2RenderingContext.texParameterf') |
5653 @DocsEditable() | 6011 @DocsEditable() |
5654 @Experimental() // untriaged | 6012 @Experimental() // untriaged |
5655 void texParameterf(int target, int pname, num param) native; | 6013 void texParameterf(int target, int pname, num param) native ; |
5656 | 6014 |
5657 @DomName('WebGL2RenderingContext.texParameteri') | 6015 @DomName('WebGL2RenderingContext.texParameteri') |
5658 @DocsEditable() | 6016 @DocsEditable() |
5659 @Experimental() // untriaged | 6017 @Experimental() // untriaged |
5660 void texParameteri(int target, int pname, int param) native; | 6018 void texParameteri(int target, int pname, int param) native ; |
5661 | 6019 |
5662 @DomName('WebGL2RenderingContext.texSubImage2D') | 6020 @DomName('WebGL2RenderingContext.texSubImage2D') |
5663 @DocsEditable() | 6021 @DocsEditable() |
5664 @Experimental() // untriaged | 6022 @Experimental() // untriaged |
5665 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]) { | 6023 void texSubImage2D( |
| 6024 int target, |
| 6025 int level, |
| 6026 int xoffset, |
| 6027 int yoffset, |
| 6028 int format_OR_width, |
| 6029 int height_OR_type, |
| 6030 canvas_OR_format_OR_image_OR_pixels_OR_video, |
| 6031 [int type, |
| 6032 TypedData pixels]) { |
5666 if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) { | 6033 if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) { |
5667 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 6034 _texSubImage2D_1( |
5668 return; | 6035 target, |
5669 } | 6036 level, |
5670 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) { | 6037 xoffset, |
5671 var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_
pixels_OR_video); | 6038 yoffset, |
5672 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, pixels_1); | 6039 format_OR_width, |
5673 return; | 6040 height_OR_type, |
5674 } | 6041 canvas_OR_format_OR_image_OR_pixels_OR_video, |
5675 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && type =
= null && pixels == null) { | 6042 type, |
5676 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 6043 pixels); |
5677 return; | 6044 return; |
5678 } | 6045 } |
5679 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && type
== null && pixels == null) { | 6046 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || |
5680 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 6047 canvas_OR_format_OR_image_OR_pixels_OR_video == null) && |
5681 return; | 6048 type == null && |
5682 } | 6049 pixels == null) { |
5683 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && type =
= null && pixels == null) { | 6050 var pixels_1 = convertDartToNative_ImageData( |
5684 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 6051 canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 6052 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, |
| 6053 height_OR_type, pixels_1); |
| 6054 return; |
| 6055 } |
| 6056 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && |
| 6057 type == null && |
| 6058 pixels == null) { |
| 6059 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, |
| 6060 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 6061 return; |
| 6062 } |
| 6063 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && |
| 6064 type == null && |
| 6065 pixels == null) { |
| 6066 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, |
| 6067 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 6068 return; |
| 6069 } |
| 6070 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && |
| 6071 type == null && |
| 6072 pixels == null) { |
| 6073 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, |
| 6074 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
5685 return; | 6075 return; |
5686 } | 6076 } |
5687 throw new ArgumentError("Incorrect number or type of arguments"); | 6077 throw new ArgumentError("Incorrect number or type of arguments"); |
5688 } | 6078 } |
| 6079 |
5689 @JSName('texSubImage2D') | 6080 @JSName('texSubImage2D') |
5690 @DomName('WebGL2RenderingContext.texSubImage2D') | 6081 @DomName('WebGL2RenderingContext.texSubImage2D') |
5691 @DocsEditable() | 6082 @DocsEditable() |
5692 @Experimental() // untriaged | 6083 @Experimental() // untriaged |
5693 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form
at, type, TypedData pixels) native; | 6084 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, |
| 6085 int format, type, TypedData pixels) native ; |
5694 @JSName('texSubImage2D') | 6086 @JSName('texSubImage2D') |
5695 @DomName('WebGL2RenderingContext.texSubImage2D') | 6087 @DomName('WebGL2RenderingContext.texSubImage2D') |
5696 @DocsEditable() | 6088 @DocsEditable() |
5697 @Experimental() // untriaged | 6089 @Experimental() // untriaged |
5698 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n
ative; | 6090 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) |
| 6091 native ; |
5699 @JSName('texSubImage2D') | 6092 @JSName('texSubImage2D') |
5700 @DomName('WebGL2RenderingContext.texSubImage2D') | 6093 @DomName('WebGL2RenderingContext.texSubImage2D') |
5701 @DocsEditable() | 6094 @DocsEditable() |
5702 @Experimental() // untriaged | 6095 @Experimental() // untriaged |
5703 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem
ent image) native; | 6096 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, |
| 6097 ImageElement image) native ; |
5704 @JSName('texSubImage2D') | 6098 @JSName('texSubImage2D') |
5705 @DomName('WebGL2RenderingContext.texSubImage2D') | 6099 @DomName('WebGL2RenderingContext.texSubImage2D') |
5706 @DocsEditable() | 6100 @DocsEditable() |
5707 @Experimental() // untriaged | 6101 @Experimental() // untriaged |
5708 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; | 6102 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, |
| 6103 CanvasElement canvas) native ; |
5709 @JSName('texSubImage2D') | 6104 @JSName('texSubImage2D') |
5710 @DomName('WebGL2RenderingContext.texSubImage2D') | 6105 @DomName('WebGL2RenderingContext.texSubImage2D') |
5711 @DocsEditable() | 6106 @DocsEditable() |
5712 @Experimental() // untriaged | 6107 @Experimental() // untriaged |
5713 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; | 6108 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, |
| 6109 VideoElement video) native ; |
5714 | 6110 |
5715 @DomName('WebGL2RenderingContext.uniform1f') | 6111 @DomName('WebGL2RenderingContext.uniform1f') |
5716 @DocsEditable() | 6112 @DocsEditable() |
5717 @Experimental() // untriaged | 6113 @Experimental() // untriaged |
5718 void uniform1f(UniformLocation location, num x) native; | 6114 void uniform1f(UniformLocation location, num x) native ; |
5719 | 6115 |
5720 @DomName('WebGL2RenderingContext.uniform1fv') | 6116 @DomName('WebGL2RenderingContext.uniform1fv') |
5721 @DocsEditable() | 6117 @DocsEditable() |
5722 @Experimental() // untriaged | 6118 @Experimental() // untriaged |
5723 void uniform1fv(UniformLocation location, v) native; | 6119 void uniform1fv(UniformLocation location, v) native ; |
5724 | 6120 |
5725 @DomName('WebGL2RenderingContext.uniform1i') | 6121 @DomName('WebGL2RenderingContext.uniform1i') |
5726 @DocsEditable() | 6122 @DocsEditable() |
5727 @Experimental() // untriaged | 6123 @Experimental() // untriaged |
5728 void uniform1i(UniformLocation location, int x) native; | 6124 void uniform1i(UniformLocation location, int x) native ; |
5729 | 6125 |
5730 @DomName('WebGL2RenderingContext.uniform1iv') | 6126 @DomName('WebGL2RenderingContext.uniform1iv') |
5731 @DocsEditable() | 6127 @DocsEditable() |
5732 @Experimental() // untriaged | 6128 @Experimental() // untriaged |
5733 void uniform1iv(UniformLocation location, v) native; | 6129 void uniform1iv(UniformLocation location, v) native ; |
5734 | 6130 |
5735 @DomName('WebGL2RenderingContext.uniform2f') | 6131 @DomName('WebGL2RenderingContext.uniform2f') |
5736 @DocsEditable() | 6132 @DocsEditable() |
5737 @Experimental() // untriaged | 6133 @Experimental() // untriaged |
5738 void uniform2f(UniformLocation location, num x, num y) native; | 6134 void uniform2f(UniformLocation location, num x, num y) native ; |
5739 | 6135 |
5740 @DomName('WebGL2RenderingContext.uniform2fv') | 6136 @DomName('WebGL2RenderingContext.uniform2fv') |
5741 @DocsEditable() | 6137 @DocsEditable() |
5742 @Experimental() // untriaged | 6138 @Experimental() // untriaged |
5743 void uniform2fv(UniformLocation location, v) native; | 6139 void uniform2fv(UniformLocation location, v) native ; |
5744 | 6140 |
5745 @DomName('WebGL2RenderingContext.uniform2i') | 6141 @DomName('WebGL2RenderingContext.uniform2i') |
5746 @DocsEditable() | 6142 @DocsEditable() |
5747 @Experimental() // untriaged | 6143 @Experimental() // untriaged |
5748 void uniform2i(UniformLocation location, int x, int y) native; | 6144 void uniform2i(UniformLocation location, int x, int y) native ; |
5749 | 6145 |
5750 @DomName('WebGL2RenderingContext.uniform2iv') | 6146 @DomName('WebGL2RenderingContext.uniform2iv') |
5751 @DocsEditable() | 6147 @DocsEditable() |
5752 @Experimental() // untriaged | 6148 @Experimental() // untriaged |
5753 void uniform2iv(UniformLocation location, v) native; | 6149 void uniform2iv(UniformLocation location, v) native ; |
5754 | 6150 |
5755 @DomName('WebGL2RenderingContext.uniform3f') | 6151 @DomName('WebGL2RenderingContext.uniform3f') |
5756 @DocsEditable() | 6152 @DocsEditable() |
5757 @Experimental() // untriaged | 6153 @Experimental() // untriaged |
5758 void uniform3f(UniformLocation location, num x, num y, num z) native; | 6154 void uniform3f(UniformLocation location, num x, num y, num z) native ; |
5759 | 6155 |
5760 @DomName('WebGL2RenderingContext.uniform3fv') | 6156 @DomName('WebGL2RenderingContext.uniform3fv') |
5761 @DocsEditable() | 6157 @DocsEditable() |
5762 @Experimental() // untriaged | 6158 @Experimental() // untriaged |
5763 void uniform3fv(UniformLocation location, v) native; | 6159 void uniform3fv(UniformLocation location, v) native ; |
5764 | 6160 |
5765 @DomName('WebGL2RenderingContext.uniform3i') | 6161 @DomName('WebGL2RenderingContext.uniform3i') |
5766 @DocsEditable() | 6162 @DocsEditable() |
5767 @Experimental() // untriaged | 6163 @Experimental() // untriaged |
5768 void uniform3i(UniformLocation location, int x, int y, int z) native; | 6164 void uniform3i(UniformLocation location, int x, int y, int z) native ; |
5769 | 6165 |
5770 @DomName('WebGL2RenderingContext.uniform3iv') | 6166 @DomName('WebGL2RenderingContext.uniform3iv') |
5771 @DocsEditable() | 6167 @DocsEditable() |
5772 @Experimental() // untriaged | 6168 @Experimental() // untriaged |
5773 void uniform3iv(UniformLocation location, v) native; | 6169 void uniform3iv(UniformLocation location, v) native ; |
5774 | 6170 |
5775 @DomName('WebGL2RenderingContext.uniform4f') | 6171 @DomName('WebGL2RenderingContext.uniform4f') |
5776 @DocsEditable() | 6172 @DocsEditable() |
5777 @Experimental() // untriaged | 6173 @Experimental() // untriaged |
5778 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; | 6174 void uniform4f(UniformLocation location, num x, num y, num z, num w) native ; |
5779 | 6175 |
5780 @DomName('WebGL2RenderingContext.uniform4fv') | 6176 @DomName('WebGL2RenderingContext.uniform4fv') |
5781 @DocsEditable() | 6177 @DocsEditable() |
5782 @Experimental() // untriaged | 6178 @Experimental() // untriaged |
5783 void uniform4fv(UniformLocation location, v) native; | 6179 void uniform4fv(UniformLocation location, v) native ; |
5784 | 6180 |
5785 @DomName('WebGL2RenderingContext.uniform4i') | 6181 @DomName('WebGL2RenderingContext.uniform4i') |
5786 @DocsEditable() | 6182 @DocsEditable() |
5787 @Experimental() // untriaged | 6183 @Experimental() // untriaged |
5788 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; | 6184 void uniform4i(UniformLocation location, int x, int y, int z, int w) native ; |
5789 | 6185 |
5790 @DomName('WebGL2RenderingContext.uniform4iv') | 6186 @DomName('WebGL2RenderingContext.uniform4iv') |
5791 @DocsEditable() | 6187 @DocsEditable() |
5792 @Experimental() // untriaged | 6188 @Experimental() // untriaged |
5793 void uniform4iv(UniformLocation location, v) native; | 6189 void uniform4iv(UniformLocation location, v) native ; |
5794 | 6190 |
5795 @DomName('WebGL2RenderingContext.uniformMatrix2fv') | 6191 @DomName('WebGL2RenderingContext.uniformMatrix2fv') |
5796 @DocsEditable() | 6192 @DocsEditable() |
5797 @Experimental() // untriaged | 6193 @Experimental() // untriaged |
5798 void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; | 6194 void uniformMatrix2fv(UniformLocation location, bool transpose, array) |
| 6195 native ; |
5799 | 6196 |
5800 @DomName('WebGL2RenderingContext.uniformMatrix3fv') | 6197 @DomName('WebGL2RenderingContext.uniformMatrix3fv') |
5801 @DocsEditable() | 6198 @DocsEditable() |
5802 @Experimental() // untriaged | 6199 @Experimental() // untriaged |
5803 void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; | 6200 void uniformMatrix3fv(UniformLocation location, bool transpose, array) |
| 6201 native ; |
5804 | 6202 |
5805 @DomName('WebGL2RenderingContext.uniformMatrix4fv') | 6203 @DomName('WebGL2RenderingContext.uniformMatrix4fv') |
5806 @DocsEditable() | 6204 @DocsEditable() |
5807 @Experimental() // untriaged | 6205 @Experimental() // untriaged |
5808 void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; | 6206 void uniformMatrix4fv(UniformLocation location, bool transpose, array) |
| 6207 native ; |
5809 | 6208 |
5810 @DomName('WebGL2RenderingContext.useProgram') | 6209 @DomName('WebGL2RenderingContext.useProgram') |
5811 @DocsEditable() | 6210 @DocsEditable() |
5812 @Experimental() // untriaged | 6211 @Experimental() // untriaged |
5813 void useProgram(Program program) native; | 6212 void useProgram(Program program) native ; |
5814 | 6213 |
5815 @DomName('WebGL2RenderingContext.validateProgram') | 6214 @DomName('WebGL2RenderingContext.validateProgram') |
5816 @DocsEditable() | 6215 @DocsEditable() |
5817 @Experimental() // untriaged | 6216 @Experimental() // untriaged |
5818 void validateProgram(Program program) native; | 6217 void validateProgram(Program program) native ; |
5819 | 6218 |
5820 @DomName('WebGL2RenderingContext.vertexAttrib1f') | 6219 @DomName('WebGL2RenderingContext.vertexAttrib1f') |
5821 @DocsEditable() | 6220 @DocsEditable() |
5822 @Experimental() // untriaged | 6221 @Experimental() // untriaged |
5823 void vertexAttrib1f(int indx, num x) native; | 6222 void vertexAttrib1f(int indx, num x) native ; |
5824 | 6223 |
5825 @DomName('WebGL2RenderingContext.vertexAttrib1fv') | 6224 @DomName('WebGL2RenderingContext.vertexAttrib1fv') |
5826 @DocsEditable() | 6225 @DocsEditable() |
5827 @Experimental() // untriaged | 6226 @Experimental() // untriaged |
5828 void vertexAttrib1fv(int indx, values) native; | 6227 void vertexAttrib1fv(int indx, values) native ; |
5829 | 6228 |
5830 @DomName('WebGL2RenderingContext.vertexAttrib2f') | 6229 @DomName('WebGL2RenderingContext.vertexAttrib2f') |
5831 @DocsEditable() | 6230 @DocsEditable() |
5832 @Experimental() // untriaged | 6231 @Experimental() // untriaged |
5833 void vertexAttrib2f(int indx, num x, num y) native; | 6232 void vertexAttrib2f(int indx, num x, num y) native ; |
5834 | 6233 |
5835 @DomName('WebGL2RenderingContext.vertexAttrib2fv') | 6234 @DomName('WebGL2RenderingContext.vertexAttrib2fv') |
5836 @DocsEditable() | 6235 @DocsEditable() |
5837 @Experimental() // untriaged | 6236 @Experimental() // untriaged |
5838 void vertexAttrib2fv(int indx, values) native; | 6237 void vertexAttrib2fv(int indx, values) native ; |
5839 | 6238 |
5840 @DomName('WebGL2RenderingContext.vertexAttrib3f') | 6239 @DomName('WebGL2RenderingContext.vertexAttrib3f') |
5841 @DocsEditable() | 6240 @DocsEditable() |
5842 @Experimental() // untriaged | 6241 @Experimental() // untriaged |
5843 void vertexAttrib3f(int indx, num x, num y, num z) native; | 6242 void vertexAttrib3f(int indx, num x, num y, num z) native ; |
5844 | 6243 |
5845 @DomName('WebGL2RenderingContext.vertexAttrib3fv') | 6244 @DomName('WebGL2RenderingContext.vertexAttrib3fv') |
5846 @DocsEditable() | 6245 @DocsEditable() |
5847 @Experimental() // untriaged | 6246 @Experimental() // untriaged |
5848 void vertexAttrib3fv(int indx, values) native; | 6247 void vertexAttrib3fv(int indx, values) native ; |
5849 | 6248 |
5850 @DomName('WebGL2RenderingContext.vertexAttrib4f') | 6249 @DomName('WebGL2RenderingContext.vertexAttrib4f') |
5851 @DocsEditable() | 6250 @DocsEditable() |
5852 @Experimental() // untriaged | 6251 @Experimental() // untriaged |
5853 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; | 6252 void vertexAttrib4f(int indx, num x, num y, num z, num w) native ; |
5854 | 6253 |
5855 @DomName('WebGL2RenderingContext.vertexAttrib4fv') | 6254 @DomName('WebGL2RenderingContext.vertexAttrib4fv') |
5856 @DocsEditable() | 6255 @DocsEditable() |
5857 @Experimental() // untriaged | 6256 @Experimental() // untriaged |
5858 void vertexAttrib4fv(int indx, values) native; | 6257 void vertexAttrib4fv(int indx, values) native ; |
5859 | 6258 |
5860 @DomName('WebGL2RenderingContext.vertexAttribPointer') | 6259 @DomName('WebGL2RenderingContext.vertexAttribPointer') |
5861 @DocsEditable() | 6260 @DocsEditable() |
5862 @Experimental() // untriaged | 6261 @Experimental() // untriaged |
5863 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 6262 void vertexAttribPointer(int indx, int size, int type, bool normalized, |
| 6263 int stride, int offset) native ; |
5864 | 6264 |
5865 @DomName('WebGL2RenderingContext.viewport') | 6265 @DomName('WebGL2RenderingContext.viewport') |
5866 @DocsEditable() | 6266 @DocsEditable() |
5867 @Experimental() // untriaged | 6267 @Experimental() // untriaged |
5868 void viewport(int x, int y, int width, int height) native; | 6268 void viewport(int x, int y, int width, int height) native ; |
5869 } | 6269 } |
5870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5871 // for details. All rights reserved. Use of this source code is governed by a | 6271 // for details. All rights reserved. Use of this source code is governed by a |
5872 // BSD-style license that can be found in the LICENSE file. | 6272 // BSD-style license that can be found in the LICENSE file. |
5873 | 6273 |
5874 | |
5875 @DocsEditable() | 6274 @DocsEditable() |
5876 @DomName('WebGLSampler') | 6275 @DomName('WebGLSampler') |
5877 @Experimental() // untriaged | 6276 @Experimental() // untriaged |
5878 @Native("WebGLSampler") | 6277 @Native("WebGLSampler") |
5879 class Sampler extends Interceptor { | 6278 class Sampler extends Interceptor { |
5880 // To suppress missing implicit constructor warnings. | 6279 // To suppress missing implicit constructor warnings. |
5881 factory Sampler._() { throw new UnsupportedError("Not supported"); } | 6280 factory Sampler._() { |
| 6281 throw new UnsupportedError("Not supported"); |
| 6282 } |
5882 } | 6283 } |
5883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5884 // for details. All rights reserved. Use of this source code is governed by a | 6285 // for details. All rights reserved. Use of this source code is governed by a |
5885 // BSD-style license that can be found in the LICENSE file. | 6286 // BSD-style license that can be found in the LICENSE file. |
5886 | 6287 |
5887 | |
5888 @DocsEditable() | 6288 @DocsEditable() |
5889 @DomName('WebGLShader') | 6289 @DomName('WebGLShader') |
5890 @Native("WebGLShader") | 6290 @Native("WebGLShader") |
5891 class Shader extends Interceptor { | 6291 class Shader extends Interceptor { |
5892 // To suppress missing implicit constructor warnings. | 6292 // To suppress missing implicit constructor warnings. |
5893 factory Shader._() { throw new UnsupportedError("Not supported"); } | 6293 factory Shader._() { |
| 6294 throw new UnsupportedError("Not supported"); |
| 6295 } |
5894 } | 6296 } |
5895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6297 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5896 // for details. All rights reserved. Use of this source code is governed by a | 6298 // for details. All rights reserved. Use of this source code is governed by a |
5897 // BSD-style license that can be found in the LICENSE file. | 6299 // BSD-style license that can be found in the LICENSE file. |
5898 | 6300 |
5899 | |
5900 @DocsEditable() | 6301 @DocsEditable() |
5901 @DomName('WebGLShaderPrecisionFormat') | 6302 @DomName('WebGLShaderPrecisionFormat') |
5902 @Native("WebGLShaderPrecisionFormat") | 6303 @Native("WebGLShaderPrecisionFormat") |
5903 class ShaderPrecisionFormat extends Interceptor { | 6304 class ShaderPrecisionFormat extends Interceptor { |
5904 // To suppress missing implicit constructor warnings. | 6305 // To suppress missing implicit constructor warnings. |
5905 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } | 6306 factory ShaderPrecisionFormat._() { |
| 6307 throw new UnsupportedError("Not supported"); |
| 6308 } |
5906 | 6309 |
5907 @DomName('WebGLShaderPrecisionFormat.precision') | 6310 @DomName('WebGLShaderPrecisionFormat.precision') |
5908 @DocsEditable() | 6311 @DocsEditable() |
5909 final int precision; | 6312 final int precision; |
5910 | 6313 |
5911 @DomName('WebGLShaderPrecisionFormat.rangeMax') | 6314 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
5912 @DocsEditable() | 6315 @DocsEditable() |
5913 final int rangeMax; | 6316 final int rangeMax; |
5914 | 6317 |
5915 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 6318 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
5916 @DocsEditable() | 6319 @DocsEditable() |
5917 final int rangeMin; | 6320 final int rangeMin; |
5918 } | 6321 } |
5919 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5920 // for details. All rights reserved. Use of this source code is governed by a | 6323 // for details. All rights reserved. Use of this source code is governed by a |
5921 // BSD-style license that can be found in the LICENSE file. | 6324 // BSD-style license that can be found in the LICENSE file. |
5922 | 6325 |
5923 | |
5924 @DocsEditable() | 6326 @DocsEditable() |
5925 @DomName('WebGLSync') | 6327 @DomName('WebGLSync') |
5926 @Experimental() // untriaged | 6328 @Experimental() // untriaged |
5927 @Native("WebGLSync") | 6329 @Native("WebGLSync") |
5928 class Sync extends Interceptor { | 6330 class Sync extends Interceptor { |
5929 // To suppress missing implicit constructor warnings. | 6331 // To suppress missing implicit constructor warnings. |
5930 factory Sync._() { throw new UnsupportedError("Not supported"); } | 6332 factory Sync._() { |
| 6333 throw new UnsupportedError("Not supported"); |
| 6334 } |
5931 } | 6335 } |
5932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5933 // for details. All rights reserved. Use of this source code is governed by a | 6337 // for details. All rights reserved. Use of this source code is governed by a |
5934 // BSD-style license that can be found in the LICENSE file. | 6338 // BSD-style license that can be found in the LICENSE file. |
5935 | 6339 |
5936 | |
5937 @DocsEditable() | 6340 @DocsEditable() |
5938 @DomName('WebGLTexture') | 6341 @DomName('WebGLTexture') |
5939 @Native("WebGLTexture") | 6342 @Native("WebGLTexture") |
5940 class Texture extends Interceptor { | 6343 class Texture extends Interceptor { |
5941 // To suppress missing implicit constructor warnings. | 6344 // To suppress missing implicit constructor warnings. |
5942 factory Texture._() { throw new UnsupportedError("Not supported"); } | 6345 factory Texture._() { |
| 6346 throw new UnsupportedError("Not supported"); |
| 6347 } |
5943 } | 6348 } |
5944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5945 // for details. All rights reserved. Use of this source code is governed by a | 6350 // for details. All rights reserved. Use of this source code is governed by a |
5946 // BSD-style license that can be found in the LICENSE file. | 6351 // BSD-style license that can be found in the LICENSE file. |
5947 | 6352 |
5948 | |
5949 @DocsEditable() | 6353 @DocsEditable() |
5950 @DomName('WebGLTransformFeedback') | 6354 @DomName('WebGLTransformFeedback') |
5951 @Experimental() // untriaged | 6355 @Experimental() // untriaged |
5952 @Native("WebGLTransformFeedback") | 6356 @Native("WebGLTransformFeedback") |
5953 class TransformFeedback extends Interceptor { | 6357 class TransformFeedback extends Interceptor { |
5954 // To suppress missing implicit constructor warnings. | 6358 // To suppress missing implicit constructor warnings. |
5955 factory TransformFeedback._() { throw new UnsupportedError("Not supported"); } | 6359 factory TransformFeedback._() { |
| 6360 throw new UnsupportedError("Not supported"); |
| 6361 } |
5956 } | 6362 } |
5957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6363 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5958 // for details. All rights reserved. Use of this source code is governed by a | 6364 // for details. All rights reserved. Use of this source code is governed by a |
5959 // BSD-style license that can be found in the LICENSE file. | 6365 // BSD-style license that can be found in the LICENSE file. |
5960 | 6366 |
5961 | |
5962 @DocsEditable() | 6367 @DocsEditable() |
5963 @DomName('WebGLUniformLocation') | 6368 @DomName('WebGLUniformLocation') |
5964 @Native("WebGLUniformLocation") | 6369 @Native("WebGLUniformLocation") |
5965 class UniformLocation extends Interceptor { | 6370 class UniformLocation extends Interceptor { |
5966 // To suppress missing implicit constructor warnings. | 6371 // To suppress missing implicit constructor warnings. |
5967 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } | 6372 factory UniformLocation._() { |
| 6373 throw new UnsupportedError("Not supported"); |
| 6374 } |
5968 } | 6375 } |
5969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6376 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5970 // for details. All rights reserved. Use of this source code is governed by a | 6377 // for details. All rights reserved. Use of this source code is governed by a |
5971 // BSD-style license that can be found in the LICENSE file. | 6378 // BSD-style license that can be found in the LICENSE file. |
5972 | 6379 |
5973 | |
5974 @DocsEditable() | 6380 @DocsEditable() |
5975 @DomName('WebGLVertexArrayObject') | 6381 @DomName('WebGLVertexArrayObject') |
5976 @Experimental() // untriaged | 6382 @Experimental() // untriaged |
5977 @Native("WebGLVertexArrayObject") | 6383 @Native("WebGLVertexArrayObject") |
5978 class VertexArrayObject extends Interceptor { | 6384 class VertexArrayObject extends Interceptor { |
5979 // To suppress missing implicit constructor warnings. | 6385 // To suppress missing implicit constructor warnings. |
5980 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 6386 factory VertexArrayObject._() { |
| 6387 throw new UnsupportedError("Not supported"); |
| 6388 } |
5981 } | 6389 } |
5982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5983 // for details. All rights reserved. Use of this source code is governed by a | 6391 // for details. All rights reserved. Use of this source code is governed by a |
5984 // BSD-style license that can be found in the LICENSE file. | 6392 // BSD-style license that can be found in the LICENSE file. |
5985 | 6393 |
5986 | |
5987 @DocsEditable() | 6394 @DocsEditable() |
5988 @DomName('WebGLVertexArrayObjectOES') | 6395 @DomName('WebGLVertexArrayObjectOES') |
5989 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 6396 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
5990 @Experimental() // experimental | 6397 @Experimental() // experimental |
5991 @Native("WebGLVertexArrayObjectOES") | 6398 @Native("WebGLVertexArrayObjectOES") |
5992 class VertexArrayObjectOes extends Interceptor { | 6399 class VertexArrayObjectOes extends Interceptor { |
5993 // To suppress missing implicit constructor warnings. | 6400 // To suppress missing implicit constructor warnings. |
5994 factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported")
; } | 6401 factory VertexArrayObjectOes._() { |
| 6402 throw new UnsupportedError("Not supported"); |
| 6403 } |
5995 } | 6404 } |
5996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5997 // for details. All rights reserved. Use of this source code is governed by a | 6406 // for details. All rights reserved. Use of this source code is governed by a |
5998 // BSD-style license that can be found in the LICENSE file. | 6407 // BSD-style license that can be found in the LICENSE file. |
5999 | 6408 |
6000 | |
6001 @DocsEditable() | 6409 @DocsEditable() |
6002 @DomName('WebGL2RenderingContextBase') | 6410 @DomName('WebGL2RenderingContextBase') |
6003 @Experimental() // untriaged | 6411 @Experimental() // untriaged |
6004 @Native("WebGL2RenderingContextBase") | 6412 @Native("WebGL2RenderingContextBase") |
6005 abstract class _WebGL2RenderingContextBase extends Interceptor implements _WebGL
RenderingContextBase { | 6413 abstract class _WebGL2RenderingContextBase extends Interceptor |
| 6414 implements _WebGLRenderingContextBase { |
6006 // To suppress missing implicit constructor warnings. | 6415 // To suppress missing implicit constructor warnings. |
6007 factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supp
orted"); } | 6416 factory _WebGL2RenderingContextBase._() { |
| 6417 throw new UnsupportedError("Not supported"); |
| 6418 } |
6008 | 6419 |
6009 // From WebGLRenderingContextBase | 6420 // From WebGLRenderingContextBase |
6010 } | 6421 } |
6011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6012 // for details. All rights reserved. Use of this source code is governed by a | 6423 // for details. All rights reserved. Use of this source code is governed by a |
6013 // BSD-style license that can be found in the LICENSE file. | 6424 // BSD-style license that can be found in the LICENSE file. |
6014 | 6425 |
6015 | |
6016 @DocsEditable() | 6426 @DocsEditable() |
6017 @DomName('WebGLRenderingContextBase') | 6427 @DomName('WebGLRenderingContextBase') |
6018 @Experimental() // untriaged | 6428 @Experimental() // untriaged |
6019 abstract class _WebGLRenderingContextBase extends Interceptor { | 6429 abstract class _WebGLRenderingContextBase extends Interceptor { |
6020 // To suppress missing implicit constructor warnings. | 6430 // To suppress missing implicit constructor warnings. |
6021 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 6431 factory _WebGLRenderingContextBase._() { |
| 6432 throw new UnsupportedError("Not supported"); |
| 6433 } |
6022 } | 6434 } |
OLD | NEW |