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

Unified Diff: client/dom/idl/dart/dart.idl

Issue 8769030: Fix WebGL operations for dartc and frog. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « client/dom/generated/wrapping_dom_externs.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/idl/dart/dart.idl
diff --git a/client/dom/idl/dart/dart.idl b/client/dom/idl/dart/dart.idl
index e6c92b2ac38d7b8c995c94571490fe3ded5b3c3d..da0856bda702ca5945b4b1df5a26c72f6493ea61 100644
--- a/client/dom/idl/dart/dart.idl
+++ b/client/dom/idl/dart/dart.idl
@@ -63,6 +63,53 @@ module html {
};
};
+module html {
+ [Supplemental]
+ interface WebGLRenderingContext {
+
+ //void compressedTexImage2D(in unsigned long target, in long level, in unsigned long internalformat, in unsigned long width, in unsigned long height, in long border, in unsigned long imageSize, const void* data);
+ //void compressedTexSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, in unsigned long width, in unsigned long height, in unsigned long format, in unsigned long imageSize, const void* data);
+
+ any getBufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getBufferParameter();
+
+ object getExtension(in DOMString name);
+ [Suppressed, StrictTypeChecking, Custom] void getExtension(in DOMString name);
+
+ any getFramebufferAttachmentParameter(in unsigned long target, in unsigned long attachment, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParameter();
+
+ any getParameter(in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getParameter();
+
+ any getProgramParameter(in WebGLProgram program, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getProgramParameter();
+
+ any getRenderbufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getRenderbufferParameter();
+
+ any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getShaderParameter() raises(DOMException);
+
+ // TBD
+ // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
+
+ DOMString[] getSupportedExtensions();
+ [Suppressed, StrictTypeChecking, Custom] void getSupportedExtensions();
+
+ any getTexParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getTexParameter();
+
+ any getUniform(in WebGLProgram program, in WebGLUniformLocation location) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getUniform();
+
+ any getVertexAttrib(in unsigned long index, in unsigned long pname) raises(DOMException);
+ [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
+ };
+}
+
+
+
module canvas {
interface CanvasPixelArray {
int item(in int index);
« no previous file with comments | « client/dom/generated/wrapping_dom_externs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698