| 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 | 545 |
| 546 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); | 546 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); |
| 547 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); | 547 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); |
| 548 | 548 |
| 549 sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program); | 549 sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program); |
| 550 | 550 |
| 551 GLint getAttribLocation(WebGLProgram? program, DOMString name); | 551 GLint getAttribLocation(WebGLProgram? program, DOMString name); |
| 552 | 552 |
| 553 [CallWith=ScriptState] any getBufferParameter(GLenum target, GLenum pname); | 553 [CallWith=ScriptState] any getBufferParameter(GLenum target, GLenum pname); |
| 554 | 554 |
| 555 WebGLContextAttributes getContextAttributes(); | 555 WebGLContextAttributes? getContextAttributes(); |
| 556 | 556 |
| 557 GLenum getError(); | 557 GLenum getError(); |
| 558 | 558 |
| 559 object? getExtension(DOMString name); | 559 object? getExtension(DOMString name); |
| 560 | 560 |
| 561 [CallWith=ScriptState] any getFramebufferAttachmentParameter(GLenum target,
GLenum attachment, GLenum pname); | 561 [CallWith=ScriptState] any getFramebufferAttachmentParameter(GLenum target,
GLenum attachment, GLenum pname); |
| 562 [CallWith=ScriptState] any getParameter(GLenum pname); | 562 [CallWith=ScriptState] any getParameter(GLenum pname); |
| 563 [CallWith=ScriptState] any getProgramParameter(WebGLProgram? program, GLenum
pname); | 563 [CallWith=ScriptState] any getProgramParameter(WebGLProgram? program, GLenum
pname); |
| 564 DOMString? getProgramInfoLog(WebGLProgram? program); | 564 DOMString? getProgramInfoLog(WebGLProgram? program); |
| 565 [CallWith=ScriptState] any getRenderbufferParameter(GLenum target, GLenum pn
ame); | 565 [CallWith=ScriptState] any getRenderbufferParameter(GLenum target, GLenum pn
ame); |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 void vertexAttrib3fv(GLuint indx, Float32Array values); | 695 void vertexAttrib3fv(GLuint indx, Float32Array values); |
| 696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); | 696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); |
| 697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; | 697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
; |
| 698 void vertexAttrib4fv(GLuint indx, Float32Array values); | 698 void vertexAttrib4fv(GLuint indx, Float32Array values); |
| 699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); | 699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); |
| 700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, | 700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor
malized, |
| 701 GLsizei stride, GLintptr offset); | 701 GLsizei stride, GLintptr offset); |
| 702 | 702 |
| 703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); | 703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); |
| 704 }; | 704 }; |
| OLD | NEW |