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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
568 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 DOMString? getShaderSource(WebGLShader? shader); | 572 DOMString? getShaderSource(WebGLShader? shader); |
573 | 573 |
574 sequence<DOMString>? getSupportedExtensions(); | 574 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? locatio n); |
Jens Widell
2014/07/11 12:24:30
The location argument is nullable in the specifica
| |
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); |
583 | 583 |
584 GLsizeiptr getVertexAttribOffset(GLuint index, GLenum pname); | 584 GLsizeiptr getVertexAttribOffset(GLuint index, GLenum pname); |
585 | 585 |
586 void hint(GLenum target, GLenum mode); | 586 void hint(GLenum target, GLenum mode); |
587 GLboolean isBuffer(WebGLBuffer? buffer); | 587 GLboolean isBuffer(WebGLBuffer? buffer); |
588 GLboolean isContextLost(); | 588 GLboolean isContextLost(); |
(...skipping 91 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 |