| Index: Source/WebCore/html/canvas/WebGLRenderingContext.idl
|
| diff --git a/Source/WebCore/html/canvas/WebGLRenderingContext.idl b/Source/WebCore/html/canvas/WebGLRenderingContext.idl
|
| index 5103af01a080f3fcdc5d7dad2d1cf308d483bc7f..6aff0962751ec68c5a9be7a97092f2bd6fb7246d 100644
|
| --- a/Source/WebCore/html/canvas/WebGLRenderingContext.idl
|
| +++ b/Source/WebCore/html/canvas/WebGLRenderingContext.idl
|
| @@ -523,17 +523,30 @@ module html {
|
| [StrictTypeChecking] WebGLActiveInfo getActiveAttrib(in WebGLProgram program, in unsigned long index) raises (DOMException);
|
| [StrictTypeChecking] WebGLActiveInfo getActiveUniform(in WebGLProgram program, in unsigned long index) raises (DOMException);
|
|
|
| +#if (defined(LANGUAGE_DART) && LANGUAGE_DART)
|
| + [StrictTypeChecking, Custom] any[] getAttachedShaders(in WebGLProgram program) raises (DOMException);
|
| +#else
|
| [StrictTypeChecking, Custom] void getAttachedShaders(in WebGLProgram program) raises (DOMException);
|
| -
|
| +#endif
|
| [StrictTypeChecking] int getAttribLocation(in WebGLProgram program, in DOMString name);
|
|
|
| // any getBufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
|
| +#if (defined(LANGUAGE_DART) && LANGUAGE_DART)
|
| + [StrictTypeChecking, Custom] any getBufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
|
| +#else
|
| [StrictTypeChecking, Custom] void getBufferParameter();
|
| +#endif
|
|
|
| [StrictTypeChecking] WebGLContextAttributes getContextAttributes();
|
|
|
| [StrictTypeChecking] unsigned long getError();
|
|
|
| +#if (defined(LANGUAGE_DART) && LANGUAGE_DART)
|
| + [StrictTypeChecking, Custom] any getExtension(in DOMString name);
|
| + [StrictTypeChecking, Custom] any getParameter(in unsigned long pname) raises(DOMException);
|
| + [StrictTypeChecking, Custom] any getFramebufferAttachmentParameter(in unsigned long target, in unsigned long attachment, in unsigned long pname) raises(DOMException);
|
| + [StrictTypeChecking, Custom] any getProgramParameter(in WebGLProgram program, in unsigned long pname) raises(DOMException);
|
| +#else
|
| // object getExtension(in DOMString name);
|
| [StrictTypeChecking, Custom] void getExtension(in DOMString name);
|
|
|
| @@ -543,11 +556,17 @@ module html {
|
| [StrictTypeChecking, Custom] void getParameter();
|
| // any getProgramParameter(in WebGLProgram program, in unsigned long pname) raises(DOMException);
|
| [StrictTypeChecking, Custom] void getProgramParameter();
|
| +#endif
|
| [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getProgramInfoLog(in WebGLProgram program) raises(DOMException);
|
| +#if (defined(LANGUAGE_DART) && LANGUAGE_DART)
|
| + [StrictTypeChecking, Custom] any getRenderbufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
|
| + [StrictTypeChecking, Custom] any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises(DOMException);
|
| +#else
|
| // any getRenderbufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
|
| [StrictTypeChecking, Custom] void getRenderbufferParameter();
|
| // any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises(DOMException);
|
| [StrictTypeChecking, Custom] void getShaderParameter() raises(DOMException);
|
| +#endif
|
|
|
| [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getShaderInfoLog(in WebGLShader shader) raises(DOMException);
|
|
|
| @@ -556,6 +575,11 @@ module html {
|
|
|
| [StrictTypeChecking, ConvertNullStringTo=Null] DOMString getShaderSource(in WebGLShader shader) raises(DOMException);
|
|
|
| +#if (defined(LANGUAGE_DART) && LANGUAGE_DART)
|
| + [StrictTypeChecking, Custom] DOMString[] getSupportedExtensions();
|
| + [StrictTypeChecking, Custom] any getTexParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
|
| + [StrictTypeChecking, Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation location) raises(DOMException);
|
| +#else
|
| // DOMString[] getSupportedExtensions()
|
| [StrictTypeChecking, Custom] void getSupportedExtensions();
|
|
|
| @@ -564,11 +588,16 @@ module html {
|
|
|
| // any getUniform(in WebGLProgram program, in WebGLUniformLocation location) raises(DOMException);
|
| [StrictTypeChecking, Custom] void getUniform();
|
| +#endif
|
|
|
| [StrictTypeChecking] WebGLUniformLocation getUniformLocation(in WebGLProgram program, in DOMString name) raises(DOMException);
|
|
|
| +#if (defined(LANGUAGE_DART) && LANGUAGE_DART)
|
| + [StrictTypeChecking, Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname) raises(DOMException);
|
| +#else
|
| // any getVertexAttrib(in unsigned long index, in unsigned long pname) raises(DOMException);
|
| [StrictTypeChecking, Custom] void getVertexAttrib();
|
| +#endif
|
|
|
| [StrictTypeChecking] long getVertexAttribOffset(in unsigned long index, in unsigned long pname);
|
|
|
|
|