Searched refs:preferCopy (Results 1 – 2 of 2) sorted by relevance
3185 bool preferCopy = SkToBool(dst->asRenderTarget()); in onCopySurface() local3187 if (preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()3202 if (!preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()
3288 bool preferCopy = SkToBool(dst->asRenderTarget()); in onCopySurface() local3289 if (preferCopy && this->glCaps().canCopyAsDraw(dst->config(), SkToBool(src->asTexture()))) { in onCopySurface()3306 if (!preferCopy && this->glCaps().canCopyAsDraw(dst->config(), SkToBool(src->asTexture()))) { in onCopySurface()