Lines Matching refs:depthBuffer
39 depthBuffer = nullptr; in Device()
135 if(depthBuffer) in ~Device()
137 depthBuffer->release(); in ~Device()
138 depthBuffer = nullptr; in ~Device()
187 if(!depthBuffer) in clearDepth()
193 sw::Rect clearRect = depthBuffer->getRect(); in clearDepth()
200 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepth()
264 void Device::setDepthBuffer(egl::Image *depthBuffer) in setDepthBuffer() argument
266 if(this->depthBuffer == depthBuffer) in setDepthBuffer()
271 if(depthBuffer) in setDepthBuffer()
273 depthBuffer->addRef(); in setDepthBuffer()
276 if(this->depthBuffer) in setDepthBuffer()
278 this->depthBuffer->release(); in setDepthBuffer()
281 this->depthBuffer = depthBuffer; in setDepthBuffer()
283 Renderer::setDepthBuffer(depthBuffer); in setDepthBuffer()
501 if(depthBuffer) in bindViewport()
504 scissor.x1 = min(scissor.x1, depthBuffer->getWidth()); in bindViewport()
506 scissor.y1 = min(scissor.y1, depthBuffer->getHeight()); in bindViewport()