Lines Matching refs:isStencil
543 …bool isStencil = (flags & Device::STENCIL_BUFFER) && Surface::isStencil(source->getInternalFormat(… in stretchRect() local
546 if(!isColor && !isDepth && !isStencil) in stretchRect()
551 int sourceSliceB = isStencil ? source->getStencilSliceB() : source->getInternalSliceB(); in stretchRect()
552 int destSliceB = isStencil ? dest->getStencilSliceB() : dest->getInternalSliceB(); in stretchRect()
553 int sourcePitchB = isStencil ? source->getStencilPitchB() : source->getInternalPitchB(); in stretchRect()
554 int destPitchB = isStencil ? dest->getStencilPitchB() : dest->getInternalPitchB(); in stretchRect()
575 …byte *sourceBuffer = isStencil ? (byte*)source->lockStencil(0, 0, 0, PUBLIC) : (byte*)source->lock… in stretchRect()
576 …byte *destBuffer = isStencil ? (byte*)dest->lockStencil(0, 0, 0, PUBLIC) : (byte*)dest->lockIntern… in stretchRect()
580 isStencil ? source->unlockStencil() : source->unlockInternal(); in stretchRect()
581 isStencil ? dest->unlockStencil() : dest->unlockInternal(); in stretchRect()
619 else if(isColor || isDepth || isStencil) in stretchRect()
630 blit(source, sRect, dest, dRect, scaling && (flags & Device::USE_FILTER), isStencil); in stretchRect()
639 …if(!source || !dest || Surface::isDepth(source->getInternalFormat()) || Surface::isStencil(source-… in stretchCube()