Searched refs:LazyYUVImage (Results 1 – 11 of 11) sorted by relevance
/third_party/flutter/skia/tools/gpu/ |
D | YUVUtils.cpp | 17 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()
|
D | YUVUtils.h | 24 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/ |
D | YUVUtils.cpp | 189 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()
|
D | YUVUtils.h | 36 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/ |
D | ducky_yuv_blend.cpp | 31 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(GetResourceAsData("images/ducky.jpg"), 34 duckyFG[1] = lazyYUV->refImage(rContext, sk_gpu_test::LazyYUVImage::Type::kFromPixmaps);
|
D | imagefromyuvtextures.cpp | 48 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;
|
D | yuv420_odd_dim.cpp | 46 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()
|
D | asyncrescaleandread.cpp | 109 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()
|
D | wacky_yuv_formats.cpp | 763 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()
|
D | compositor_quads.cpp | 901 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/ |
D | compositor_quads.cpp | 946 std::unique_ptr<sk_gpu_test::LazyYUVImage> fYUVData; 954 : fYUVData(sk_gpu_test::LazyYUVImage::Make(std::move(jpegData))) in YUVTextureSetRenderer()
|