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

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

Powered by Google App Engine
This is Rietveld 408576698