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

Side by Side Diff: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Issue 21297002: Moving AngleInstancedArrays from dart:html to dart:web_gl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:collection'; 3 import 'dart:collection';
4 import 'dart:_collection-dev' hide deprecated; 4 import 'dart:_collection-dev' hide deprecated;
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS; 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS;
9 import 'dart:_foreign_helper' show JS; 9 import 'dart:_foreign_helper' show JS;
10 import 'dart:_interceptors' show Interceptor, JSExtendableArray; 10 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 @DomName('WebGLActiveInfo.type') 338 @DomName('WebGLActiveInfo.type')
339 @DocsEditable() 339 @DocsEditable()
340 final int type; 340 final int type;
341 } 341 }
342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
343 // for details. All rights reserved. Use of this source code is governed by a 343 // for details. All rights reserved. Use of this source code is governed by a
344 // BSD-style license that can be found in the LICENSE file. 344 // BSD-style license that can be found in the LICENSE file.
345 345
346 346
347 @DocsEditable() 347 @DocsEditable()
348 @DomName('ANGLEInstancedArrays')
349 @Experimental() // untriaged
350 class AngleInstancedArrays extends Interceptor native "ANGLEInstancedArrays" {
351
352 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
353 @DocsEditable()
354 @Experimental() // untriaged
355 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
356
357 @JSName('drawArraysInstancedANGLE')
358 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
359 @DocsEditable()
360 @Experimental() // untriaged
361 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) n ative;
362
363 @JSName('drawElementsInstancedANGLE')
364 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
365 @DocsEditable()
366 @Experimental() // untriaged
367 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) native;
368
369 @JSName('vertexAttribDivisorANGLE')
370 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
371 @DocsEditable()
372 @Experimental() // untriaged
373 void vertexAttribDivisorAngle(int index, int divisor) native;
374 }
375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
376 // for details. All rights reserved. Use of this source code is governed by a
377 // BSD-style license that can be found in the LICENSE file.
378
379
380 @DocsEditable()
348 @DomName('WebGLBuffer') 381 @DomName('WebGLBuffer')
349 @Unstable() 382 @Unstable()
350 class Buffer extends Interceptor native "WebGLBuffer" { 383 class Buffer extends Interceptor native "WebGLBuffer" {
351 } 384 }
352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
353 // for details. All rights reserved. Use of this source code is governed by a 386 // for details. All rights reserved. Use of this source code is governed by a
354 // BSD-style license that can be found in the LICENSE file. 387 // BSD-style license that can be found in the LICENSE file.
355 388
356 389
357 @DocsEditable() 390 @DocsEditable()
(...skipping 2433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2791 // for details. All rights reserved. Use of this source code is governed by a 2824 // for details. All rights reserved. Use of this source code is governed by a
2792 // BSD-style license that can be found in the LICENSE file. 2825 // BSD-style license that can be found in the LICENSE file.
2793 2826
2794 2827
2795 @DocsEditable() 2828 @DocsEditable()
2796 @DomName('WebGLVertexArrayObjectOES') 2829 @DomName('WebGLVertexArrayObjectOES')
2797 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2830 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2798 @Experimental() // experimental 2831 @Experimental() // experimental
2799 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { 2832 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" {
2800 } 2833 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698