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

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

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
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 | « core/html/canvas/WebGLRenderingContext.idl ('k') | core/html/shadow/HTMLContentElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/canvas/WebGLRenderingContextBase.idl
diff --git a/core/html/canvas/WebGLRenderingContext.idl b/core/html/canvas/WebGLRenderingContextBase.idl
similarity index 71%
copy from core/html/canvas/WebGLRenderingContext.idl
copy to core/html/canvas/WebGLRenderingContextBase.idl
index ef8746e290f41f7cb7a3ebf1d41a3780c87db2c7..e6b013e56f16b8fbf00ad776a86dfb8f80b3cd70 100644
--- a/core/html/canvas/WebGLRenderingContext.idl
+++ b/core/html/canvas/WebGLRenderingContextBase.idl
@@ -23,25 +23,32 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.khronos.org/registry/webgl/specs/latest/1.0/#WebGLRenderingContextBase
+
typedef unsigned long GLenum;
typedef boolean GLboolean;
typedef unsigned long GLbitfield;
-typedef byte GLbyte; /* 'byte' should be a signed 8 bit type. */
+typedef byte GLbyte; // 'byte' should be a signed 8 bit type.
typedef short GLshort;
typedef long GLint;
typedef long GLsizei;
typedef long long GLintptr;
typedef long long GLsizeiptr;
-typedef octet GLubyte; /* 'octet' should be an unsigned 8 bit type. */
+typedef octet GLubyte; // 'octet' should be an unsigned 8 bit type.
typedef unsigned short GLushort;
typedef unsigned long GLuint;
-typedef /*unrestricted*/ float GLfloat;
-typedef /*unrestricted*/ float GLclampf;
+typedef unrestricted float GLfloat;
+typedef unrestricted float GLclampf;
[
- DoNotCheckConstants,
- StrictTypeChecking,
-] interface WebGLRenderingContext : CanvasRenderingContext {
+ // FIXME: [DoNotCheckConstants] and [TypeChecking=Interface|Nullable] should be applied
+ // to members and not need to be put on implementing interface
+ // DoNotCheckConstants, // need to put on implementing interface
+ NoInterfaceObject, // Always used on target of 'implements'
+ // TypeChecking=Interface|Nullable|Unrestricted, // need to put on implementing interface
+] interface WebGLRenderingContextBase {
+
+ readonly attribute HTMLCanvasElement canvas;
/* ClearBufferMask */
const GLenum DEPTH_BUFFER_BIT = 0x00000100;
@@ -394,6 +401,10 @@ typedef /*unrestricted*/ float GLclampf;
const GLenum VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
const GLenum VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
+ /* Read Format */
+ const GLenum IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A;
+ const GLenum IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B;
+
/* Shader Source */
const GLenum COMPILE_STATUS = 0x8B81;
@@ -458,42 +469,44 @@ 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);
- void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);
- void bufferData(GLenum target, ArrayBufferView? data, GLenum usage);
+ [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);
+ // FIXME: should be union type
+ // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172
void bufferData(GLenum target, GLsizeiptr size, GLenum usage);
+ void bufferData(GLenum target, ArrayBufferView data, GLenum usage);
+ void bufferData(GLenum target, ArrayBuffer? data, GLenum usage);
+ void bufferSubData(GLenum target, GLintptr offset, ArrayBufferView data);
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();
@@ -502,39 +515,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);
@@ -570,37 +583,39 @@ 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);
// Supported forms:
+ // FIXME: should be union type
+ // https://www.khronos.org/bugzilla/show_bug.cgi?id=1172
[RaisesException] void texImage2D(
GLenum target, GLint level, GLenum internalformat,
GLsizei width, GLsizei height, GLint border,
@@ -610,13 +625,13 @@ typedef /*unrestricted*/ float GLclampf;
GLenum format, GLenum type, ImageData? pixels);
[RaisesException] void texImage2D(
GLenum target, GLint level, GLenum internalformat,
- GLenum format, GLenum type, HTMLImageElement? image);
+ GLenum format, GLenum type, HTMLImageElement image);
[RaisesException] void texImage2D(
GLenum target, GLint level, GLenum internalformat,
- GLenum format, GLenum type, HTMLCanvasElement? canvas);
+ GLenum format, GLenum type, HTMLCanvasElement canvas);
[RaisesException] void texImage2D(
GLenum target, GLint level, GLenum internalformat,
- GLenum format, GLenum type, HTMLVideoElement? video);
+ GLenum format, GLenum type, HTMLVideoElement video);
[RaisesException] void texSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset,
@@ -627,48 +642,48 @@ typedef /*unrestricted*/ float GLclampf;
GLenum format, GLenum type, ImageData? pixels);
[RaisesException] void texSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset,
- GLenum format, GLenum type, HTMLImageElement? image);
+ GLenum format, GLenum type, HTMLImageElement image);
[RaisesException] void texSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset,
- GLenum format, GLenum type, HTMLCanvasElement? canvas);
+ GLenum format, GLenum type, HTMLCanvasElement canvas);
[RaisesException] void texSubImage2D(
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,
+ GLenum format, GLenum type, HTMLVideoElement video);
+
+ [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 | « core/html/canvas/WebGLRenderingContext.idl ('k') | core/html/shadow/HTMLContentElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698