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

Side by Side Diff: client/html/generated/src/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) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
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 NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
308
309 static final int ONE = 1;
310
311 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
312
313 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
314
315 static final int ONE_MINUS_DST_ALPHA = 0x0305;
316
317 static final int ONE_MINUS_DST_COLOR = 0x0307;
318
319 static final int ONE_MINUS_SRC_ALPHA = 0x0303;
320
321 static final int ONE_MINUS_SRC_COLOR = 0x0301;
322
323 static final int OUT_OF_MEMORY = 0x0505;
324
325 static final int PACK_ALIGNMENT = 0x0D05;
326
327 static final int POINTS = 0x0000;
328
329 static final int POLYGON_OFFSET_FACTOR = 0x8038;
330
331 static final int POLYGON_OFFSET_FILL = 0x8037;
332
333 static final int POLYGON_OFFSET_UNITS = 0x2A00;
334
335 static final int RED_BITS = 0x0D52;
336
337 static final int RENDERBUFFER = 0x8D41;
338
339 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
340
341 static final int RENDERBUFFER_BINDING = 0x8CA7;
342
343 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
344
345 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
346
347 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
348
349 static final int RENDERBUFFER_HEIGHT = 0x8D43;
350
351 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
352
353 static final int RENDERBUFFER_RED_SIZE = 0x8D50;
354
355 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
356
357 static final int RENDERBUFFER_WIDTH = 0x8D42;
358
359 static final int RENDERER = 0x1F01;
360
361 static final int REPEAT = 0x2901;
362
363 static final int REPLACE = 0x1E01;
364
365 static final int RGB = 0x1907;
366
367 static final int RGB565 = 0x8D62;
368
369 static final int RGB5_A1 = 0x8057;
370
371 static final int RGBA = 0x1908;
372
373 static final int RGBA4 = 0x8056;
374
375 static final int SAMPLER_2D = 0x8B5E;
376
377 static final int SAMPLER_CUBE = 0x8B60;
378
379 static final int SAMPLES = 0x80A9;
380
381 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
382
383 static final int SAMPLE_BUFFERS = 0x80A8;
384
385 static final int SAMPLE_COVERAGE = 0x80A0;
386
387 static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
388
389 static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
390
391 static final int SCISSOR_BOX = 0x0C10;
392
393 static final int SCISSOR_TEST = 0x0C11;
394
395 static final int SHADER_COMPILER = 0x8DFA;
396
397 static final int SHADER_TYPE = 0x8B4F;
398
399 static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
400
401 static final int SHORT = 0x1402;
402
403 static final int SRC_ALPHA = 0x0302;
404
405 static final int SRC_ALPHA_SATURATE = 0x0308;
406
407 static final int SRC_COLOR = 0x0300;
408
409 static final int STATIC_DRAW = 0x88E4;
410
411 static final int STENCIL_ATTACHMENT = 0x8D20;
412
413 static final int STENCIL_BACK_FAIL = 0x8801;
414
415 static final int STENCIL_BACK_FUNC = 0x8800;
416
417 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
418
419 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
420
421 static final int STENCIL_BACK_REF = 0x8CA3;
422
423 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
424
425 static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
426
427 static final int STENCIL_BITS = 0x0D57;
428
429 static final int STENCIL_BUFFER_BIT = 0x00000400;
430
431 static final int STENCIL_CLEAR_VALUE = 0x0B91;
432
433 static final int STENCIL_FAIL = 0x0B94;
434
435 static final int STENCIL_FUNC = 0x0B92;
436
437 static final int STENCIL_INDEX = 0x1901;
438
439 static final int STENCIL_INDEX8 = 0x8D48;
440
441 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
442
443 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
444
445 static final int STENCIL_REF = 0x0B97;
446
447 static final int STENCIL_TEST = 0x0B90;
448
449 static final int STENCIL_VALUE_MASK = 0x0B93;
450
451 static final int STENCIL_WRITEMASK = 0x0B98;
452
453 static final int STREAM_DRAW = 0x88E0;
454
455 static final int SUBPIXEL_BITS = 0x0D50;
456
457 static final int TEXTURE = 0x1702;
458
459 static final int TEXTURE0 = 0x84C0;
460
461 static final int TEXTURE1 = 0x84C1;
462
463 static final int TEXTURE10 = 0x84CA;
464
465 static final int TEXTURE11 = 0x84CB;
466
467 static final int TEXTURE12 = 0x84CC;
468
469 static final int TEXTURE13 = 0x84CD;
470
471 static final int TEXTURE14 = 0x84CE;
472
473 static final int TEXTURE15 = 0x84CF;
474
475 static final int TEXTURE16 = 0x84D0;
476
477 static final int TEXTURE17 = 0x84D1;
478
479 static final int TEXTURE18 = 0x84D2;
480
481 static final int TEXTURE19 = 0x84D3;
482
483 static final int TEXTURE2 = 0x84C2;
484
485 static final int TEXTURE20 = 0x84D4;
486
487 static final int TEXTURE21 = 0x84D5;
488
489 static final int TEXTURE22 = 0x84D6;
490
491 static final int TEXTURE23 = 0x84D7;
492
493 static final int TEXTURE24 = 0x84D8;
494
495 static final int TEXTURE25 = 0x84D9;
496
497 static final int TEXTURE26 = 0x84DA;
498
499 static final int TEXTURE27 = 0x84DB;
500
501 static final int TEXTURE28 = 0x84DC;
502
503 static final int TEXTURE29 = 0x84DD;
504
505 static final int TEXTURE3 = 0x84C3;
506
507 static final int TEXTURE30 = 0x84DE;
508
509 static final int TEXTURE31 = 0x84DF;
510
511 static final int TEXTURE4 = 0x84C4;
512
513 static final int TEXTURE5 = 0x84C5;
514
515 static final int TEXTURE6 = 0x84C6;
516
517 static final int TEXTURE7 = 0x84C7;
518
519 static final int TEXTURE8 = 0x84C8;
520
521 static final int TEXTURE9 = 0x84C9;
522
523 static final int TEXTURE_2D = 0x0DE1;
524
525 static final int TEXTURE_BINDING_2D = 0x8069;
526
527 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
528
529 static final int TEXTURE_CUBE_MAP = 0x8513;
530
531 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
532
533 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
534
535 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
536
537 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
538
539 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
540
541 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
542
543 static final int TEXTURE_MAG_FILTER = 0x2800;
544
545 static final int TEXTURE_MIN_FILTER = 0x2801;
546
547 static final int TEXTURE_WRAP_S = 0x2802;
548
549 static final int TEXTURE_WRAP_T = 0x2803;
550
551 static final int TRIANGLES = 0x0004;
552
553 static final int TRIANGLE_FAN = 0x0006;
554
555 static final int TRIANGLE_STRIP = 0x0005;
556
557 static final int UNPACK_ALIGNMENT = 0x0CF5;
558
559 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
560
561 static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
562
563 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
564
565 static final int UNSIGNED_BYTE = 0x1401;
566
567 static final int UNSIGNED_INT = 0x1405;
568
569 static final int UNSIGNED_SHORT = 0x1403;
570
571 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
572
573 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
574
575 static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
576
577 static final int VALIDATE_STATUS = 0x8B83;
578
579 static final int VENDOR = 0x1F00;
580
581 static final int VERSION = 0x1F02;
582
583 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
584
585 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
586
587 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
588
589 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
590
591 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
592
593 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
594
595 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
596
597 static final int VERTEX_SHADER = 0x8B31;
598
599 static final int VIEWPORT = 0x0BA2;
600
601 static final int ZERO = 0;
602
603 int get drawingBufferHeight();
604
605 int get drawingBufferWidth();
606
607 void activeTexture(int texture);
608
609 void attachShader(WebGLProgram program, WebGLShader shader);
610
611 void bindAttribLocation(WebGLProgram program, int index, String name);
612
613 void bindBuffer(int target, WebGLBuffer buffer);
614
615 void bindFramebuffer(int target, WebGLFramebuffer framebuffer);
616
617 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer);
618
619 void bindTexture(int target, WebGLTexture texture);
620
621 void blendColor(num red, num green, num blue, num alpha);
622
623 void blendEquation(int mode);
624
625 void blendEquationSeparate(int modeRGB, int modeAlpha);
626
627 void blendFunc(int sfactor, int dfactor);
628
629 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
630
631 void bufferData(int target, var data_OR_size, int usage);
632
633 void bufferSubData(int target, int offset, var data);
634
635 int checkFramebufferStatus(int target);
636
637 void clear(int mask);
638
639 void clearColor(num red, num green, num blue, num alpha);
640
641 void clearDepth(num depth);
642
643 void clearStencil(int s);
644
645 void colorMask(bool red, bool green, bool blue, bool alpha);
646
647 void compileShader(WebGLShader shader);
648
649 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border);
650
651 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
652
653 WebGLBuffer createBuffer();
654
655 WebGLFramebuffer createFramebuffer();
656
657 WebGLProgram createProgram();
658
659 WebGLRenderbuffer createRenderbuffer();
660
661 WebGLShader createShader(int type);
662
663 WebGLTexture createTexture();
664
665 void cullFace(int mode);
666
667 void deleteBuffer(WebGLBuffer buffer);
668
669 void deleteFramebuffer(WebGLFramebuffer framebuffer);
670
671 void deleteProgram(WebGLProgram program);
672
673 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer);
674
675 void deleteShader(WebGLShader shader);
676
677 void deleteTexture(WebGLTexture texture);
678
679 void depthFunc(int func);
680
681 void depthMask(bool flag);
682
683 void depthRange(num zNear, num zFar);
684
685 void detachShader(WebGLProgram program, WebGLShader shader);
686
687 void disable(int cap);
688
689 void disableVertexAttribArray(int index);
690
691 void drawArrays(int mode, int first, int count);
692
693 void drawElements(int mode, int count, int type, int offset);
694
695 void enable(int cap);
696
697 void enableVertexAttribArray(int index);
698
699 void finish();
700
701 void flush();
702
703 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, WebGLRenderbuffer renderbuffer);
704
705 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText ure texture, int level);
706
707 void frontFace(int mode);
708
709 void generateMipmap(int target);
710
711 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index);
712
713 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index);
714
715 void getAttachedShaders(WebGLProgram program);
716
717 int getAttribLocation(WebGLProgram program, String name);
718
719 Object getBufferParameter(int target, int pname);
720
721 WebGLContextAttributes getContextAttributes();
722
723 int getError();
724
725 Object getExtension(String name);
726
727 Object getFramebufferAttachmentParameter(int target, int attachment, int pname );
728
729 Object getParameter(int pname);
730
731 String getProgramInfoLog(WebGLProgram program);
732
733 Object getProgramParameter(WebGLProgram program, int pname);
734
735 Object getRenderbufferParameter(int target, int pname);
736
737 String getShaderInfoLog(WebGLShader shader);
738
739 Object getShaderParameter(WebGLShader shader, int pname);
740
741 String getShaderSource(WebGLShader shader);
742
743 Object getTexParameter(int target, int pname);
744
745 Object getUniform(WebGLProgram program, WebGLUniformLocation location);
746
747 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name);
748
749 Object getVertexAttrib(int index, int pname);
750
751 int getVertexAttribOffset(int index, int pname);
752
753 void hint(int target, int mode);
754
755 bool isBuffer(WebGLBuffer buffer);
756
757 bool isContextLost();
758
759 bool isEnabled(int cap);
760
761 bool isFramebuffer(WebGLFramebuffer framebuffer);
762
763 bool isProgram(WebGLProgram program);
764
765 bool isRenderbuffer(WebGLRenderbuffer renderbuffer);
766
767 bool isShader(WebGLShader shader);
768
769 bool isTexture(WebGLTexture texture);
770
771 void lineWidth(num width);
772
773 void linkProgram(WebGLProgram program);
774
775 void pixelStorei(int pname, int param);
776
777 void polygonOffset(num factor, num units);
778
779 void readPixels(int x, int y, int width, int height, int format, int type, Arr ayBufferView pixels);
780
781 void releaseShaderCompiler();
782
783 void renderbufferStorage(int target, int internalformat, int width, int height );
784
785 void sampleCoverage(num value, bool invert);
786
787 void scissor(int x, int y, int width, int height);
788
789 void shaderSource(WebGLShader shader, String string);
790
791 void stencilFunc(int func, int ref, int mask);
792
793 void stencilFuncSeparate(int face, int func, int ref, int mask);
794
795 void stencilMask(int mask);
796
797 void stencilMaskSeparate(int face, int mask);
798
799 void stencilOp(int fail, int zfail, int zpass);
800
801 void stencilOpSeparate(int face, int fail, int zfail, int zpass);
802
803 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format, int type, ArrayBufferView pixels]);
804
805 void texParameterf(int target, int pname, num param);
806
807 void texParameteri(int target, int pname, int param);
808
809 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, [int typ e, ArrayBufferView pixels]);
810
811 void uniform1f(WebGLUniformLocation location, num x);
812
813 void uniform1fv(WebGLUniformLocation location, Float32Array v);
814
815 void uniform1i(WebGLUniformLocation location, int x);
816
817 void uniform1iv(WebGLUniformLocation location, Int32Array v);
818
819 void uniform2f(WebGLUniformLocation location, num x, num y);
820
821 void uniform2fv(WebGLUniformLocation location, Float32Array v);
822
823 void uniform2i(WebGLUniformLocation location, int x, int y);
824
825 void uniform2iv(WebGLUniformLocation location, Int32Array v);
826
827 void uniform3f(WebGLUniformLocation location, num x, num y, num z);
828
829 void uniform3fv(WebGLUniformLocation location, Float32Array v);
830
831 void uniform3i(WebGLUniformLocation location, int x, int y, int z);
832
833 void uniform3iv(WebGLUniformLocation location, Int32Array v);
834
835 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w);
836
837 void uniform4fv(WebGLUniformLocation location, Float32Array v);
838
839 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w);
840
841 void uniform4iv(WebGLUniformLocation location, Int32Array v);
842
843 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
844
845 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
846
847 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
848
849 void useProgram(WebGLProgram program);
850
851 void validateProgram(WebGLProgram program);
852
853 void vertexAttrib1f(int indx, num x);
854
855 void vertexAttrib1fv(int indx, Float32Array values);
856
857 void vertexAttrib2f(int indx, num x, num y);
858
859 void vertexAttrib2fv(int indx, Float32Array values);
860
861 void vertexAttrib3f(int indx, num x, num y, num z);
862
863 void vertexAttrib3fv(int indx, Float32Array values);
864
865 void vertexAttrib4f(int indx, num x, num y, num z, num w);
866
867 void vertexAttrib4fv(int indx, Float32Array values);
868
869 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset);
870
871 void viewport(int x, int y, int width, int height);
872 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698