OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 WebGLContextAttributes getContextAttributes(); | 554 WebGLContextAttributes getContextAttributes(); |
555 | 555 |
556 GLenum getError(); | 556 GLenum getError(); |
557 | 557 |
558 // object getExtension(DOMString name); | 558 // object getExtension(DOMString name); |
559 [Custom] any getExtension(DOMString name); | 559 [Custom] any getExtension(DOMString name); |
560 | 560 |
561 [Custom] any getFramebufferAttachmentParameter(GLenum target, GLenum attachm
ent, GLenum pname); | 561 [Custom] any getFramebufferAttachmentParameter(GLenum target, GLenum attachm
ent, GLenum pname); |
562 [Custom] any getParameter(GLenum pname); | 562 [Custom] any getParameter(GLenum pname); |
563 [Custom] any getProgramParameter(WebGLProgram? program, GLenum pname); | 563 [Custom] any getProgramParameter(WebGLProgram? program, GLenum pname); |
564 [TreatReturnedNullStringAs=Null] DOMString getProgramInfoLog(WebGLProgram? p
rogram); | 564 DOMString? getProgramInfoLog(WebGLProgram? program); |
565 [Custom] any getRenderbufferParameter(GLenum target, GLenum pname); | 565 [Custom] any getRenderbufferParameter(GLenum target, GLenum pname); |
566 [Custom] any getShaderParameter(WebGLShader? shader, GLenum pname); | 566 [Custom] any getShaderParameter(WebGLShader? shader, GLenum pname); |
567 | 567 |
568 [TreatReturnedNullStringAs=Null] DOMString getShaderInfoLog(WebGLShader?
shader); | 568 DOMString? getShaderInfoLog(WebGLShader? shader); |
569 | 569 |
570 WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenu
m precisiontype); | 570 WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenu
m precisiontype); |
571 | 571 |
572 [TreatReturnedNullStringAs=Null] DOMString getShaderSource(WebGLShader? s
hader); | 572 DOMString? getShaderSource(WebGLShader? shader); |
573 | 573 |
574 [Custom] sequence<DOMString> getSupportedExtensions(); | 574 [Custom] sequence<DOMString> getSupportedExtensions(); |
575 | 575 |
576 [Custom] any getTexParameter(GLenum target, GLenum pname); | 576 [Custom] any getTexParameter(GLenum target, GLenum pname); |
577 | 577 |
578 [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation location
); | 578 [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation location
); |
579 | 579 |
580 WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString nam
e); | 580 WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString nam
e); |
581 | 581 |
582 [Custom] any getVertexAttrib(GLuint index, GLenum pname); | 582 [Custom] any getVertexAttrib(GLuint index, GLenum pname); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values); | 680 [Custom] void vertexAttrib2fv(GLuint indx, Float32Array values); |
681 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); | 681 void vertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); |
682 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values); | 682 [Custom] void vertexAttrib3fv(GLuint indx, Float32Array values); |
683 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; | 683 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; |
684 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values); | 684 [Custom] void vertexAttrib4fv(GLuint indx, Float32Array values); |
685 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, | 685 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, |
686 GLsizei stride, GLintptr offset); | 686 GLsizei stride, GLintptr offset); |
687 | 687 |
688 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); | 688 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); |
689 }; | 689 }; |
OLD | NEW |