Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrContext.cpp430 bool canvas2DFastPath = in writeSurfacePixels() local
444 canvas2DFastPath) { in writeSurfacePixels()
457 if (canvas2DFastPath) { in writeSurfacePixels()
479 uint32_t flags = canvas2DFastPath ? 0 : pixelOpsFlags; in writeSurfacePixels()
484 auto tmpColorType = canvas2DFastPath ? GrColorType::kRGBA_8888 : srcColorType; in writeSurfacePixels()
489 if (canvas2DFastPath) { in writeSurfacePixels()
625 bool canvas2DFastPath = in readSurfacePixels() local
636 canvas2DFastPath) { in readSurfacePixels()
638 desc.fFlags = canvas2DFastPath ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in readSurfacePixels()
639 desc.fConfig = canvas2DFastPath ? kRGBA_8888_GrPixelConfig : srcProxy->config(); in readSurfacePixels()
[all …]
/external/skia/src/gpu/
DGrSurfaceContext.cpp225 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() local
239 if (readFlag == GrCaps::SurfaceReadPixelsSupport::kCopyToTexture2D || canvas2DFastPath) { in readPixels()
242 GrColorType colorType = (canvas2DFastPath || srcIsCompressed) in readPixels()
245 SkAlphaType alphaType = canvas2DFastPath ? dst.alphaType() in readPixels()
257 if (canvas2DFastPath) { in readPixels()
474 bool canvas2DFastPath = !caps->avoidWritePixelsFastPath() && premul && !needColorConversion && in internalWritePixels() local
484 if ((!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) && numLevels == 1) { in internalWritePixels()
488 if (canvas2DFastPath) { in internalWritePixels()
529 if (canvas2DFastPath) { in internalWritePixels()
540 if (canvas2DFastPath) { in internalWritePixels()