Searched refs:srcPixmap (Results 1 – 9 of 9) sorted by relevance
/external/skia/docs/examples/ |
D | Pixmap_readPixels.cpp | 12 SkPixmap srcPixmap(srcInfo, (const void*) &pixels.front(), width * 4); in draw() local 19 bitmap.installPixels(srcPixmap); in draw() 26 srcPixmap.readPixels(dstInfo, &dstPixels.front(), width * 2); in draw()
|
/external/skia/tests/ |
D | GrSurfaceTest.cpp | 345 SkAutoPixmapStorage srcPixmap; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 346 srcPixmap.alloc(ii); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 347 fillPixels(&srcPixmap, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 360 dContext, srcPixmap, kTopLeft_GrSurfaceOrigin, GrRenderable::kNo, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 375 read.alloc(srcPixmap.info()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 379 comparePixels(srcPixmap, read, reporter); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 385 write.alloc(srcPixmap.info()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 386 fillPixels(&write, [&srcPixmap](int x, int y) { return ~*srcPixmap.addr32(); }); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | TestUtils.cpp | 221 GrCPixmap srcPixmap(srcInfo, col.vec(), floatBpp); in CheckSolidPixels() local 225 SkAssertResult(GrConvertPixels(colorPixmap, srcPixmap)); in CheckSolidPixels()
|
D | ReadPixelsTest.cpp | 440 SkPixmap srcPixmap(srcInfo, srcPixels, srcInfo.minRowBytes()); in test_conversion() local 441 sk_sp<SkImage> src = SkImage::MakeFromRaster(srcPixmap, nullptr, nullptr); in test_conversion()
|
/external/skia/tools/gpu/ |
D | ManagedBackendTexture.cpp | 76 SkPixmap srcPixmap; in MakeFromBitmap() local 77 if (!src.peekPixels(&srcPixmap)) { in MakeFromBitmap() 81 return MakeFromPixmap(dContext, srcPixmap, mipmapped, renderable, isProtected); in MakeFromBitmap()
|
/external/skqp/src/core/ |
D | SkMipMap.cpp | 598 SkPixmap srcPixmap; in Build() local 599 if (!src.peekPixels(&srcPixmap)) { in Build() 602 return Build(srcPixmap, fact); in Build()
|
/external/skia/src/core/ |
D | SkMipmap.cpp | 792 SkPixmap srcPixmap; in Build() local 793 if (!src.peekPixels(&srcPixmap)) { in Build() 796 return Build(srcPixmap, fact); in Build()
|
/external/skqp/tests/ |
D | ReadPixelsTest.cpp | 617 SkPixmap srcPixmap(srcInfo, srcPixels, srcInfo.minRowBytes()); in test_conversion() local 618 sk_sp<SkImage> src = SkImage::MakeFromRaster(srcPixmap, nullptr, nullptr); in test_conversion()
|
/external/skqp/docs/ |
D | SkPixmap_Reference.bmh | 1238 SkPixmap srcPixmap(srcInfo, (const void*) &pixels.front(), width * 4); 1245 bitmap.installPixels(srcPixmap); 1252 srcPixmap.readPixels(dstInfo, &dstPixels.front(), width * 2);
|