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

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

Issue 605083004: Merge 38 changes to bleeding edge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 73bed3420c1bc9797bc6c14012e0f45843ba7f75..19a6915f31ee538e9ce604c026fb8366536edc90 100644
--- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
+++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
@@ -787,6 +787,11 @@ class DrawBuffers extends Interceptor {
@DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL')
@DocsEditable()
static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824;
+
+ @JSName('drawBuffersWEBGL')
+ @DomName('WebGLDrawBuffers.drawBuffersWEBGL')
+ @DocsEditable()
+ void drawBuffersWebgl(List<int> buffers) 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
@@ -1372,7 +1377,7 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
@DomName('WebGLRenderingContext.getAttachedShaders')
@DocsEditable()
- void getAttachedShaders(Program program) native;
+ List<Shader> getAttachedShaders(Program program) native;
@DomName('WebGLRenderingContext.getAttribLocation')
@DocsEditable()
@@ -3698,7 +3703,7 @@ abstract class RenderingContextBase extends Interceptor {
ActiveInfo getActiveUniform(Program program, int index);
- void getAttachedShaders(Program program);
+ List<Shader> getAttachedShaders(Program program);
int getAttribLocation(Program program, String name);
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_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