Searched refs:srcPM (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/tests/ |
D | ExtendedSkColorTypeTests.cpp | 114 SkAutoPixmapStorage srcPM; in raster_tests() local 115 srcPM.alloc(nativeII); in raster_tests() 116 srcPM.erase(SkColors::kWhite); in raster_tests() 117 auto i = SkImage::MakeFromRaster(srcPM, nullptr, nullptr); in raster_tests() 126 SkColor expected = srcPM.getColor(0, 0); in raster_tests() 133 SkAutoPixmapStorage srcPM; in raster_tests() local 134 srcPM.alloc(nativeII); in raster_tests() 135 srcPM.erase(SkColors::kWhite); in raster_tests() 136 auto i = SkImage::MakeFromRaster(srcPM, nullptr, nullptr); in raster_tests() 153 SkColor expected = srcPM.getColor(0, 0); in raster_tests()
|
D | CopySurfaceTest.cpp | 80 GrCPixmap srcPM(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 83 dContext, sRenderable, sOrigin, srcPM); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | multi_frame_codec.cc | 44 SkPixmap srcPM; in CopyToBitmap() local 45 if (!src.peekPixels(&srcPM)) { in CopyToBitmap() 50 SkImageInfo dstInfo = srcPM.info().makeColorType(dstColorType); in CopyToBitmap() 64 if (!srcPM.readPixels(dstPM)) { in CopyToBitmap()
|
/third_party/flutter/skia/tools/ |
D | ToolUtils.cpp | 351 SkPixmap srcPM; in copy_to() local 352 if (!src.peekPixels(&srcPM)) { in copy_to() 357 SkImageInfo dstInfo = srcPM.info().makeColorType(dstColorType); in copy_to() 371 if (!srcPM.readPixels(dstPM)) { in copy_to()
|
/third_party/flutter/skia/src/core/ |
D | SkMipMap.cpp | 426 SkPixmap srcPM(src); in Build() local 475 const void* srcBasePtr = srcPM.addr(); in Build() 478 const size_t srcRB = srcPM.rowBytes(); in Build() 484 srcPM = dstPM; in Build()
|
/third_party/skia/tools/ |
D | ToolUtils.cpp | 378 SkPixmap srcPM; in copy_to() local 379 if (!src.peekPixels(&srcPM)) { in copy_to() 384 SkImageInfo dstInfo = srcPM.info().makeColorType(dstColorType); in copy_to() 398 if (!srcPM.readPixels(dstPM)) { in copy_to()
|
/third_party/skia/src/core/ |
D | SkMipmap.cpp | 590 SkPixmap srcPM(src); in Build() local 640 const void* srcBasePtr = srcPM.addr(); in Build() 643 const size_t srcRB = srcPM.rowBytes(); in Build() 650 srcPM = dstPM; in Build()
|