• Home
  • Raw
  • Download

Lines Matching refs:SkImage

4 #Class SkImage
50 #Method static sk_sp<SkImage> MakeRasterCopy(const SkPixmap& pixmap)
71 sk_sp<SkImage> image = SkImage::MakeRasterCopy(pixmap);
84 #Method static sk_sp<SkImage> MakeRasterData(const SkImageInfo& info, sk_sp<SkData> pixels, size_t …
95 image->readPixels(dstInfo, data->writable_data(), rowBytes, 0, 0, SkImage::kAllow_CachingHint);
96 sk_sp<SkImage> raw = SkImage::MakeRasterData(dstInfo.makeColorType(kRGBA_8888_SkColorType),
135 #Method static sk_sp<SkImage> MakeFromRaster(const SkPixmap& pixmap,
144 static void releaseProc(const void* pixels, SkImage::ReleaseContext context) {
154 sk_sp<SkImage> image(SkImage::MakeFromRaster(pixmap, releaseProc, &releaseCount));
171 #Method static sk_sp<SkImage> MakeFromBitmap(const SkBitmap& bitmap)
193 sk_sp<SkImage> image1 = SkImage::MakeFromBitmap(bitmap);
195 sk_sp<SkImage> image2 = SkImage::MakeFromBitmap(bitmap);
208 #Method static sk_sp<SkImage> MakeFromGenerator(std::unique_ptr<SkImageGenerator> imageGenerator,
223 SkImage::BitDepth::kU8, SkColorSpace::MakeSRGB());
224 sk_sp<SkImage> image = SkImage::MakeFromGenerator(std::move(gen));
234 #Method static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullpt…
244 sk_sp<SkImage> image = SkImage::MakeFromEncoded(encodedData);
256 #Method static sk_sp<SkImage> MakeFromCompressed(GrContext* context, sk_sp<SkData> data, int width,…
281 #Method static sk_sp<SkImage> MakeFromTexture(GrContext* context,
305 sk_sp<SkImage> image = SkImage::MakeFromTexture(context, backEndTexture,
318 #Method static sk_sp<SkImage> MakeFromTexture(GrContext* context,
339 auto debugster = [](SkImage::ReleaseContext releaseContext) -> void {
344 sk_sp<SkImage> image = SkImage::MakeFromTexture(context, backEndTexture,
357 #Method static sk_sp<SkImage> MakeCrossContextFromEncoded(GrContext* context, sk_sp<SkData> data,
370 sk_sp<SkImage> image = SkImage::MakeCrossContextFromEncoded(context,
381 #Method static sk_sp<SkImage> MakeCrossContextFromPixmap(GrContext* context, const SkPixmap& pixmap,
395 sk_sp<SkImage> image = SkImage::MakeCrossContextFromPixmap(context, pixmap,
407 #Method static sk_sp<SkImage> MakeFromAdoptedTexture(GrContext* context,
428 sk_sp<SkImage> image = SkImage::MakeFromAdoptedTexture(canvas->getGrContext(),
445 #Method static sk_sp<SkImage> MakeFromYUVATexturesCopy(GrContext* context,
463 #Method static sk_sp<SkImage> MakeFromYUVATextures(GrContext* context,
482 #Method static sk_sp<SkImage> MakeFromYUVAPixmaps(
506 #Method static sk_sp<SkImage> MakeFromYUVATexturesCopyWithExternalBackend(
526 #Method static sk_sp<SkImage> MakeFromYUVTexturesCopy(GrContext* context, SkYUVColorSpace yuvColorS…
543 #Method static sk_sp<SkImage> MakeFromYUVTexturesCopyWithExternalBackend(
560 #Method static sk_sp<SkImage> MakeFromNV12TexturesCopy(GrContext* context,
576 #Method static sk_sp<SkImage> MakeFromNV12TexturesCopyWithExternalBackend(
623 #Method static sk_sp<SkImage> MakeFromPicture(sk_sp<SkPicture> picture, const SkISize& dimensions,
646 sk_sp<SkImage> image = SkImage::MakeFromPicture(playback, {50, 50}, nullptr, &paint,
647 SkImage::BitDepth::kU8, srgbColorSpace);
659 #Method static sk_sp<SkImage> MakeFromAHardwareBuffer(
776 sk_sp<SkImage> subset = image->makeSubset({10, 20, 90, 100});
857 sk_sp<SkImage> image = SkImage::MakeRasterCopy(pixmap);
890 sk_sp<SkImage> image = SkImage::MakeRasterCopy(pixmap);
912 sk_sp<SkImage> image = SkImage::MakeRasterCopy({SkImageInfo::MakeA8(1, 1), &pmColors, 1});
1007 sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap);
1048 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
1059 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
1060 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1084 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
1099 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
1100 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1130 sk_sp<SkImage> imageFromBackend = SkImage::MakeFromAdoptedTexture(grContext, backEndTexture,
1136 sk_sp<SkImage> imageFromTexture = SkImage::MakeFromAdoptedTexture(grContext, textureFromImage,
1334 sk_sp<SkImage> filtered = SkImage::MakeFromRaster(pixmap, nullptr, nullptr);
1357 sk_sp<SkImage> filtered = SkImage::MakeFromEncoded(data, &subset);
1377 sk_sp<SkImage> eye = SkImage::MakeFromEncoded(data, &subset);
1397 sk_sp<SkImage> image;
1398 } tests[] = { { "image", image }, { "bitmap", SkImage::MakeFromBitmap(source) },
1399 { "texture", SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1424 #Method sk_sp<SkImage> makeSubset(const SkIRect& subset) const
1436 sk_sp<SkImage> subset(image->makeSubset({x, y, x + width, y + height}));
1448 #Method sk_sp<SkImage> makeTextureImage(GrContext* context, SkColorSpace* dstColorSpace,
1457 auto drawImage = [=](sk_sp<SkImage> image, GrContext* context, const char* label) -> void {
1463 sk_sp<SkImage> texture(image->makeTextureImage(context, nullptr));
1467 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
1469 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(context, backEndTexture,
1485 #Method sk_sp<SkImage> makeNonTextureImage() const
1493 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
1499 sk_sp<SkImage> nonTexture(image->makeNonTextureImage());
1503 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
1504 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1520 #Method sk_sp<SkImage> makeRasterImage() const
1528 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
1534 sk_sp<SkImage> raster(image->makeRasterImage());
1538 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
1539 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1555 #Method sk_sp<SkImage> makeWithFilter(GrContext* context,
1581 sk_sp<SkImage> filtered(image->makeWithFilter(canvas->getGrContext(),
1599 #Method sk_sp<SkImage> makeWithFilter(const SkImageFilter* filter, const SkIRect& subset,
1626 sk_sp<SkImage> image,
1637 static sk_sp<SkImage> create_gpu_image(GrContext* grContext) {
1654 sk_sp<SkImage> backEndImage = create_gpu_image(grContext);
1657 SkImage::BackendTextureReleaseProc proc;
1658 if (!SkImage::MakeBackendTextureFromSkImage(grContext, std::move(backEndImage),
1662 sk_sp<SkImage> i2 = SkImage::MakeFromTexture(grContext, texture, kTopLeft_GrSurfaceOrigin,
1701 sk_sp<SkImage> image(SkImage::MakeFromGenerator(std::move(gen)));
1715 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
1727 sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(source));
1728 sk_sp<SkImage> textureImage(SkImage::MakeFromTexture(canvas->getGrContext(), backEndTexture,
1745 #Method sk_sp<SkImage> makeColorSpace(sk_sp<SkColorSpace> target) const
1757 sk_sp<SkImage> colorSpaced = image->makeColorSpace(colorSpace);
1767 #Class SkImage ##