Home
last modified time | relevance | path

Searched refs:tmpInfo (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/gpu/
DGrOpFlushState.cpp125 GrImageInfo tmpInfo(supportedWrite.fColorType, kAT, nullptr, rect.size()); in doUpload() local
126 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
DSurfaceContext.cpp231 GrImageInfo tmpInfo(supportedRead.fColorType, in readPixels() local
235 size_t tmpRB = tmpInfo.minRowBytes(); in readPixels()
236 size_t size = tmpRB * tmpInfo.height(); in readPixels()
239 tmp = {tmpInfo, tmpPixels.get(), tmpRB}; in readPixels()
507 GrImageInfo tmpInfo(allowedColorType, in internalWritePixels() local
511 auto tmpRB = tmpInfo.minRowBytes(); in internalWritePixels()
512 GrPixmap tmpPM(tmpInfo, tmp, tmpRB); in internalWritePixels()
/third_party/skia/tests/
DTransferPixelsTest.cpp93 GrImageInfo tmpInfo(supportedRead.fColorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture() local
95 determine_tolerances(tmpInfo.colorType(), dstInfo.colorType(), tolerances); in read_pixels_from_texture()
97 GrPixmap(tmpInfo, tmpPixels.get(), tmpRowBytes)); in read_pixels_from_texture()