Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrSurfaceContext.cpp119 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() local
133 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() local
286 if (!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) { in writePixels()
294 if (canvas2DFastPath) { in writePixels()
333 if (canvas2DFastPath) { in writePixels()
342 if (canvas2DFastPath) { in writePixels()
/third_party/skia/src/gpu/
DSurfaceContext.cpp122 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() local
141 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() local
395 if ((!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) && numLevels == 1) { in internalWritePixels()
399 if (canvas2DFastPath) { in internalWritePixels()
440 if (canvas2DFastPath) { in internalWritePixels()
451 if (canvas2DFastPath) { in internalWritePixels()