Home
last modified time | relevance | path

Searched refs:srcPM (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/tests/
DExtendedSkColorTypeTests.cpp114 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()
DCopySurfaceTest.cpp80 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/skia/tools/
DToolUtils.cpp378 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/
DSkMipmap.cpp590 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()