Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2119)

Side by Side Diff: client/html/generated/html/frog/WebGLRenderingContext.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class _WebGLRenderingContextImpl extends _CanvasRenderingContextImpl implements WebGLRenderingContext native "*WebGLRenderingContext" {
3
4 static final int ACTIVE_ATTRIBUTES = 0x8B89;
5
6 static final int ACTIVE_TEXTURE = 0x84E0;
7
8 static final int ACTIVE_UNIFORMS = 0x8B86;
9
10 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
11
12 static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
13
14 static final int ALPHA = 0x1906;
15
16 static final int ALPHA_BITS = 0x0D55;
17
18 static final int ALWAYS = 0x0207;
19
20 static final int ARRAY_BUFFER = 0x8892;
21
22 static final int ARRAY_BUFFER_BINDING = 0x8894;
23
24 static final int ATTACHED_SHADERS = 0x8B85;
25
26 static final int BACK = 0x0405;
27
28 static final int BLEND = 0x0BE2;
29
30 static final int BLEND_COLOR = 0x8005;
31
32 static final int BLEND_DST_ALPHA = 0x80CA;
33
34 static final int BLEND_DST_RGB = 0x80C8;
35
36 static final int BLEND_EQUATION = 0x8009;
37
38 static final int BLEND_EQUATION_ALPHA = 0x883D;
39
40 static final int BLEND_EQUATION_RGB = 0x8009;
41
42 static final int BLEND_SRC_ALPHA = 0x80CB;
43
44 static final int BLEND_SRC_RGB = 0x80C9;
45
46 static final int BLUE_BITS = 0x0D54;
47
48 static final int BOOL = 0x8B56;
49
50 static final int BOOL_VEC2 = 0x8B57;
51
52 static final int BOOL_VEC3 = 0x8B58;
53
54 static final int BOOL_VEC4 = 0x8B59;
55
56 static final int BROWSER_DEFAULT_WEBGL = 0x9244;
57
58 static final int BUFFER_SIZE = 0x8764;
59
60 static final int BUFFER_USAGE = 0x8765;
61
62 static final int BYTE = 0x1400;
63
64 static final int CCW = 0x0901;
65
66 static final int CLAMP_TO_EDGE = 0x812F;
67
68 static final int COLOR_ATTACHMENT0 = 0x8CE0;
69
70 static final int COLOR_BUFFER_BIT = 0x00004000;
71
72 static final int COLOR_CLEAR_VALUE = 0x0C22;
73
74 static final int COLOR_WRITEMASK = 0x0C23;
75
76 static final int COMPILE_STATUS = 0x8B81;
77
78 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
79
80 static final int CONSTANT_ALPHA = 0x8003;
81
82 static final int CONSTANT_COLOR = 0x8001;
83
84 static final int CONTEXT_LOST_WEBGL = 0x9242;
85
86 static final int CULL_FACE = 0x0B44;
87
88 static final int CULL_FACE_MODE = 0x0B45;
89
90 static final int CURRENT_PROGRAM = 0x8B8D;
91
92 static final int CURRENT_VERTEX_ATTRIB = 0x8626;
93
94 static final int CW = 0x0900;
95
96 static final int DECR = 0x1E03;
97
98 static final int DECR_WRAP = 0x8508;
99
100 static final int DELETE_STATUS = 0x8B80;
101
102 static final int DEPTH_ATTACHMENT = 0x8D00;
103
104 static final int DEPTH_BITS = 0x0D56;
105
106 static final int DEPTH_BUFFER_BIT = 0x00000100;
107
108 static final int DEPTH_CLEAR_VALUE = 0x0B73;
109
110 static final int DEPTH_COMPONENT = 0x1902;
111
112 static final int DEPTH_COMPONENT16 = 0x81A5;
113
114 static final int DEPTH_FUNC = 0x0B74;
115
116 static final int DEPTH_RANGE = 0x0B70;
117
118 static final int DEPTH_STENCIL = 0x84F9;
119
120 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A;
121
122 static final int DEPTH_TEST = 0x0B71;
123
124 static final int DEPTH_WRITEMASK = 0x0B72;
125
126 static final int DITHER = 0x0BD0;
127
128 static final int DONT_CARE = 0x1100;
129
130 static final int DST_ALPHA = 0x0304;
131
132 static final int DST_COLOR = 0x0306;
133
134 static final int DYNAMIC_DRAW = 0x88E8;
135
136 static final int ELEMENT_ARRAY_BUFFER = 0x8893;
137
138 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
139
140 static final int EQUAL = 0x0202;
141
142 static final int FASTEST = 0x1101;
143
144 static final int FLOAT = 0x1406;
145
146 static final int FLOAT_MAT2 = 0x8B5A;
147
148 static final int FLOAT_MAT3 = 0x8B5B;
149
150 static final int FLOAT_MAT4 = 0x8B5C;
151
152 static final int FLOAT_VEC2 = 0x8B50;
153
154 static final int FLOAT_VEC3 = 0x8B51;
155
156 static final int FLOAT_VEC4 = 0x8B52;
157
158 static final int FRAGMENT_SHADER = 0x8B30;
159
160 static final int FRAMEBUFFER = 0x8D40;
161
162 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
163
164 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
165
166 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
167
168 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
169
170 static final int FRAMEBUFFER_BINDING = 0x8CA6;
171
172 static final int FRAMEBUFFER_COMPLETE = 0x8CD5;
173
174 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
175
176 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
177
178 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
179
180 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
181
182 static final int FRONT = 0x0404;
183
184 static final int FRONT_AND_BACK = 0x0408;
185
186 static final int FRONT_FACE = 0x0B46;
187
188 static final int FUNC_ADD = 0x8006;
189
190 static final int FUNC_REVERSE_SUBTRACT = 0x800B;
191
192 static final int FUNC_SUBTRACT = 0x800A;
193
194 static final int GENERATE_MIPMAP_HINT = 0x8192;
195
196 static final int GEQUAL = 0x0206;
197
198 static final int GREATER = 0x0204;
199
200 static final int GREEN_BITS = 0x0D53;
201
202 static final int HIGH_FLOAT = 0x8DF2;
203
204 static final int HIGH_INT = 0x8DF5;
205
206 static final int INCR = 0x1E02;
207
208 static final int INCR_WRAP = 0x8507;
209
210 static final int INT = 0x1404;
211
212 static final int INT_VEC2 = 0x8B53;
213
214 static final int INT_VEC3 = 0x8B54;
215
216 static final int INT_VEC4 = 0x8B55;
217
218 static final int INVALID_ENUM = 0x0500;
219
220 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
221
222 static final int INVALID_OPERATION = 0x0502;
223
224 static final int INVALID_VALUE = 0x0501;
225
226 static final int INVERT = 0x150A;
227
228 static final int KEEP = 0x1E00;
229
230 static final int LEQUAL = 0x0203;
231
232 static final int LESS = 0x0201;
233
234 static final int LINEAR = 0x2601;
235
236 static final int LINEAR_MIPMAP_LINEAR = 0x2703;
237
238 static final int LINEAR_MIPMAP_NEAREST = 0x2701;
239
240 static final int LINES = 0x0001;
241
242 static final int LINE_LOOP = 0x0002;
243
244 static final int LINE_STRIP = 0x0003;
245
246 static final int LINE_WIDTH = 0x0B21;
247
248 static final int LINK_STATUS = 0x8B82;
249
250 static final int LOW_FLOAT = 0x8DF0;
251
252 static final int LOW_INT = 0x8DF3;
253
254 static final int LUMINANCE = 0x1909;
255
256 static final int LUMINANCE_ALPHA = 0x190A;
257
258 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
259
260 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
261
262 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
263
264 static final int MAX_RENDERBUFFER_SIZE = 0x84E8;
265
266 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
267
268 static final int MAX_TEXTURE_SIZE = 0x0D33;
269
270 static final int MAX_VARYING_VECTORS = 0x8DFC;
271
272 static final int MAX_VERTEX_ATTRIBS = 0x8869;
273
274 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
275
276 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
277
278 static final int MAX_VIEWPORT_DIMS = 0x0D3A;
279
280 static final int MEDIUM_FLOAT = 0x8DF1;
281
282 static final int MEDIUM_INT = 0x8DF4;
283
284 static final int MIRRORED_REPEAT = 0x8370;
285
286 static final int NEAREST = 0x2600;
287
288 static final int NEAREST_MIPMAP_LINEAR = 0x2702;
289
290 static final int NEAREST_MIPMAP_NEAREST = 0x2700;
291
292 static final int NEVER = 0x0200;
293
294 static final int NICEST = 0x1102;
295
296 static final int NONE = 0;
297
298 static final int NOTEQUAL = 0x0205;
299
300 static final int NO_ERROR = 0;
301
302 static final int ONE = 1;
303
304 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
305
306 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
307
308 static final int ONE_MINUS_DST_ALPHA = 0x0305;
309
310 static final int ONE_MINUS_DST_COLOR = 0x0307;
311
312 static final int ONE_MINUS_SRC_ALPHA = 0x0303;
313
314 static final int ONE_MINUS_SRC_COLOR = 0x0301;
315
316 static final int OUT_OF_MEMORY = 0x0505;
317
318 static final int PACK_ALIGNMENT = 0x0D05;
319
320 static final int POINTS = 0x0000;
321
322 static final int POLYGON_OFFSET_FACTOR = 0x8038;
323
324 static final int POLYGON_OFFSET_FILL = 0x8037;
325
326 static final int POLYGON_OFFSET_UNITS = 0x2A00;
327
328 static final int RED_BITS = 0x0D52;
329
330 static final int RENDERBUFFER = 0x8D41;
331
332 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
333
334 static final int RENDERBUFFER_BINDING = 0x8CA7;
335
336 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
337
338 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
339
340 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
341
342 static final int RENDERBUFFER_HEIGHT = 0x8D43;
343
344 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
345
346 static final int RENDERBUFFER_RED_SIZE = 0x8D50;
347
348 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
349
350 static final int RENDERBUFFER_WIDTH = 0x8D42;
351
352 static final int RENDERER = 0x1F01;
353
354 static final int REPEAT = 0x2901;
355
356 static final int REPLACE = 0x1E01;
357
358 static final int RGB = 0x1907;
359
360 static final int RGB565 = 0x8D62;
361
362 static final int RGB5_A1 = 0x8057;
363
364 static final int RGBA = 0x1908;
365
366 static final int RGBA4 = 0x8056;
367
368 static final int SAMPLER_2D = 0x8B5E;
369
370 static final int SAMPLER_CUBE = 0x8B60;
371
372 static final int SAMPLES = 0x80A9;
373
374 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
375
376 static final int SAMPLE_BUFFERS = 0x80A8;
377
378 static final int SAMPLE_COVERAGE = 0x80A0;
379
380 static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
381
382 static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
383
384 static final int SCISSOR_BOX = 0x0C10;
385
386 static final int SCISSOR_TEST = 0x0C11;
387
388 static final int SHADER_COMPILER = 0x8DFA;
389
390 static final int SHADER_TYPE = 0x8B4F;
391
392 static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
393
394 static final int SHORT = 0x1402;
395
396 static final int SRC_ALPHA = 0x0302;
397
398 static final int SRC_ALPHA_SATURATE = 0x0308;
399
400 static final int SRC_COLOR = 0x0300;
401
402 static final int STATIC_DRAW = 0x88E4;
403
404 static final int STENCIL_ATTACHMENT = 0x8D20;
405
406 static final int STENCIL_BACK_FAIL = 0x8801;
407
408 static final int STENCIL_BACK_FUNC = 0x8800;
409
410 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
411
412 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
413
414 static final int STENCIL_BACK_REF = 0x8CA3;
415
416 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
417
418 static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
419
420 static final int STENCIL_BITS = 0x0D57;
421
422 static final int STENCIL_BUFFER_BIT = 0x00000400;
423
424 static final int STENCIL_CLEAR_VALUE = 0x0B91;
425
426 static final int STENCIL_FAIL = 0x0B94;
427
428 static final int STENCIL_FUNC = 0x0B92;
429
430 static final int STENCIL_INDEX = 0x1901;
431
432 static final int STENCIL_INDEX8 = 0x8D48;
433
434 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
435
436 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
437
438 static final int STENCIL_REF = 0x0B97;
439
440 static final int STENCIL_TEST = 0x0B90;
441
442 static final int STENCIL_VALUE_MASK = 0x0B93;
443
444 static final int STENCIL_WRITEMASK = 0x0B98;
445
446 static final int STREAM_DRAW = 0x88E0;
447
448 static final int SUBPIXEL_BITS = 0x0D50;
449
450 static final int TEXTURE = 0x1702;
451
452 static final int TEXTURE0 = 0x84C0;
453
454 static final int TEXTURE1 = 0x84C1;
455
456 static final int TEXTURE10 = 0x84CA;
457
458 static final int TEXTURE11 = 0x84CB;
459
460 static final int TEXTURE12 = 0x84CC;
461
462 static final int TEXTURE13 = 0x84CD;
463
464 static final int TEXTURE14 = 0x84CE;
465
466 static final int TEXTURE15 = 0x84CF;
467
468 static final int TEXTURE16 = 0x84D0;
469
470 static final int TEXTURE17 = 0x84D1;
471
472 static final int TEXTURE18 = 0x84D2;
473
474 static final int TEXTURE19 = 0x84D3;
475
476 static final int TEXTURE2 = 0x84C2;
477
478 static final int TEXTURE20 = 0x84D4;
479
480 static final int TEXTURE21 = 0x84D5;
481
482 static final int TEXTURE22 = 0x84D6;
483
484 static final int TEXTURE23 = 0x84D7;
485
486 static final int TEXTURE24 = 0x84D8;
487
488 static final int TEXTURE25 = 0x84D9;
489
490 static final int TEXTURE26 = 0x84DA;
491
492 static final int TEXTURE27 = 0x84DB;
493
494 static final int TEXTURE28 = 0x84DC;
495
496 static final int TEXTURE29 = 0x84DD;
497
498 static final int TEXTURE3 = 0x84C3;
499
500 static final int TEXTURE30 = 0x84DE;
501
502 static final int TEXTURE31 = 0x84DF;
503
504 static final int TEXTURE4 = 0x84C4;
505
506 static final int TEXTURE5 = 0x84C5;
507
508 static final int TEXTURE6 = 0x84C6;
509
510 static final int TEXTURE7 = 0x84C7;
511
512 static final int TEXTURE8 = 0x84C8;
513
514 static final int TEXTURE9 = 0x84C9;
515
516 static final int TEXTURE_2D = 0x0DE1;
517
518 static final int TEXTURE_BINDING_2D = 0x8069;
519
520 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
521
522 static final int TEXTURE_CUBE_MAP = 0x8513;
523
524 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
525
526 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
527
528 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
529
530 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
531
532 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
533
534 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
535
536 static final int TEXTURE_MAG_FILTER = 0x2800;
537
538 static final int TEXTURE_MIN_FILTER = 0x2801;
539
540 static final int TEXTURE_WRAP_S = 0x2802;
541
542 static final int TEXTURE_WRAP_T = 0x2803;
543
544 static final int TRIANGLES = 0x0004;
545
546 static final int TRIANGLE_FAN = 0x0006;
547
548 static final int TRIANGLE_STRIP = 0x0005;
549
550 static final int UNPACK_ALIGNMENT = 0x0CF5;
551
552 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
553
554 static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
555
556 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
557
558 static final int UNSIGNED_BYTE = 0x1401;
559
560 static final int UNSIGNED_INT = 0x1405;
561
562 static final int UNSIGNED_SHORT = 0x1403;
563
564 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
565
566 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
567
568 static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
569
570 static final int VALIDATE_STATUS = 0x8B83;
571
572 static final int VENDOR = 0x1F00;
573
574 static final int VERSION = 0x1F02;
575
576 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
577
578 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
579
580 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
581
582 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
583
584 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
585
586 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
587
588 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
589
590 static final int VERTEX_SHADER = 0x8B31;
591
592 static final int VIEWPORT = 0x0BA2;
593
594 static final int ZERO = 0;
595
596 final int drawingBufferHeight;
597
598 final int drawingBufferWidth;
599
600 void activeTexture(int texture) native;
601
602 void attachShader(_WebGLProgramImpl program, _WebGLShaderImpl shader) native;
603
604 void bindAttribLocation(_WebGLProgramImpl program, int index, String name) nat ive;
605
606 void bindBuffer(int target, _WebGLBufferImpl buffer) native;
607
608 void bindFramebuffer(int target, _WebGLFramebufferImpl framebuffer) native;
609
610 void bindRenderbuffer(int target, _WebGLRenderbufferImpl renderbuffer) native;
611
612 void bindTexture(int target, _WebGLTextureImpl texture) native;
613
614 void blendColor(num red, num green, num blue, num alpha) native;
615
616 void blendEquation(int mode) native;
617
618 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
619
620 void blendFunc(int sfactor, int dfactor) native;
621
622 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
623
624 void bufferData(int target, var data_OR_size, int usage) native;
625
626 void bufferSubData(int target, int offset, var data) native;
627
628 int checkFramebufferStatus(int target) native;
629
630 void clear(int mask) native;
631
632 void clearColor(num red, num green, num blue, num alpha) native;
633
634 void clearDepth(num depth) native;
635
636 void clearStencil(int s) native;
637
638 void colorMask(bool red, bool green, bool blue, bool alpha) native;
639
640 void compileShader(_WebGLShaderImpl shader) native;
641
642 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, _ArrayBufferViewImpl data) native;
643
644 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewImpl data) native;
645
646 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
647
648 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
649
650 _WebGLBufferImpl createBuffer() native;
651
652 _WebGLFramebufferImpl createFramebuffer() native;
653
654 _WebGLProgramImpl createProgram() native;
655
656 _WebGLRenderbufferImpl createRenderbuffer() native;
657
658 _WebGLShaderImpl createShader(int type) native;
659
660 _WebGLTextureImpl createTexture() native;
661
662 void cullFace(int mode) native;
663
664 void deleteBuffer(_WebGLBufferImpl buffer) native;
665
666 void deleteFramebuffer(_WebGLFramebufferImpl framebuffer) native;
667
668 void deleteProgram(_WebGLProgramImpl program) native;
669
670 void deleteRenderbuffer(_WebGLRenderbufferImpl renderbuffer) native;
671
672 void deleteShader(_WebGLShaderImpl shader) native;
673
674 void deleteTexture(_WebGLTextureImpl texture) native;
675
676 void depthFunc(int func) native;
677
678 void depthMask(bool flag) native;
679
680 void depthRange(num zNear, num zFar) native;
681
682 void detachShader(_WebGLProgramImpl program, _WebGLShaderImpl shader) native;
683
684 void disable(int cap) native;
685
686 void disableVertexAttribArray(int index) native;
687
688 void drawArrays(int mode, int first, int count) native;
689
690 void drawElements(int mode, int count, int type, int offset) native;
691
692 void enable(int cap) native;
693
694 void enableVertexAttribArray(int index) native;
695
696 void finish() native;
697
698 void flush() native;
699
700 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, _WebGLRenderbufferImpl renderbuffer) native;
701
702 void framebufferTexture2D(int target, int attachment, int textarget, _WebGLTex tureImpl texture, int level) native;
703
704 void frontFace(int mode) native;
705
706 void generateMipmap(int target) native;
707
708 _WebGLActiveInfoImpl getActiveAttrib(_WebGLProgramImpl program, int index) nat ive;
709
710 _WebGLActiveInfoImpl getActiveUniform(_WebGLProgramImpl program, int index) na tive;
711
712 List getAttachedShaders(_WebGLProgramImpl program) native;
713
714 int getAttribLocation(_WebGLProgramImpl program, String name) native;
715
716 Object getBufferParameter(int target, int pname) native;
717
718 _WebGLContextAttributesImpl getContextAttributes() native;
719
720 int getError() native;
721
722 Object getExtension(String name) native;
723
724 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
725
726 Object getParameter(int pname) native;
727
728 String getProgramInfoLog(_WebGLProgramImpl program) native;
729
730 Object getProgramParameter(_WebGLProgramImpl program, int pname) native;
731
732 Object getRenderbufferParameter(int target, int pname) native;
733
734 String getShaderInfoLog(_WebGLShaderImpl shader) native;
735
736 Object getShaderParameter(_WebGLShaderImpl shader, int pname) native;
737
738 String getShaderSource(_WebGLShaderImpl shader) native;
739
740 Object getTexParameter(int target, int pname) native;
741
742 Object getUniform(_WebGLProgramImpl program, _WebGLUniformLocationImpl locatio n) native;
743
744 _WebGLUniformLocationImpl getUniformLocation(_WebGLProgramImpl program, String name) native;
745
746 Object getVertexAttrib(int index, int pname) native;
747
748 int getVertexAttribOffset(int index, int pname) native;
749
750 void hint(int target, int mode) native;
751
752 bool isBuffer(_WebGLBufferImpl buffer) native;
753
754 bool isContextLost() native;
755
756 bool isEnabled(int cap) native;
757
758 bool isFramebuffer(_WebGLFramebufferImpl framebuffer) native;
759
760 bool isProgram(_WebGLProgramImpl program) native;
761
762 bool isRenderbuffer(_WebGLRenderbufferImpl renderbuffer) native;
763
764 bool isShader(_WebGLShaderImpl shader) native;
765
766 bool isTexture(_WebGLTextureImpl texture) native;
767
768 void lineWidth(num width) native;
769
770 void linkProgram(_WebGLProgramImpl program) native;
771
772 void pixelStorei(int pname, int param) native;
773
774 void polygonOffset(num factor, num units) native;
775
776 void readPixels(int x, int y, int width, int height, int format, int type, _Ar rayBufferViewImpl pixels) native;
777
778 void releaseShaderCompiler() native;
779
780 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
781
782 void sampleCoverage(num value, bool invert) native;
783
784 void scissor(int x, int y, int width, int height) native;
785
786 void shaderSource(_WebGLShaderImpl shader, String string) native;
787
788 void stencilFunc(int func, int ref, int mask) native;
789
790 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
791
792 void stencilMask(int mask) native;
793
794 void stencilMaskSeparate(int face, int mask) native;
795
796 void stencilOp(int fail, int zfail, int zpass) native;
797
798 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
799
800 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for mat = null, int type = null, _ArrayBufferViewImpl pixels = null]) native;
801
802 void texParameterf(int target, int pname, num param) native;
803
804 void texParameteri(int target, int pname, int param) native;
805
806 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video, [int type = null, _ArrayBufferViewImpl pixels = null]) native;
807
808 void uniform1f(_WebGLUniformLocationImpl location, num x) native;
809
810 void uniform1fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) nativ e;
811
812 void uniform1i(_WebGLUniformLocationImpl location, int x) native;
813
814 void uniform1iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
815
816 void uniform2f(_WebGLUniformLocationImpl location, num x, num y) native;
817
818 void uniform2fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) nativ e;
819
820 void uniform2i(_WebGLUniformLocationImpl location, int x, int y) native;
821
822 void uniform2iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
823
824 void uniform3f(_WebGLUniformLocationImpl location, num x, num y, num z) native ;
825
826 void uniform3fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) nativ e;
827
828 void uniform3i(_WebGLUniformLocationImpl location, int x, int y, int z) native ;
829
830 void uniform3iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
831
832 void uniform4f(_WebGLUniformLocationImpl location, num x, num y, num z, num w) native;
833
834 void uniform4fv(_WebGLUniformLocationImpl location, _Float32ArrayImpl v) nativ e;
835
836 void uniform4i(_WebGLUniformLocationImpl location, int x, int y, int z, int w) native;
837
838 void uniform4iv(_WebGLUniformLocationImpl location, _Int32ArrayImpl v) native;
839
840 void uniformMatrix2fv(_WebGLUniformLocationImpl location, bool transpose, _Flo at32ArrayImpl array) native;
841
842 void uniformMatrix3fv(_WebGLUniformLocationImpl location, bool transpose, _Flo at32ArrayImpl array) native;
843
844 void uniformMatrix4fv(_WebGLUniformLocationImpl location, bool transpose, _Flo at32ArrayImpl array) native;
845
846 void useProgram(_WebGLProgramImpl program) native;
847
848 void validateProgram(_WebGLProgramImpl program) native;
849
850 void vertexAttrib1f(int indx, num x) native;
851
852 void vertexAttrib1fv(int indx, _Float32ArrayImpl values) native;
853
854 void vertexAttrib2f(int indx, num x, num y) native;
855
856 void vertexAttrib2fv(int indx, _Float32ArrayImpl values) native;
857
858 void vertexAttrib3f(int indx, num x, num y, num z) native;
859
860 void vertexAttrib3fv(int indx, _Float32ArrayImpl values) native;
861
862 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
863
864 void vertexAttrib4fv(int indx, _Float32ArrayImpl values) native;
865
866 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
867
868 void viewport(int x, int y, int width, int height) native;
869 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698