Moving AngleInstancedArrays from dart:html to dart:web_gl.

It's a new type which for some reason was added to Canvas rather than with the rest of the WebGL stuff.

BUG=11357
R=efortuna@google.com

Review URL: https://codereview.chromium.org//21297002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25649 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
blois@google.com
2013-07-30 22:26:34 +00:00
parent 0b0658b247
commit 59a514b316
5 changed files with 68 additions and 67 deletions
-33
View File
@@ -198,39 +198,6 @@ class AnchorElement extends _HTMLElement native "HTMLAnchorElement" {
// BSD-style license that can be found in the LICENSE file.
@DocsEditable()
@DomName('ANGLEInstancedArrays')
@Experimental() // untriaged
class AngleInstancedArrays extends Interceptor native "ANGLEInstancedArrays" {
@DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
@DocsEditable()
@Experimental() // untriaged
static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
@JSName('drawArraysInstancedANGLE')
@DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawArraysInstancedAngle(int mode, int first, int count, int primcount) native;
@JSName('drawElementsInstancedANGLE')
@DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) native;
@JSName('vertexAttribDivisorANGLE')
@DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
@DocsEditable()
@Experimental() // untriaged
void vertexAttribDivisorAngle(int index, int divisor) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@DocsEditable()
@DomName('WebKitAnimationEvent')
@SupportedBrowser(SupportedBrowser.CHROME)
-33
View File
@@ -280,39 +280,6 @@ class AnchorElement extends _HTMLElement {
// WARNING: Do not edit - generated code.
@DocsEditable()
@DomName('ANGLEInstancedArrays')
@Experimental() // untriaged
class AngleInstancedArrays extends NativeFieldWrapperClass1 {
@DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
@DocsEditable()
@Experimental() // untriaged
static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
@DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawArraysInstancedAngle(int mode, int first, int count, int primcount) native "ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback";
@DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) native "ANGLEInstancedArrays_drawElementsInstancedANGLE_Callback";
@DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
@DocsEditable()
@Experimental() // untriaged
void vertexAttribDivisorAngle(int index, int divisor) native "ANGLEInstancedArrays_vertexAttribDivisorANGLE_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
@DocsEditable()
@DomName('WebKitAnimationEvent')
@SupportedBrowser(SupportedBrowser.CHROME)
@@ -344,6 +344,39 @@ class ActiveInfo extends Interceptor native "WebGLActiveInfo" {
// BSD-style license that can be found in the LICENSE file.
@DocsEditable()
@DomName('ANGLEInstancedArrays')
@Experimental() // untriaged
class AngleInstancedArrays extends Interceptor native "ANGLEInstancedArrays" {
@DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
@DocsEditable()
@Experimental() // untriaged
static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
@JSName('drawArraysInstancedANGLE')
@DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawArraysInstancedAngle(int mode, int first, int count, int primcount) native;
@JSName('drawElementsInstancedANGLE')
@DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) native;
@JSName('vertexAttribDivisorANGLE')
@DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
@DocsEditable()
@Experimental() // untriaged
void vertexAttribDivisorAngle(int index, int divisor) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@DocsEditable()
@DomName('WebGLBuffer')
@Unstable()
@@ -347,6 +347,39 @@ class ActiveInfo extends NativeFieldWrapperClass1 {
// WARNING: Do not edit - generated code.
@DocsEditable()
@DomName('ANGLEInstancedArrays')
@Experimental() // untriaged
class AngleInstancedArrays extends NativeFieldWrapperClass1 {
@DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
@DocsEditable()
@Experimental() // untriaged
static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
@DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawArraysInstancedAngle(int mode, int first, int count, int primcount) native "ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback";
@DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) native "ANGLEInstancedArrays_drawElementsInstancedANGLE_Callback";
@DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
@DocsEditable()
@Experimental() // untriaged
void vertexAttribDivisorAngle(int index, int divisor) native "ANGLEInstancedArrays_vertexAttribDivisorANGLE_Callback";
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// WARNING: Do not edit - generated code.
@DocsEditable()
@DomName('WebGLBuffer')
@Unstable()
+2 -1
View File
@@ -717,9 +717,10 @@ removed_html_members = monitored.Set('htmlrenamer.removed_html_members', [
# Manual dart: library name lookup.
_library_names = monitored.Dict('htmlrenamer._library_names', {
'Window': 'html',
'ANGLEInstancedArrays': 'web_gl',
'Database': 'web_sql',
'Navigator': 'html',
'Window': 'html',
'WorkerContext': 'html',
})