Lines Matching refs:RENDERBUFFER
718 void WebGLRenderingContext::bindRenderbuffer(GC3Denum target, WebGLRenderbuffer* renderBuffer, ExceptionCode& ec)
722 if (!checkObjectToBeBound(renderBuffer, deleted))
725 renderBuffer = 0;
726 if (target != GraphicsContext3D::RENDERBUFFER) {
730 m_renderbufferBinding = renderBuffer;
731 m_context->bindRenderbuffer(target, objectOrZero(renderBuffer));
732 if (renderBuffer)
733 renderBuffer->setHasEverBeenBound();
1252 void WebGLRenderingContext::deleteRenderbuffer(WebGLRenderbuffer* renderbuffer)
1254 if (!deleteObject(renderbuffer))
1256 if (renderbuffer == m_renderbufferBinding)
1259 m_framebufferBinding->removeAttachment(renderbuffer);
1713 if (renderbuffertarget != GraphicsContext3D::RENDERBUFFER) {
2015 case GraphicsContext3D::RENDERBUFFER:
2271 if (target != GraphicsContext3D::RENDERBUFFER) {
2687 GC3Dboolean WebGLRenderingContext::isRenderbuffer(WebGLRenderbuffer* renderbuffer)
2689 if (!renderbuffer || isContextLost())
2692 if (!renderbuffer->hasEverBeenBound())
2695 return m_context->isRenderbuffer(renderbuffer->object());
2884 if (target != GraphicsContext3D::RENDERBUFFER) {