Home
last modified time | relevance | path

Searched refs:preferCopy (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLGpu.cpp3185 bool preferCopy = SkToBool(dst->asRenderTarget()); in onCopySurface() local
3187 if (preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()
3202 if (!preferCopy && this->glCaps().canCopyAsDraw(dstFormat, SkToBool(src->asTexture()))) { in onCopySurface()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp3288 bool preferCopy = SkToBool(dst->asRenderTarget()); in onCopySurface() local
3289 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()