Searched refs:canvas2DFastPath (Results 1 – 2 of 2) sorted by relevance
119 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() local133 if (readFlag == GrCaps::SurfaceReadPixelsSupport::kCopyToTexture2D || canvas2DFastPath) { in readPixels()134 GrColorType colorType = canvas2DFastPath ? GrColorType::kRGBA_8888 in readPixels()136 sk_sp<SkColorSpace> cs = canvas2DFastPath ? nullptr in readPixels()147 if (canvas2DFastPath) { in readPixels()277 bool canvas2DFastPath = !caps->avoidWritePixelsFastPath() && premul && !needColorConversion && in writePixels() local286 if (!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) { in writePixels()294 if (canvas2DFastPath) { in writePixels()333 if (canvas2DFastPath) { in writePixels()342 if (canvas2DFastPath) { in writePixels()
122 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() local141 if (readFlag == GrCaps::SurfaceReadPixelsSupport::kCopyToTexture2D || canvas2DFastPath) { in readPixels()144 GrColorType colorType = (canvas2DFastPath || srcIsCompressed) in readPixels()147 SkAlphaType alphaType = canvas2DFastPath ? dst.alphaType() in readPixels()159 if (canvas2DFastPath) { in readPixels()379 bool canvas2DFastPath = !caps->avoidWritePixelsFastPath() && premul && !needColorConversion && in internalWritePixels() local395 if ((!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) && numLevels == 1) { in internalWritePixels()399 if (canvas2DFastPath) { in internalWritePixels()440 if (canvas2DFastPath) { in internalWritePixels()451 if (canvas2DFastPath) { in internalWritePixels()