mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Implement stencil fns for WebGLRenderingContext
This commit is contained in:
parent
84ab7e9fe8
commit
2946fbef77
2 changed files with 93 additions and 9 deletions
|
@ -622,12 +622,12 @@ interface WebGLRenderingContextBase
|
|||
|
||||
void shaderSource(WebGLShader? shader, DOMString source);
|
||||
|
||||
//void stencilFunc(GLenum func, GLint ref, GLuint mask);
|
||||
//void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
|
||||
//void stencilMask(GLuint mask);
|
||||
//void stencilMaskSeparate(GLenum face, GLuint mask);
|
||||
//void stencilOp(GLenum fail, GLenum zfail, GLenum zpass);
|
||||
//void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
|
||||
void stencilFunc(GLenum func, GLint ref, GLuint mask);
|
||||
void stencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
|
||||
void stencilMask(GLuint mask);
|
||||
void stencilMaskSeparate(GLenum face, GLuint mask);
|
||||
void stencilOp(GLenum fail, GLenum zfail, GLenum zpass);
|
||||
void stencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
|
||||
|
||||
//void texImage2D(GLenum target, GLint level, GLenum internalformat,
|
||||
// GLsizei width, GLsizei height, GLint border, GLenum format,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue