Lines Matching full:depthbuffer
134 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer, GLint level, GLint layer)
136 FramebufferAttachment *attachment = lookupAttachment(type, depthbuffer, level, layer);
234 FramebufferAttachment *depthbuffer = mDepthbuffer.get();
236 if (depthbuffer)
238 return depthbuffer->getSerial();
552 const FramebufferAttachment *depthbuffer = NULL;
557 depthbuffer = getDepthbuffer();
559 if (!depthbuffer)
564 if (depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0)
571 if (!gl::IsDepthRenderingSupported(depthbuffer->getInternalFormat(), mRenderer))
578 GLenum internalformat = depthbuffer->getInternalFormat();
599 width = depthbuffer->getWidth();
600 height = depthbuffer->getHeight();
601 samples = depthbuffer->getSamples();
604 else if (width != depthbuffer->getWidth() || height != depthbuffer->getHeight())
608 else if (samples != depthbuffer->getSamples())
676 if (depthbuffer && stencilbuffer && (depthbuffer != stencilbuffer))