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

Unified Diff: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Issue 15074006: Generating annotations from DOM triage list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
diff --git a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
index a895fb7ce2fc8f9a974a2fb98307652ea6536958..603b6f1a27ce6f96546dc94a4973865a02a274bf 100644
--- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
+++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
@@ -323,6 +323,7 @@ const int ZERO = RenderingContext.ZERO;
@DocsEditable
@DomName('WebGLActiveInfo')
+@Unstable
class ActiveInfo native "WebGLActiveInfo" {
@DomName('WebGLActiveInfo.name')
@@ -344,6 +345,7 @@ class ActiveInfo native "WebGLActiveInfo" {
@DocsEditable
@DomName('WebGLBuffer')
+@Unstable
class Buffer native "WebGLBuffer" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -353,6 +355,8 @@ class Buffer native "WebGLBuffer" {
@DocsEditable
@DomName('WebGLCompressedTextureATC')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc/
+@Experimental
class CompressedTextureAtc native "WebGLCompressedTextureATC" {
@DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
@@ -374,6 +378,8 @@ class CompressedTextureAtc native "WebGLCompressedTextureATC" {
@DocsEditable
@DomName('WebGLCompressedTexturePVRTC')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/
+@Experimental // experimental
class CompressedTexturePvrtc native "WebGLCompressedTexturePVRTC" {
@DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
@@ -399,6 +405,8 @@ class CompressedTexturePvrtc native "WebGLCompressedTexturePVRTC" {
@DocsEditable
@DomName('WebGLCompressedTextureS3TC')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/
+@Experimental // experimental
class CompressedTextureS3TC native "WebGLCompressedTextureS3TC" {
@DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
@@ -424,6 +432,7 @@ class CompressedTextureS3TC native "WebGLCompressedTextureS3TC" {
@DocsEditable
@DomName('WebGLContextAttributes')
+@Unstable
class ContextAttributes native "WebGLContextAttributes" {
@DomName('WebGLContextAttributes.alpha')
@@ -457,6 +466,7 @@ class ContextAttributes native "WebGLContextAttributes" {
@DocsEditable
@DomName('WebGLContextEvent')
+@Unstable
class ContextEvent extends Event native "WebGLContextEvent" {
@DomName('WebGLContextEvent.statusMessage')
@@ -470,6 +480,8 @@ class ContextEvent extends Event native "WebGLContextEvent" {
@DocsEditable
@DomName('WebGLDebugRendererInfo')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
+@Experimental // experimental
class DebugRendererInfo native "WebGLDebugRendererInfo" {
@DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
@@ -487,6 +499,8 @@ class DebugRendererInfo native "WebGLDebugRendererInfo" {
@DocsEditable
@DomName('WebGLDebugShaders')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
+@Experimental // experimental
class DebugShaders native "WebGLDebugShaders" {
@DomName('WebGLDebugShaders.getTranslatedShaderSource')
@@ -500,6 +514,8 @@ class DebugShaders native "WebGLDebugShaders" {
@DocsEditable
@DomName('WebGLDepthTexture')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
+@Experimental // experimental
class DepthTexture native "WebGLDepthTexture" {
@DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
@@ -513,6 +529,8 @@ class DepthTexture native "WebGLDepthTexture" {
@DocsEditable
@DomName('EXTDrawBuffers')
+// http://www.khronos.org/registry/webgl/specs/latest/
+@Experimental // stable
class ExtDrawBuffers native "EXTDrawBuffers" {
@DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT')
@@ -658,6 +676,8 @@ class ExtDrawBuffers native "EXTDrawBuffers" {
@DocsEditable
@DomName('EXTTextureFilterAnisotropic')
+// http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/
+@Experimental
class ExtTextureFilterAnisotropic native "EXTTextureFilterAnisotropic" {
@DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
@@ -675,6 +695,7 @@ class ExtTextureFilterAnisotropic native "EXTTextureFilterAnisotropic" {
@DocsEditable
@DomName('WebGLFramebuffer')
+@Unstable
class Framebuffer native "WebGLFramebuffer" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -684,6 +705,8 @@ class Framebuffer native "WebGLFramebuffer" {
@DocsEditable
@DomName('WebGLLoseContext')
+// http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
+@Experimental
class LoseContext native "WebGLLoseContext" {
@DomName('WebGLLoseContext.loseContext')
@@ -701,6 +724,8 @@ class LoseContext native "WebGLLoseContext" {
@DocsEditable
@DomName('OESElementIndexUint')
+// http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
+@Experimental // experimental
class OesElementIndexUint native "OESElementIndexUint" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -710,6 +735,8 @@ class OesElementIndexUint native "OESElementIndexUint" {
@DocsEditable
@DomName('OESStandardDerivatives')
+// http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
+@Experimental // experimental
class OesStandardDerivatives native "OESStandardDerivatives" {
@DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
@@ -723,6 +750,8 @@ class OesStandardDerivatives native "OESStandardDerivatives" {
@DocsEditable
@DomName('OESTextureFloat')
+// http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
+@Experimental // experimental
class OesTextureFloat native "OESTextureFloat" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -732,6 +761,8 @@ class OesTextureFloat native "OESTextureFloat" {
@DocsEditable
@DomName('OESTextureHalfFloat')
+// http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
+@Experimental // experimental
class OesTextureHalfFloat native "OESTextureHalfFloat" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -741,6 +772,8 @@ class OesTextureHalfFloat native "OESTextureHalfFloat" {
@DocsEditable
@DomName('OESVertexArrayObject')
+// http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
+@Experimental // experimental
class OesVertexArrayObject native "OESVertexArrayObject" {
@DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
@@ -774,6 +807,7 @@ class OesVertexArrayObject native "OESVertexArrayObject" {
@DocsEditable
@DomName('WebGLProgram')
+@Unstable
class Program native "WebGLProgram" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -783,6 +817,7 @@ class Program native "WebGLProgram" {
@DocsEditable
@DomName('WebGLRenderbuffer')
+@Unstable
class Renderbuffer native "WebGLRenderbuffer" {
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -795,6 +830,7 @@ class Renderbuffer native "WebGLRenderbuffer" {
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@Experimental
+@Unstable
class RenderingContext extends CanvasRenderingContext native "WebGLRenderingContext" {
/// Checks if this type is supported on the current platform.
@@ -1198,6 +1234,7 @@ class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont
@DomName('WebGLRenderingContext.HALF_FLOAT_OES')
@DocsEditable
+ @Experimental // nonstandard
static const int HALF_FLOAT_OES = 0x8D61;
@DomName('WebGLRenderingContext.HIGH_FLOAT')
@@ -2360,6 +2397,7 @@ class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont
@DomName('WebGLRenderingContext.releaseShaderCompiler')
@DocsEditable
+ @deprecated // nonstandard
void releaseShaderCompiler() native;
@DomName('WebGLRenderingContext.renderbufferStorage')
@@ -2683,5 +2721,7 @@ class UniformLocation native "WebGLUniformLocation" {
@DocsEditable
@DomName('WebGLVertexArrayObjectOES')
+// http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
+@Experimental // experimental
class VertexArrayObject native "WebGLVertexArrayObjectOES" {
}

Powered by Google App Engine
This is Rietveld 408576698