Lines Matching refs:stencilBuffer
44 stencilBuffer = nullptr; in Device()
167 if(stencilBuffer) in ~Device()
169 stencilBuffer->release(); in ~Device()
170 stencilBuffer = nullptr; in ~Device()
237 if(!stencilBuffer) in clearStencil()
242 sw::Rect clearRect = stencilBuffer->getRect(); in clearStencil()
249 …stencilBuffer->clearStencil(stencil, mask, clearRect.x0, clearRect.y0, clearRect.width(), clearRec… in clearStencil()
338 void Device::setStencilBuffer(egl::Image *stencilBuffer, unsigned int layer) in setStencilBuffer() argument
340 if(this->stencilBuffer == stencilBuffer) in setStencilBuffer()
345 if(stencilBuffer) in setStencilBuffer()
347 stencilBuffer->addRef(); in setStencilBuffer()
350 if(this->stencilBuffer) in setStencilBuffer()
352 this->stencilBuffer->release(); in setStencilBuffer()
355 this->stencilBuffer = stencilBuffer; in setStencilBuffer()
357 Renderer::setStencilBuffer(stencilBuffer, layer); in setStencilBuffer()
812 if(stencilBuffer) in bindViewport()
815 scissor.x1 = min(scissor.x1, stencilBuffer->getWidth()); in bindViewport()
817 scissor.y1 = min(scissor.y1, stencilBuffer->getHeight()); in bindViewport()