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

Unified Diff: Source/core/html/canvas/WebGLRenderingContextBase.idl

Issue 290803003: Remove auto-setup table. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1916
Patch Set: merged Created 6 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
« no previous file with comments | « Source/core/dom/NodeList.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLRenderingContextBase.idl
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.idl b/Source/core/html/canvas/WebGLRenderingContextBase.idl
index af248e3fedb8932e8d8b295aae4d1ef9c816c9ec..260e1bba999acd0359750a97156e9b43c6ea827a 100644
--- a/Source/core/html/canvas/WebGLRenderingContextBase.idl
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.idl
@@ -462,42 +462,42 @@ typedef /*unrestricted*/ float GLclampf;
const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
const GLenum BROWSER_DEFAULT_WEBGL = 0x9244;
- readonly attribute GLsizei drawingBufferWidth;
- readonly attribute GLsizei drawingBufferHeight;
-
- void activeTexture(GLenum texture);
- void attachShader(WebGLProgram? program, WebGLShader? shader);
- void bindAttribLocation(WebGLProgram? program, GLuint index, DOMString name);
- void bindBuffer(GLenum target, WebGLBuffer? buffer);
- void bindFramebuffer(GLenum target, WebGLFramebuffer? framebuffer);
- void bindRenderbuffer(GLenum target, WebGLRenderbuffer? renderbuffer);
- void bindTexture(GLenum target, WebGLTexture? texture);
- void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
- void blendEquation(GLenum mode);
- void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
- void blendFunc(GLenum sfactor, GLenum dfactor);
- void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+ [DartNoAutoScope] readonly attribute GLsizei drawingBufferWidth;
+ [DartNoAutoScope] readonly attribute GLsizei drawingBufferHeight;
+
+ [DartNoAutoScope] void activeTexture(GLenum texture);
+ [DartNoAutoScope] void attachShader(WebGLProgram? program, WebGLShader? shader);
+ [DartNoAutoScope] void bindAttribLocation(WebGLProgram? program, GLuint index, DOMString name);
+ [DartNoAutoScope] void bindBuffer(GLenum target, WebGLBuffer? buffer);
+ [DartNoAutoScope] void bindFramebuffer(GLenum target, WebGLFramebuffer? framebuffer);
+ [DartNoAutoScope] void bindRenderbuffer(GLenum target, WebGLRenderbuffer? renderbuffer);
+ [DartNoAutoScope] void bindTexture(GLenum target, WebGLTexture? texture);
+ [DartNoAutoScope] void blendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+ [DartNoAutoScope] void blendEquation(GLenum mode);
+ [DartNoAutoScope] void blendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
+ [DartNoAutoScope] void blendFunc(GLenum sfactor, GLenum dfactor);
+ [DartNoAutoScope] void blendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);
void bufferData(GLenum target, ArrayBufferView? data, GLenum usage);
void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
void bufferSubData(GLenum target, GLintptr offset, ArrayBuffer? data);
void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView? data);
- GLenum checkFramebufferStatus(GLenum target);
- void clear(GLbitfield mask);
- void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
- void clearDepth(GLclampf depth);
- void clearStencil(GLint s);
- void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
- void compileShader(WebGLShader? shader);
+ [DartNoAutoScope] GLenum checkFramebufferStatus(GLenum target);
+ [DartNoAutoScope] void clear(GLbitfield mask);
+ [DartNoAutoScope] void clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+ [DartNoAutoScope] void clearDepth(GLclampf depth);
+ [DartNoAutoScope] void clearStencil(GLint s);
+ [DartNoAutoScope] void colorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+ [DartNoAutoScope] void compileShader(WebGLShader? shader);
- void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
+ [DartNoAutoScope] void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
GLsizei width, GLsizei height, GLint border, ArrayBufferView? data);
- void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
+ [DartNoAutoScope] void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
GLsizei width, GLsizei height, GLenum format, ArrayBufferView? data);
- void copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
- void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+ [DartNoAutoScope] void copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+ [DartNoAutoScope] void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
WebGLBuffer createBuffer();
WebGLFramebuffer createFramebuffer();
@@ -506,39 +506,39 @@ typedef /*unrestricted*/ float GLclampf;
WebGLShader createShader(GLenum type);
WebGLTexture createTexture();
- void cullFace(GLenum mode);
+ [DartNoAutoScope] void cullFace(GLenum mode);
- void deleteBuffer(WebGLBuffer? buffer);
- void deleteFramebuffer(WebGLFramebuffer? framebuffer);
- void deleteProgram(WebGLProgram? program);
- void deleteRenderbuffer(WebGLRenderbuffer? renderbuffer);
- void deleteShader(WebGLShader? shader);
- void deleteTexture(WebGLTexture? texture);
+ [DartNoAutoScope] void deleteBuffer(WebGLBuffer? buffer);
+ [DartNoAutoScope] void deleteFramebuffer(WebGLFramebuffer? framebuffer);
+ [DartNoAutoScope] void deleteProgram(WebGLProgram? program);
+ [DartNoAutoScope] void deleteRenderbuffer(WebGLRenderbuffer? renderbuffer);
+ [DartNoAutoScope] void deleteShader(WebGLShader? shader);
+ [DartNoAutoScope] void deleteTexture(WebGLTexture? texture);
- void depthFunc(GLenum func);
- void depthMask(GLboolean flag);
- void depthRange(GLclampf zNear, GLclampf zFar);
- void detachShader(WebGLProgram? program, WebGLShader? shader);
- void disable(GLenum cap);
- void disableVertexAttribArray(GLuint index);
- void drawArrays(GLenum mode, GLint first, GLsizei count);
- void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset);
+ [DartNoAutoScope] void depthFunc(GLenum func);
+ [DartNoAutoScope] void depthMask(GLboolean flag);
+ [DartNoAutoScope] void depthRange(GLclampf zNear, GLclampf zFar);
+ [DartNoAutoScope] void detachShader(WebGLProgram? program, WebGLShader? shader);
+ [DartNoAutoScope] void disable(GLenum cap);
+ [DartNoAutoScope] void disableVertexAttribArray(GLuint index);
+ [DartNoAutoScope] void drawArrays(GLenum mode, GLint first, GLsizei count);
+ [DartNoAutoScope] void drawElements(GLenum mode, GLsizei count, GLenum type, GLintptr offset);
- void enable(GLenum cap);
- void enableVertexAttribArray(GLuint index);
- void finish();
- void flush();
- void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer? renderbuffer);
- void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, WebGLTexture? texture, GLint level);
- void frontFace(GLenum mode);
- void generateMipmap(GLenum target);
+ [DartNoAutoScope] void enable(GLenum cap);
+ [DartNoAutoScope] void enableVertexAttribArray(GLuint index);
+ [DartNoAutoScope] void finish();
+ [DartNoAutoScope] void flush();
+ [DartNoAutoScope] void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer? renderbuffer);
+ [DartNoAutoScope] void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, WebGLTexture? texture, GLint level);
+ [DartNoAutoScope] void frontFace(GLenum mode);
+ [DartNoAutoScope] void generateMipmap(GLenum target);
- WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index);
- WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index);
+ [DartNoAutoScope] WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index);
+ [DartNoAutoScope] WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index);
- [Custom] void getAttachedShaders(WebGLProgram? program);
+ [Custom, DartNoAutoScope] void getAttachedShaders(WebGLProgram? program);
- GLint getAttribLocation(WebGLProgram? program, DOMString name);
+ [DartNoAutoScope] GLint getAttribLocation(WebGLProgram? program, DOMString name);
[Custom] any getBufferParameter(GLenum target, GLenum pname);
@@ -574,32 +574,32 @@ typedef /*unrestricted*/ float GLclampf;
GLsizeiptr getVertexAttribOffset(GLuint index, GLenum pname);
- void hint(GLenum target, GLenum mode);
- GLboolean isBuffer(WebGLBuffer? buffer);
- GLboolean isContextLost();
- GLboolean isEnabled(GLenum cap);
- GLboolean isFramebuffer(WebGLFramebuffer? framebuffer);
- GLboolean isProgram(WebGLProgram? program);
- GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer);
- GLboolean isShader(WebGLShader? shader);
- GLboolean isTexture(WebGLTexture? texture);
- void lineWidth(GLfloat width);
- void linkProgram(WebGLProgram? program);
- void pixelStorei(GLenum pname, GLint param);
- void polygonOffset(GLfloat factor, GLfloat units);
+ [DartNoAutoScope] void hint(GLenum target, GLenum mode);
+ [DartNoAutoScope] GLboolean isBuffer(WebGLBuffer? buffer);
+ [DartNoAutoScope] GLboolean isContextLost();
+ [DartNoAutoScope] GLboolean isEnabled(GLenum cap);
+ [DartNoAutoScope] GLboolean isFramebuffer(WebGLFramebuffer? framebuffer);
+ [DartNoAutoScope] GLboolean isProgram(WebGLProgram? program);
+ [DartNoAutoScope] GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer);
+ [DartNoAutoScope] GLboolean isShader(WebGLShader? shader);
+ [DartNoAutoScope] GLboolean isTexture(WebGLTexture? texture);
+ [DartNoAutoScope] void lineWidth(GLfloat width);
+ [DartNoAutoScope] void linkProgram(WebGLProgram? program);
+ [DartNoAutoScope] void pixelStorei(GLenum pname, GLint param);
+ [DartNoAutoScope] void polygonOffset(GLfloat factor, GLfloat units);
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView? pixels);
void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
void sampleCoverage(GLclampf value, GLboolean invert);
- void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
+ [DartNoAutoScope] void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
void shaderSource(WebGLShader? shader, DOMString string);
- void stencilFunc(GLenum func, GLint ref, GLuint mask);
- void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
- void stencilMask(GLuint mask);
- void stencilMaskSeparate(GLenum face, GLuint mask);
- void stencilOp(GLenum fail, GLenum zfail, GLenum zpass);
- void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
+ [DartNoAutoScope] void stencilFunc(GLenum func, GLint ref, GLuint mask);
+ [DartNoAutoScope] void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
+ [DartNoAutoScope] void stencilMask(GLuint mask);
+ [DartNoAutoScope] void stencilMaskSeparate(GLenum face, GLuint mask);
+ [DartNoAutoScope] void stencilOp(GLenum fail, GLenum zfail, GLenum zpass);
+ [DartNoAutoScope] void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
void texParameterf(GLenum target, GLenum pname, GLfloat param);
void texParameteri(GLenum target, GLenum pname, GLint param);
@@ -639,40 +639,40 @@ typedef /*unrestricted*/ float GLclampf;
GLenum target, GLint level, GLint xoffset, GLint yoffset,
GLenum format, GLenum type, HTMLVideoElement? video);
- void uniform1f(WebGLUniformLocation? location, GLfloat x);
- [Custom] void uniform1fv(WebGLUniformLocation? location, Float32Array v);
- void uniform1i(WebGLUniformLocation? location, GLint x);
- [Custom] void uniform1iv(WebGLUniformLocation? location, Int32Array v);
- void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y);
- [Custom] void uniform2fv(WebGLUniformLocation? location, Float32Array v);
- void uniform2i(WebGLUniformLocation? location, GLint x, GLint y);
- [Custom] void uniform2iv(WebGLUniformLocation? location, Int32Array v);
- void uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z);
- [Custom] void uniform3fv(WebGLUniformLocation? location, Float32Array v);
- void uniform3i(WebGLUniformLocation? location, GLint x, GLint y, GLint z);
- [Custom] void uniform3iv(WebGLUniformLocation? location, Int32Array v);
- void uniform4f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
- [Custom] void uniform4fv(WebGLUniformLocation? location, Float32Array v);
- void uniform4i(WebGLUniformLocation? location, GLint x, GLint y, GLint z, GLint w);
- [Custom] void uniform4iv(WebGLUniformLocation? location, Int32Array v);
-
- [Custom] void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array array);
- [Custom] void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array array);
- [Custom] void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array array);
-
- void useProgram(WebGLProgram? program);
- void validateProgram(WebGLProgram? program);
-
- void vertexAttrib1f(GLuint indx, GLfloat x);
- [Custom] void vertexAttrib1fv(GLuint indx, Float32Array values);
- void vertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
- [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values);
- void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
- [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values);
- void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
- [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values);
- void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized,
+ [DartNoAutoScope] void uniform1f(WebGLUniformLocation? location, GLfloat x);
+ [Custom, DartNoAutoScope] void uniform1fv(WebGLUniformLocation? location, Float32Array v);
+ [DartNoAutoScope] void uniform1i(WebGLUniformLocation? location, GLint x);
+ [Custom, DartNoAutoScope] void uniform1iv(WebGLUniformLocation? location, Int32Array v);
+ [DartNoAutoScope] void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y);
+ [Custom, DartNoAutoScope] void uniform2fv(WebGLUniformLocation? location, Float32Array v);
+ [DartNoAutoScope] void uniform2i(WebGLUniformLocation? location, GLint x, GLint y);
+ [Custom, DartNoAutoScope] void uniform2iv(WebGLUniformLocation? location, Int32Array v);
+ [DartNoAutoScope] void uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z);
+ [Custom, DartNoAutoScope] void uniform3fv(WebGLUniformLocation? location, Float32Array v);
+ [DartNoAutoScope] void uniform3i(WebGLUniformLocation? location, GLint x, GLint y, GLint z);
+ [Custom, DartNoAutoScope] void uniform3iv(WebGLUniformLocation? location, Int32Array v);
+ [DartNoAutoScope] void uniform4f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+ [Custom, DartNoAutoScope] void uniform4fv(WebGLUniformLocation? location, Float32Array v);
+ [DartNoAutoScope] void uniform4i(WebGLUniformLocation? location, GLint x, GLint y, GLint z, GLint w);
+ [Custom, DartNoAutoScope] void uniform4iv(WebGLUniformLocation? location, Int32Array v);
+
+ [Custom, DartNoAutoScope] void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array array);
+ [Custom, DartNoAutoScope] void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array array);
+ [Custom, DartNoAutoScope] void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array array);
+
+ [DartNoAutoScope] void useProgram(WebGLProgram? program);
+ [DartNoAutoScope] void validateProgram(WebGLProgram? program);
+
+ [DartNoAutoScope] void vertexAttrib1f(GLuint indx, GLfloat x);
+ [Custom, DartNoAutoScope] void vertexAttrib1fv(GLuint indx, Float32Array values);
+ [DartNoAutoScope] void vertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
+ [Custom, DartNoAutoScope] void vertexAttrib2fv(GLuint indx, Float32Array values);
+ [DartNoAutoScope] void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
+ [Custom, DartNoAutoScope] void vertexAttrib3fv(GLuint indx, Float32Array values);
+ [DartNoAutoScope] void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+ [Custom, DartNoAutoScope] void vertexAttrib4fv(GLuint indx, Float32Array values);
+ [DartNoAutoScope] void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized,
GLsizei stride, GLintptr offset);
- void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
+ [DartNoAutoScope] void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
};
« no previous file with comments | « Source/core/dom/NodeList.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698