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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 void finish(); | 538 void finish(); |
539 void flush(); | 539 void flush(); |
540 void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum render
buffertarget, WebGLRenderbuffer? renderbuffer); | 540 void framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum render
buffertarget, WebGLRenderbuffer? renderbuffer); |
541 void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget
, WebGLTexture? texture, GLint level); | 541 void framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget
, WebGLTexture? texture, GLint level); |
542 void frontFace(GLenum mode); | 542 void frontFace(GLenum mode); |
543 void generateMipmap(GLenum target); | 543 void generateMipmap(GLenum target); |
544 | 544 |
545 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); | 545 WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index); |
546 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); | 546 WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index); |
547 | 547 |
548 [Custom] void getAttachedShaders(WebGLProgram? program); | 548 sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program); |
549 | 549 |
550 GLint getAttribLocation(WebGLProgram? program, DOMString name); | 550 GLint getAttribLocation(WebGLProgram? program, DOMString name); |
551 | 551 |
552 [Custom] any getBufferParameter(GLenum target, GLenum pname); | 552 [Custom] any getBufferParameter(GLenum target, GLenum pname); |
553 | 553 |
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); |
(...skipping 121 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 |