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

Unified Diff: core/html/canvas/WebGLRenderingContext.idl

Issue 23014006: Roll IDL to multivm@1350 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/html/canvas/WebGLDebugShaders.idl ('k') | core/html/track/TextTrack.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/canvas/WebGLRenderingContext.idl
diff --git a/core/html/canvas/WebGLRenderingContext.idl b/core/html/canvas/WebGLRenderingContext.idl
index e82cc8a6b0602a45c29b09eea6d239fd0c9eed91..a006bae1c532a0fe6d26836b767f324fb6131879 100644
--- a/core/html/canvas/WebGLRenderingContext.idl
+++ b/core/html/canvas/WebGLRenderingContext.idl
@@ -460,23 +460,23 @@ typedef /*unrestricted*/ float GLclampf;
readonly attribute GLsizei drawingBufferWidth;
readonly attribute GLsizei drawingBufferHeight;
- [StrictTypeChecking, RaisesException] void activeTexture(GLenum texture);
- [StrictTypeChecking, RaisesException] void attachShader(WebGLProgram program, WebGLShader shader);
- [StrictTypeChecking, RaisesException] void bindAttribLocation(WebGLProgram program, GLuint index, DOMString name);
- [StrictTypeChecking, RaisesException] void bindBuffer(GLenum target, WebGLBuffer buffer);
- [StrictTypeChecking, RaisesException] void bindFramebuffer(GLenum target, WebGLFramebuffer framebuffer);
- [StrictTypeChecking, RaisesException] void bindRenderbuffer(GLenum target, WebGLRenderbuffer renderbuffer);
- [StrictTypeChecking, RaisesException] void bindTexture(GLenum target, WebGLTexture texture);
+ [StrictTypeChecking] void activeTexture(GLenum texture);
+ [StrictTypeChecking] void attachShader(WebGLProgram program, WebGLShader shader);
+ [StrictTypeChecking] void bindAttribLocation(WebGLProgram program, GLuint index, DOMString name);
+ [StrictTypeChecking] void bindBuffer(GLenum target, WebGLBuffer buffer);
+ [StrictTypeChecking] void bindFramebuffer(GLenum target, WebGLFramebuffer framebuffer);
+ [StrictTypeChecking] void bindRenderbuffer(GLenum target, WebGLRenderbuffer renderbuffer);
+ [StrictTypeChecking] void bindTexture(GLenum target, WebGLTexture texture);
[StrictTypeChecking] void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
[StrictTypeChecking] void blendEquation(GLenum mode);
[StrictTypeChecking] void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
[StrictTypeChecking] void blendFunc(GLenum sfactor, GLenum dfactor);
[StrictTypeChecking] void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
- [StrictTypeChecking, RaisesException] void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);
- [StrictTypeChecking, RaisesException] void bufferData(GLenum target, ArrayBufferView? data, GLenum usage);
- [StrictTypeChecking, RaisesException] void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
- [StrictTypeChecking, RaisesException] void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data);
- [StrictTypeChecking, RaisesException] void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView? data);
+ [StrictTypeChecking] void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);
+ [StrictTypeChecking] void bufferData(GLenum target, ArrayBufferView? data, GLenum usage);
+ [StrictTypeChecking] void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
+ [StrictTypeChecking] void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data);
+ [StrictTypeChecking] void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView? data);
[StrictTypeChecking] GLenum checkFramebufferStatus(GLenum target);
[StrictTypeChecking] void clear(GLbitfield mask);
@@ -484,7 +484,7 @@ typedef /*unrestricted*/ float GLclampf;
[StrictTypeChecking] void clearDepth(GLclampf depth);
[StrictTypeChecking] void clearStencil(GLint s);
[StrictTypeChecking] void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
- [StrictTypeChecking, RaisesException] void compileShader(WebGLShader shader);
+ [StrictTypeChecking] void compileShader(WebGLShader shader);
[StrictTypeChecking] void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
GLsizei width, GLsizei height, GLint border, ArrayBufferView data);
@@ -498,7 +498,7 @@ typedef /*unrestricted*/ float GLclampf;
[StrictTypeChecking] WebGLFramebuffer createFramebuffer();
[StrictTypeChecking] WebGLProgram createProgram();
[StrictTypeChecking] WebGLRenderbuffer createRenderbuffer();
- [StrictTypeChecking, RaisesException] WebGLShader createShader(GLenum type);
+ [StrictTypeChecking] WebGLShader createShader(GLenum type);
[StrictTypeChecking] WebGLTexture createTexture();
[StrictTypeChecking] void cullFace(GLenum mode);
@@ -513,25 +513,25 @@ typedef /*unrestricted*/ float GLclampf;
[StrictTypeChecking] void depthFunc(GLenum func);
[StrictTypeChecking] void depthMask(GLboolean flag);
[StrictTypeChecking] void depthRange(GLclampf zNear, GLclampf zFar);
- [StrictTypeChecking, RaisesException] void detachShader(WebGLProgram program, WebGLShader shader);
+ [StrictTypeChecking] void detachShader(WebGLProgram program, WebGLShader shader);
[StrictTypeChecking] void disable(GLenum cap);
- [StrictTypeChecking, RaisesException] void disableVertexAttribArray(GLuint index);
- [StrictTypeChecking, RaisesException] void drawArrays(GLenum mode, GLint first, GLsizei count);
- [StrictTypeChecking, RaisesException] void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset);
+ [StrictTypeChecking] void disableVertexAttribArray(GLuint index);
+ [StrictTypeChecking] void drawArrays(GLenum mode, GLint first, GLsizei count);
+ [StrictTypeChecking] void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset);
[StrictTypeChecking] void enable(GLenum cap);
- [StrictTypeChecking, RaisesException] void enableVertexAttribArray(GLuint index);
+ [StrictTypeChecking] void enableVertexAttribArray(GLuint index);
[StrictTypeChecking] void finish();
[StrictTypeChecking] void flush();
- [StrictTypeChecking, RaisesException] void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer renderbuffer);
- [StrictTypeChecking, RaisesException] void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, WebGLTexture texture, GLint level);
+ [StrictTypeChecking] void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer renderbuffer);
+ [StrictTypeChecking] void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, WebGLTexture texture, GLint level);
[StrictTypeChecking] void frontFace(GLenum mode);
[StrictTypeChecking] void generateMipmap(GLenum target);
- [StrictTypeChecking, RaisesException] WebGLActiveInfo getActiveAttrib(WebGLProgram program, GLuint index);
- [StrictTypeChecking, RaisesException] WebGLActiveInfo getActiveUniform(WebGLProgram program, GLuint index);
+ [StrictTypeChecking] WebGLActiveInfo getActiveAttrib(WebGLProgram program, GLuint index);
+ [StrictTypeChecking] WebGLActiveInfo getActiveUniform(WebGLProgram program, GLuint index);
- [StrictTypeChecking, Custom, RaisesException] void getAttachedShaders(WebGLProgram program);
+ [StrictTypeChecking, Custom] void getAttachedShaders(WebGLProgram program);
[StrictTypeChecking] GLint getAttribLocation(WebGLProgram program, DOMString name);
@@ -544,28 +544,28 @@ typedef /*unrestricted*/ float GLclampf;
// object getExtension(DOMString name);
[StrictTypeChecking, Custom] any getExtension(DOMString name);
- [StrictTypeChecking, Custom, RaisesException] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname);
- [StrictTypeChecking, Custom, RaisesException] any getParameter(GLenum pname);
- [StrictTypeChecking, Custom, RaisesException] any getProgramParameter(WebGLProgram program, GLenum pname);
- [StrictTypeChecking, TreatReturnedNullStringAs=Null, RaisesException] DOMString getProgramInfoLog(WebGLProgram program);
- [StrictTypeChecking, Custom, RaisesException] any getRenderbufferParameter(GLenum target, GLenum pname);
- [StrictTypeChecking, Custom, RaisesException] any getShaderParameter(WebGLShader shader, GLenum pname);
+ [StrictTypeChecking, Custom] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname);
+ [StrictTypeChecking, Custom] any getParameter(GLenum pname);
+ [StrictTypeChecking, Custom] any getProgramParameter(WebGLProgram program, GLenum pname);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getProgramInfoLog(WebGLProgram program);
+ [StrictTypeChecking, Custom] any getRenderbufferParameter(GLenum target, GLenum pname);
+ [StrictTypeChecking, Custom] any getShaderParameter(WebGLShader shader, GLenum pname);
- [StrictTypeChecking, TreatReturnedNullStringAs=Null, RaisesException] DOMString getShaderInfoLog(WebGLShader shader);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getShaderInfoLog(WebGLShader shader);
- [StrictTypeChecking, RaisesException] WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype);
+ [StrictTypeChecking] WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype);
- [StrictTypeChecking, TreatReturnedNullStringAs=Null, RaisesException] DOMString getShaderSource(WebGLShader shader);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getShaderSource(WebGLShader shader);
[StrictTypeChecking, Custom] sequence<DOMString> getSupportedExtensions();
- [StrictTypeChecking, Custom, RaisesException] any getTexParameter(GLenum target, GLenum pname);
+ [StrictTypeChecking, Custom] any getTexParameter(GLenum target, GLenum pname);
- [StrictTypeChecking, Custom, RaisesException] any getUniform(WebGLProgram program, WebGLUniformLocation location);
+ [StrictTypeChecking, Custom] any getUniform(WebGLProgram program, WebGLUniformLocation location);
- [StrictTypeChecking, RaisesException] WebGLUniformLocation getUniformLocation(WebGLProgram program, DOMString name);
+ [StrictTypeChecking] WebGLUniformLocation getUniformLocation(WebGLProgram program, DOMString name);
- [StrictTypeChecking, Custom, RaisesException] any getVertexAttrib(GLuint index, GLenum pname);
+ [StrictTypeChecking, Custom] any getVertexAttrib(GLuint index, GLenum pname);
[StrictTypeChecking] GLsizeiptr getVertexAttribOffset(GLuint index, GLenum pname);
@@ -579,16 +579,16 @@ typedef /*unrestricted*/ float GLclampf;
[StrictTypeChecking] GLboolean isShader(WebGLShader shader);
[StrictTypeChecking] GLboolean isTexture(WebGLTexture texture);
[StrictTypeChecking] void lineWidth(GLfloat width);
- [StrictTypeChecking, RaisesException] void linkProgram(WebGLProgram program);
+ [StrictTypeChecking] void linkProgram(WebGLProgram program);
[StrictTypeChecking] void pixelStorei(GLenum pname, GLint param);
[StrictTypeChecking] void polygonOffset(GLfloat factor, GLfloat units);
- [StrictTypeChecking, RaisesException] void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView pixels);
+ [StrictTypeChecking] void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView pixels);
[StrictTypeChecking] void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
[StrictTypeChecking] void sampleCoverage(GLclampf value, GLboolean invert);
[StrictTypeChecking] void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
- [StrictTypeChecking, RaisesException] void shaderSource(WebGLShader shader, DOMString string);
+ [StrictTypeChecking] void shaderSource(WebGLShader shader, DOMString string);
[StrictTypeChecking] void stencilFunc(GLenum func, GLint ref, GLuint mask);
[StrictTypeChecking] void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
[StrictTypeChecking] void stencilMask(GLuint mask);
@@ -623,29 +623,29 @@ typedef /*unrestricted*/ float GLclampf;
[StrictTypeChecking, RaisesException] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
GLenum format, GLenum type, HTMLVideoElement? video);
- [StrictTypeChecking, RaisesException] void uniform1f(WebGLUniformLocation location, GLfloat x);
- [StrictTypeChecking, Custom, RaisesException] void uniform1fv(WebGLUniformLocation location, Float32Array v);
- [StrictTypeChecking, RaisesException] void uniform1i(WebGLUniformLocation location, GLint x);
- [StrictTypeChecking, Custom, RaisesException] void uniform1iv(WebGLUniformLocation location, Int32Array v);
- [StrictTypeChecking, RaisesException] void uniform2f(WebGLUniformLocation location, GLfloat x, GLfloat y);
- [StrictTypeChecking, Custom, RaisesException] void uniform2fv(WebGLUniformLocation location, Float32Array v);
- [StrictTypeChecking, RaisesException] void uniform2i(WebGLUniformLocation location, GLint x, GLint y);
- [StrictTypeChecking, Custom, RaisesException] void uniform2iv(WebGLUniformLocation location, Int32Array v);
- [StrictTypeChecking, RaisesException] void uniform3f(WebGLUniformLocation location, GLfloat x, GLfloat y, GLfloat z);
- [StrictTypeChecking, Custom, RaisesException] void uniform3fv(WebGLUniformLocation location, Float32Array v);
- [StrictTypeChecking, RaisesException] void uniform3i(WebGLUniformLocation location, GLint x, GLint y, GLint z);
- [StrictTypeChecking, Custom, RaisesException] void uniform3iv(WebGLUniformLocation location, Int32Array v);
- [StrictTypeChecking, RaisesException] void uniform4f(WebGLUniformLocation location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
- [StrictTypeChecking, Custom, RaisesException] void uniform4fv(WebGLUniformLocation location, Float32Array v);
- [StrictTypeChecking, RaisesException] void uniform4i(WebGLUniformLocation location, GLint x, GLint y, GLint z, GLint w);
- [StrictTypeChecking, Custom, RaisesException] void uniform4iv(WebGLUniformLocation location, Int32Array v);
-
- [StrictTypeChecking, Custom, RaisesException] void uniformMatrix2fv(WebGLUniformLocation location, GLboolean transpose, Float32Array array);
- [StrictTypeChecking, Custom, RaisesException] void uniformMatrix3fv(WebGLUniformLocation location, GLboolean transpose, Float32Array array);
- [StrictTypeChecking, Custom, RaisesException] void uniformMatrix4fv(WebGLUniformLocation location, GLboolean transpose, Float32Array array);
-
- [StrictTypeChecking, RaisesException] void useProgram(WebGLProgram program);
- [StrictTypeChecking, RaisesException] void validateProgram(WebGLProgram program);
+ [StrictTypeChecking] void uniform1f(WebGLUniformLocation location, GLfloat x);
+ [StrictTypeChecking, Custom] void uniform1fv(WebGLUniformLocation location, Float32Array v);
+ [StrictTypeChecking] void uniform1i(WebGLUniformLocation location, GLint x);
+ [StrictTypeChecking, Custom] void uniform1iv(WebGLUniformLocation location, Int32Array v);
+ [StrictTypeChecking] void uniform2f(WebGLUniformLocation location, GLfloat x, GLfloat y);
+ [StrictTypeChecking, Custom] void uniform2fv(WebGLUniformLocation location, Float32Array v);
+ [StrictTypeChecking] void uniform2i(WebGLUniformLocation location, GLint x, GLint y);
+ [StrictTypeChecking, Custom] void uniform2iv(WebGLUniformLocation location, Int32Array v);
+ [StrictTypeChecking] void uniform3f(WebGLUniformLocation location, GLfloat x, GLfloat y, GLfloat z);
+ [StrictTypeChecking, Custom] void uniform3fv(WebGLUniformLocation location, Float32Array v);
+ [StrictTypeChecking] void uniform3i(WebGLUniformLocation location, GLint x, GLint y, GLint z);
+ [StrictTypeChecking, Custom] void uniform3iv(WebGLUniformLocation location, Int32Array v);
+ [StrictTypeChecking] void uniform4f(WebGLUniformLocation location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+ [StrictTypeChecking, Custom] void uniform4fv(WebGLUniformLocation location, Float32Array v);
+ [StrictTypeChecking] void uniform4i(WebGLUniformLocation location, GLint x, GLint y, GLint z, GLint w);
+ [StrictTypeChecking, Custom] void uniform4iv(WebGLUniformLocation location, Int32Array v);
+
+ [StrictTypeChecking, Custom] void uniformMatrix2fv(WebGLUniformLocation location, GLboolean transpose, Float32Array array);
+ [StrictTypeChecking, Custom] void uniformMatrix3fv(WebGLUniformLocation location, GLboolean transpose, Float32Array array);
+ [StrictTypeChecking, Custom] void uniformMatrix4fv(WebGLUniformLocation location, GLboolean transpose, Float32Array array);
+
+ [StrictTypeChecking] void useProgram(WebGLProgram program);
+ [StrictTypeChecking] void validateProgram(WebGLProgram program);
[StrictTypeChecking] void vertexAttrib1f(GLuint indx, GLfloat x);
[StrictTypeChecking, Custom] void vertexAttrib1fv(GLuint indx, Float32Array values);
@@ -655,7 +655,7 @@ typedef /*unrestricted*/ float GLclampf;
[StrictTypeChecking, Custom] void vertexAttrib3fv(GLuint indx, Float32Array values);
[StrictTypeChecking] void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
[StrictTypeChecking, Custom] void vertexAttrib4fv(GLuint indx, Float32Array values);
- [StrictTypeChecking, RaisesException] void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized,
+ [StrictTypeChecking] void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized,
GLsizei stride, GLintptr offset);
[StrictTypeChecking] void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
« no previous file with comments | « core/html/canvas/WebGLDebugShaders.idl ('k') | core/html/track/TextTrack.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698