Home | History | Annotate | Download | only in gpu

Lines Matching refs:rt

151 bool GrGpu::attachStencilBufferToRenderTarget(GrRenderTarget* rt) {
152 SkASSERT(NULL == rt->getStencilBuffer());
154 this->getContext()->findStencilBuffer(rt->width(),
155 rt->height(),
156 rt->numSamples());
158 rt->setStencilBuffer(sb);
159 bool attached = this->attachStencilBufferToRenderTarget(sb, rt);
161 rt->setStencilBuffer(NULL);
165 if (this->createStencilBufferForRenderTarget(rt,
166 rt->width(), rt->height())) {
168 // attached to an RT for the first time. When we start matching
175 GrDrawState::AutoRenderTargetRestore artr(this->drawState(), rt);