Home
last modified time | relevance | path

Searched refs:LazyYUVImage (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/tools/gpu/
DYUVUtils.cpp17 std::unique_ptr<LazyYUVImage> LazyYUVImage::Make(sk_sp<SkData> data) { in Make()
18 std::unique_ptr<LazyYUVImage> image(new LazyYUVImage()); in Make()
26 sk_sp<SkImage> LazyYUVImage::refImage(GrContext* context) { in refImage()
34 const SkImage* LazyYUVImage::getImage(GrContext* context) { in getImage()
42 bool LazyYUVImage::reset(sk_sp<SkData> data) { in reset()
74 bool LazyYUVImage::ensureYUVImage(GrContext* context) { in ensureYUVImage()
DYUVUtils.h24 class LazyYUVImage {
27 static std::unique_ptr<LazyYUVImage> Make(sk_sp<SkData> data);
45 LazyYUVImage() : fOwningContextID(SK_InvalidGenID) {} in LazyYUVImage() function
/third_party/skia/tools/gpu/
DYUVUtils.cpp189 std::unique_ptr<LazyYUVImage> LazyYUVImage::Make(sk_sp<SkData> data, in Make()
192 std::unique_ptr<LazyYUVImage> image(new LazyYUVImage()); in Make()
200 std::unique_ptr<LazyYUVImage> LazyYUVImage::Make(SkYUVAPixmaps pixmaps, in Make()
203 std::unique_ptr<LazyYUVImage> image(new LazyYUVImage()); in Make()
211 sk_sp<SkImage> LazyYUVImage::refImage(GrRecordingContext* rContext, Type type) { in refImage()
221 bool LazyYUVImage::reset(sk_sp<SkData> data, GrMipmapped mipmapped, sk_sp<SkColorSpace> cs) { in reset()
247 bool LazyYUVImage::reset(SkYUVAPixmaps pixmaps, GrMipmapped mipmapped, sk_sp<SkColorSpace> cs) { in reset()
262 bool LazyYUVImage::ensureYUVImage(GrRecordingContext* rContext, Type type) { in ensureYUVImage()
DYUVUtils.h36 class LazyYUVImage {
39 static std::unique_ptr<LazyYUVImage> Make(sk_sp<SkData> data,
42 static std::unique_ptr<LazyYUVImage> Make(SkYUVAPixmaps,
63 LazyYUVImage() = default;
/third_party/skia/gm/
Dducky_yuv_blend.cpp31 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(GetResourceAsData("images/ducky.jpg"),
34 duckyFG[1] = lazyYUV->refImage(rContext, sk_gpu_test::LazyYUVImage::Type::kFromPixmaps);
Dimagefromyuvtextures.cpp48 static std::unique_ptr<sk_gpu_test::LazyYUVImage> CreatePlanes(const char* name) { in CreatePlanes()
119 return sk_gpu_test::LazyYUVImage::Make(std::move(pixmaps)); in CreatePlanes()
123 return fLazyYUVImage->refImage(context, sk_gpu_test::LazyYUVImage::Type::kFromTextures); in makeYUVAImage()
266 std::unique_ptr<sk_gpu_test::LazyYUVImage> fLazyYUVImage;
Dyuv420_odd_dim.cpp46 auto imageHelper = sk_gpu_test::LazyYUVImage::Make(stream.detachAsData()); in make_image()
50 return imageHelper->refImage(rContext, sk_gpu_test::LazyYUVImage::Type::kFromPixmaps); in make_image()
Dasyncrescaleandread.cpp109 auto lazyYUVImage = sk_gpu_test::LazyYUVImage::Make(pixmaps); in do_read_and_scale_yuv()
111 return lazyYUVImage->refImage(direct, sk_gpu_test::LazyYUVImage::Type::kFromTextures); in do_read_and_scale_yuv()
Dwacky_yuv_formats.cpp763 using Type = sk_gpu_test::LazyYUVImage::Type;
848 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(std::move(pixmaps)); in createImages()
1051 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(yuvaPixmaps, in createImages()
1055 lazyYUV->refImage(context, sk_gpu_test::LazyYUVImage::Type::kFromTextures); in createImages()
Dcompositor_quads.cpp901 sk_gpu_test::LazyYUVImage::Type::kFromPixmaps); in drawTiles()
946 std::unique_ptr<sk_gpu_test::LazyYUVImage> fYUVData;
954 : fYUVData(sk_gpu_test::LazyYUVImage::Make(std::move(jpegData))) in YUVTextureSetRenderer()
/third_party/flutter/skia/gm/
Dcompositor_quads.cpp946 std::unique_ptr<sk_gpu_test::LazyYUVImage> fYUVData;
954 : fYUVData(sk_gpu_test::LazyYUVImage::Make(std::move(jpegData))) in YUVTextureSetRenderer()