Home | History | Annotate | Download | only in docs

Lines Matching full:sk_sp

29 #Method static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels,
64 sk_sp<SkSurface> surface(SkSurface::MakeRasterDirect(info, pixels, info.minRowBytes()));
91 #Method static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels,
138 sk_sp<SkSurface> surface(SkSurface::MakeRasterDirectReleaseProc(info, pixels, rowBytes,
168 #Method static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes,
200 sk_sp<SkSurface> surface(SkSurface::MakeRaster(info, rowBytes, nullptr));
232 #Method static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo,
257 sk_sp<SkSurface> surface(SkSurface::MakeRaster(info));
284 #Method static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height,
310 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(3, 3));
342 #Method static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context,
345 sk_sp<SkColorSpace> colorSpace,
383 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTexture(context,
388 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
398 #Method static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context,
402 sk_sp<SkColorSpace> colorSpace,
444 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTexture(context,
450 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
460 #Method static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context,
463 sk_sp<SkColorSpace> colorSpace,
499 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context,
504 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
514 #Method static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context,
518 sk_sp<SkColorSpace> colorSpace,
558 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context,
564 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
574 #Method static sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext* context,
578 sk_sp<SkColorSpace> colorSpace,
610 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTextureAsRenderTarget(
616 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
626 #Method static sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext* context,
631 sk_sp<SkColorSpace> colorSpace,
667 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTextureAsRenderTarget(
673 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
683 #Method static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted,
739 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
751 #Method static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted,
805 sk_sp<SkSurface> surface = context ? SkSurface::MakeRenderTarget(
809 sk_sp<SkImage> image(surface->makeImageSnapshot());
824 #Method static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted,
857 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
867 #Method static sk_sp<SkSurface> MakeNull(int width, int height)
1092 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(
1100 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
1107 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
1143 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(
1193 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(
1222 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(64, 64));
1237 #Method sk_sp<SkSurface> makeSurface(const SkImageInfo& imageInfo)
1255 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64));
1256 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType)));
1278 #Method sk_sp<SkImage> makeImageSnapshot()
1289 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64));
1290 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType)));
1293 sk_sp<SkImage> early(big->makeImageSnapshot());
1295 sk_sp<SkImage> later(big->makeImageSnapshot());
1323 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64));
1324 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType)));
1357 sk_sp<SkSurface> surf(SkSurface::MakeRasterN32Premul(64, 64));
1413 sk_sp<SkSurface> surf(SkSurface::MakeRasterN32Premul(64, 64));
1479 sk_sp<SkSurface> surf(SkSurface::MakeRasterN32Premul(64, 64));
1485 sk_sp<SkData> data(SkData::MakeUninitialized(info.minRowBytes() * info.height()));
1492 sk_sp<SkImage> image = SkImage::MakeRasterData(info, data, info.minRowBytes());
1537 sk_sp<SkSurface> surf(SkSurface::MakeRasterN32Premul(64, 64));
1569 sk_sp<SkSurface> surf(SkSurface::MakeRasterN32Premul(64, 64));
1681 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(
1684 sk_sp<SkImage> image = surface->makeImageSnapshot();
1689 sk_sp<SkSurface> childSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo,
1692 sk_sp<SkImage> childImage = SkImage::MakeFromTexture(context,
1732 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(
1746 sk_sp<SkImage> img = gpuSurface->makeImageSnapshot();
1773 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRasterN32Premul(64, 64);
1786 sk_sp