mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
webgl: Add isProgram() support.
There's one failure still, where a deleted program should still be considered to be a program until it's unbound. However, I recently made it so that we unbind at delete time, and we may need to partially back that change out.
This commit is contained in:
parent
1f2346d3b6
commit
847ab63de6
7 changed files with 11 additions and 86 deletions
|
@ -605,7 +605,7 @@ interface WebGLRenderingContextBase
|
|||
[WebGLHandlesContextLoss] GLboolean isBuffer(WebGLBuffer? buffer);
|
||||
//[WebGLHandlesContextLoss] GLboolean isEnabled(GLenum cap);
|
||||
[WebGLHandlesContextLoss] GLboolean isFramebuffer(WebGLFramebuffer? framebuffer);
|
||||
//[WebGLHandlesContextLoss] GLboolean isProgram(WebGLProgram? program);
|
||||
[WebGLHandlesContextLoss] GLboolean isProgram(WebGLProgram? program);
|
||||
[WebGLHandlesContextLoss] GLboolean isRenderbuffer(WebGLRenderbuffer? renderbuffer);
|
||||
[WebGLHandlesContextLoss] GLboolean isShader(WebGLShader? shader);
|
||||
[WebGLHandlesContextLoss] GLboolean isTexture(WebGLTexture? texture);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue