Lines Matching defs:cap
1690 void WebGLRenderingContext::disable(GC3Denum cap)
1692 if (isContextLost() || !validateCapability("disable", cap))
1694 if (cap == GraphicsContext3D::STENCIL_TEST) {
1700 if (cap == GraphicsContext3D::SCISSOR_TEST) {
1705 m_context->disable(cap);
2081 void WebGLRenderingContext::enable(GC3Denum cap)
2083 if (isContextLost() || !validateCapability("enable", cap))
2085 if (cap == GraphicsContext3D::STENCIL_TEST) {
2091 if (cap == GraphicsContext3D::SCISSOR_TEST) {
2096 m_context->enable(cap);
3268 GC3Dboolean WebGLRenderingContext::isEnabled(GC3Denum cap)
3270 if (isContextLost() || !validateCapability("isEnabled", cap))
3272 if (cap == GraphicsContext3D::STENCIL_TEST)
3274 return m_context->isEnabled(cap);
5480 bool WebGLRenderingContext::validateCapability(const char* functionName, GC3Denum cap)
5482 switch (cap) {