Lines Matching refs:depthbuffer
70 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer)
72 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE;
73 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer);
281 Renderbuffer *depthbuffer = nullptr;
286 depthbuffer = getDepthbuffer();
288 if(!depthbuffer)
293 if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0)
300 if(!gl::IsDepthRenderable(depthbuffer->getFormat()))
307 if(!gl::IsDepthTexture(depthbuffer->getFormat()))
320 width = depthbuffer->getWidth();
321 height = depthbuffer->getHeight();
322 samples = depthbuffer->getSamples();
324 else if(width != depthbuffer->getWidth() || height != depthbuffer->getHeight())
328 else if(samples != depthbuffer->getSamples())
388 if(depthbuffer && stencilbuffer && (depthbuffer != stencilbuffer))