Searched refs:preferCopy (Results 1 – 2 of 2) sorted by relevance
3026 bool preferCopy = SkToBool(dst->asRenderTarget()); in onCopySurface() local3028 if (preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()3045 if (!preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()
3184 bool preferCopy = SkToBool(dst->asRenderTarget()); in onCopySurface() local3186 if (preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()3201 if (!preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()