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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
591 GLboolean isProgram(WebGLProgram? program); | 591 GLboolean isProgram(WebGLProgram? program); |
592 GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer); | 592 GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer); |
593 GLboolean isShader(WebGLShader? shader); | 593 GLboolean isShader(WebGLShader? shader); |
594 GLboolean isTexture(WebGLTexture? texture); | 594 GLboolean isTexture(WebGLTexture? texture); |
595 void lineWidth(GLfloat width); | 595 void lineWidth(GLfloat width); |
596 void linkProgram(WebGLProgram? program); | 596 void linkProgram(WebGLProgram? program); |
597 void pixelStorei(GLenum pname, GLint param); | 597 void pixelStorei(GLenum pname, GLint param); |
598 void polygonOffset(GLfloat factor, GLfloat units); | 598 void polygonOffset(GLfloat factor, GLfloat units); |
599 | 599 |
600 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView? pixels); | 600 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, ArrayBufferView? pixels); |
601 void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum form at, GLenum type, GLintptr offset); | |
Zhenyao Mo
2015/08/17 17:02:47
No, you can't expose this to WebGL 1. It is a Web
yunchao
2015/08/18 02:30:00
In the implementation, we can directly return and
Ken Russell (switch to Gerrit)
2015/08/18 02:55:48
I'm not sure that this would be completely invisib
yunchao
2015/08/18 05:35:58
cross-class overloading is not allowed, it will al
| |
601 | 602 |
602 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width , GLsizei height); | 603 void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width , GLsizei height); |
603 void sampleCoverage(GLclampf value, GLboolean invert); | 604 void sampleCoverage(GLclampf value, GLboolean invert); |
604 void scissor(GLint x, GLint y, GLsizei width, GLsizei height); | 605 void scissor(GLint x, GLint y, GLsizei width, GLsizei height); |
605 void shaderSource(WebGLShader? shader, DOMString string); | 606 void shaderSource(WebGLShader? shader, DOMString string); |
606 void stencilFunc(GLenum func, GLint ref, GLuint mask); | 607 void stencilFunc(GLenum func, GLint ref, GLuint mask); |
607 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); | 608 void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
608 void stencilMask(GLuint mask); | 609 void stencilMask(GLuint mask); |
609 void stencilMaskSeparate(GLenum face, GLuint mask); | 610 void stencilMaskSeparate(GLenum face, GLuint mask); |
610 void stencilOp(GLenum fail, GLenum zfail, GLenum zpass); | 611 void stencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
695 void vertexAttrib3fv(GLuint indx, Float32Array values); | 696 void vertexAttrib3fv(GLuint indx, Float32Array values); |
696 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); | 697 void vertexAttrib3fv(GLuint indx, sequence<GLfloat> values); |
697 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; | 698 void vertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) ; |
698 void vertexAttrib4fv(GLuint indx, Float32Array values); | 699 void vertexAttrib4fv(GLuint indx, Float32Array values); |
699 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); | 700 void vertexAttrib4fv(GLuint indx, sequence<GLfloat> values); |
700 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, | 701 void vertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean nor malized, |
701 GLsizei stride, GLintptr offset); | 702 GLsizei stride, GLintptr offset); |
702 | 703 |
703 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); | 704 void viewport(GLint x, GLint y, GLsizei width, GLsizei height); |
704 }; | 705 }; |
OLD | NEW |