Lines Matching refs:depthbuffer
70 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer) in setDepthbuffer() argument
72 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE_OES; in setDepthbuffer()
73 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer); in setDepthbuffer()
142 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer() local
144 if(depthbuffer) in getDepthBuffer()
146 return depthbuffer->getRenderTarget(); in getDepthBuffer()
287 Renderbuffer *depthbuffer = nullptr; in completeness() local
292 depthbuffer = getDepthbuffer(); in completeness()
294 if(!depthbuffer) in completeness()
299 if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0) in completeness()
306 if(!es1::IsDepthRenderable(depthbuffer->getFormat())) in completeness()
313 if(!es1::IsDepthTexture(depthbuffer->getFormat())) in completeness()
326 width = depthbuffer->getWidth(); in completeness()
327 height = depthbuffer->getHeight(); in completeness()
328 samples = depthbuffer->getSamples(); in completeness()
330 else if(width != depthbuffer->getWidth() || height != depthbuffer->getHeight()) in completeness()
334 else if(samples != depthbuffer->getSamples()) in completeness()