Home
last modified time | relevance | path

Searched refs:dstPI (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
DSkConfig8888.cpp152 SkDstPixelInfo dstPI; in CopyPixels() local
153 dstPI.fColorType = dstInfo.colorType(); in CopyPixels()
154 dstPI.fAlphaType = dstInfo.alphaType(); in CopyPixels()
155 dstPI.fPixels = dstPixels; in CopyPixels()
156 dstPI.fRowBytes = dstRB; in CopyPixels()
164 return srcPI.convertPixelsTo(&dstPI, width, height); in CopyPixels()
/external/skia/src/gpu/
DSkGr.cpp49 SkDstPixelInfo dstPI; in build_compressed_data() local
50 dstPI.fColorType = kRGBA_8888_SkColorType; in build_compressed_data()
51 dstPI.fAlphaType = kPremul_SkAlphaType; in build_compressed_data()
52 dstPI.fPixels = buffer; in build_compressed_data()
53 dstPI.fRowBytes = count * sizeof(SkPMColor); in build_compressed_data()
61 srcPI.convertPixelsTo(&dstPI, count, 1); in build_compressed_data()
DGrContext.cpp1514 SkDstPixelInfo dstPI; in readRenderTargetPixels() local
1515 if (!GrPixelConfig2ColorType(dstConfig, &dstPI.fColorType)) { in readRenderTargetPixels()
1518 dstPI.fAlphaType = kUnpremul_SkAlphaType; in readRenderTargetPixels()
1519 dstPI.fPixels = buffer; in readRenderTargetPixels()
1520 dstPI.fRowBytes = rowBytes; in readRenderTargetPixels()
1523 srcPI.fColorType = swapRAndB ? toggle_colortype32(dstPI.fColorType) : dstPI.fColorType; in readRenderTargetPixels()
1528 return srcPI.convertPixelsTo(&dstPI, width, height); in readRenderTargetPixels()
1666 SkDstPixelInfo dstPI; in writeRenderTargetPixels() local
1667 dstPI.fColorType = srcPI.fColorType; in writeRenderTargetPixels()
1668 dstPI.fAlphaType = kPremul_SkAlphaType; in writeRenderTargetPixels()
[all …]
/external/skia/src/core/
DSkBitmapDevice.cpp177 SkDstPixelInfo dstPI; in copy_pixels() local
178 dstPI.fColorType = dstInfo.colorType(); in copy_pixels()
179 dstPI.fAlphaType = dstInfo.alphaType(); in copy_pixels()
180 dstPI.fPixels = dstPixels; in copy_pixels()
181 dstPI.fRowBytes = dstRowBytes; in copy_pixels()
189 return srcPI.convertPixelsTo(&dstPI, srcInfo.width(), srcInfo.height()); in copy_pixels()
/external/chromium_org/third_party/skia/src/gpu/
DSkGr.cpp51 SkDstPixelInfo dstPI; in build_compressed_data() local
52 dstPI.fColorType = kRGBA_8888_SkColorType; in build_compressed_data()
53 dstPI.fAlphaType = kPremul_SkAlphaType; in build_compressed_data()
54 dstPI.fPixels = buffer; in build_compressed_data()
55 dstPI.fRowBytes = count * sizeof(SkPMColor); in build_compressed_data()
63 srcPI.convertPixelsTo(&dstPI, count, 1); in build_compressed_data()
DGrContext.cpp1530 SkDstPixelInfo dstPI; in readRenderTargetPixels() local
1531 if (!GrPixelConfig2ColorType(dstConfig, &dstPI.fColorType)) { in readRenderTargetPixels()
1534 dstPI.fAlphaType = kUnpremul_SkAlphaType; in readRenderTargetPixels()
1535 dstPI.fPixels = buffer; in readRenderTargetPixels()
1536 dstPI.fRowBytes = rowBytes; in readRenderTargetPixels()
1539 srcPI.fColorType = swapRAndB ? toggle_colortype32(dstPI.fColorType) : dstPI.fColorType; in readRenderTargetPixels()
1544 return srcPI.convertPixelsTo(&dstPI, width, height); in readRenderTargetPixels()
1681 SkDstPixelInfo dstPI; in writeRenderTargetPixels() local
1682 dstPI.fColorType = srcPI.fColorType; in writeRenderTargetPixels()
1683 dstPI.fAlphaType = kPremul_SkAlphaType; in writeRenderTargetPixels()
[all …]