Lines Matching refs:renderTarget
40 renderTarget[i] = nullptr; in Device()
154 if(renderTarget[i]) in ~Device()
156 renderTarget[i]->release(); in ~Device()
157 renderTarget[i] = nullptr; in ~Device()
203 if(renderTarget[i]) in clearColor()
205 sw::Rect clearRect = renderTarget[i]->getRect(); in clearColor()
212 clear(rgba, FORMAT_A32B32G32R32F, renderTarget[i], clearRect, rgbaMask); in clearColor()
299 void Device::setRenderTarget(int index, egl::Image *renderTarget, unsigned int layer) in setRenderTarget() argument
301 if(renderTarget) in setRenderTarget()
303 renderTarget->addRef(); in setRenderTarget()
306 if(this->renderTarget[index]) in setRenderTarget()
308 this->renderTarget[index]->release(); in setRenderTarget()
311 this->renderTarget[index] = renderTarget; in setRenderTarget()
313 Renderer::setRenderTarget(index, renderTarget, layer); in setRenderTarget()
795 if(renderTarget[i]) in bindViewport()
798 scissor.x1 = min(scissor.x1, renderTarget[i]->getWidth()); in bindViewport()
800 scissor.y1 = min(scissor.y1, renderTarget[i]->getHeight()); in bindViewport()