Home
last modified time | relevance | path

Searched refs:srcPM (Results 1 – 7 of 7) 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/flutter/engine/flutter/lib/ui/painting/
Dmulti_frame_codec.cc44 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/
DToolUtils.cpp351 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/
DSkMipMap.cpp426 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/
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()