Searched refs:canvas2DFastPath (Results 1 – 2 of 2) sorted by relevance
430 bool canvas2DFastPath = in writeSurfacePixels() local444 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() local636 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 …]
187 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() local201 if (readFlag == GrCaps::SurfaceReadPixelsSupport::kCopyToTexture2D || canvas2DFastPath) { in readPixels()202 GrColorType colorType = (canvas2DFastPath || srcIsCompressed) in readPixels()204 sk_sp<SkColorSpace> cs = canvas2DFastPath ? nullptr : this->colorInfo().refColorSpace(); in readPixels()214 if (canvas2DFastPath) { in readPixels()346 bool canvas2DFastPath = !caps->avoidWritePixelsFastPath() && premul && !needColorConversion && in writePixels() local355 if (!caps->surfaceSupportsWritePixels(dstSurface) || canvas2DFastPath) { in writePixels()361 if (canvas2DFastPath) { in writePixels()396 if (canvas2DFastPath) { in writePixels()405 if (canvas2DFastPath) { in writePixels()