Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrContext.cpp218 SkSrcPixelInfo srcPI; in sw_convert_to_premul() local
219 if (!GrPixelConfig2ColorAndProfileType(srcConfig, &srcPI.fColorType, nullptr)) { in sw_convert_to_premul()
222 srcPI.fAlphaType = kUnpremul_SkAlphaType; in sw_convert_to_premul()
223 srcPI.fPixels = inPixels; in sw_convert_to_premul()
224 srcPI.fRowBytes = inRowBytes; in sw_convert_to_premul()
227 dstPI.fColorType = srcPI.fColorType; in sw_convert_to_premul()
232 return srcPI.convertPixelsTo(&dstPI, width, height); in sw_convert_to_premul()
489 SkSrcPixelInfo srcPI; in readSurfacePixels() local
490 srcPI.fColorType = dstPI.fColorType; in readSurfacePixels()
491 srcPI.fAlphaType = kPremul_SkAlphaType; in readSurfacePixels()
[all …]
DSkGr.cpp141 SkSrcPixelInfo srcPI; in build_index8_data() local
142 srcPI.fColorType = kN32_SkColorType; in build_index8_data()
143 srcPI.fAlphaType = kPremul_SkAlphaType; in build_index8_data()
144 srcPI.fPixels = ctable->readColors(); in build_index8_data()
145 srcPI.fRowBytes = count * sizeof(SkPMColor); in build_index8_data()
147 srcPI.convertPixelsTo(&dstPI, count, 1); in build_index8_data()
/external/skia/src/core/
DSkConfig8888.cpp199 SkSrcPixelInfo srcPI; in CopyPixels() local
200 srcPI.fColorType = srcInfo.colorType(); in CopyPixels()
201 srcPI.fAlphaType = srcInfo.alphaType(); in CopyPixels()
202 srcPI.fPixels = srcPixels; in CopyPixels()
203 srcPI.fRowBytes = srcRB; in CopyPixels()
205 return srcPI.convertPixelsTo(&dstPI, width, height); in CopyPixels()