/third_party/skia/include/core/ |
D | SkImageGenerator.h | 28 class SK_API SkImageGenerator { 34 virtual ~SkImageGenerator() { } in ~SkImageGenerator() 156 static std::unique_ptr<SkImageGenerator> MakeFromEncoded(sk_sp<SkData>); 163 static std::unique_ptr<SkImageGenerator> MakeFromPicture(const SkISize&, sk_sp<SkPicture>, 171 SkImageGenerator(const SkImageInfo& info, uint32_t uniqueId = kNeedNewImageUniqueID); 195 static std::unique_ptr<SkImageGenerator> MakeFromEncodedImpl(sk_sp<SkData>); 197 SkImageGenerator(SkImageGenerator&&) = delete; 198 SkImageGenerator(const SkImageGenerator&) = delete; 199 SkImageGenerator& operator=(SkImageGenerator&&) = delete; 200 SkImageGenerator& operator=(const SkImageGenerator&) = delete;
|
/third_party/flutter/skia/include/core/ |
D | SkImageGenerator.h | 27 class SK_API SkImageGenerator { 33 virtual ~SkImageGenerator() { } in ~SkImageGenerator() 152 static std::unique_ptr<SkImageGenerator> MakeFromEncoded(sk_sp<SkData>); 159 static std::unique_ptr<SkImageGenerator> MakeFromPicture(const SkISize&, sk_sp<SkPicture>, 167 SkImageGenerator(const SkImageInfo& info, uint32_t uniqueId = kNeedNewImageUniqueID); 199 static std::unique_ptr<SkImageGenerator> MakeFromEncodedImpl(sk_sp<SkData>); 201 SkImageGenerator(SkImageGenerator&&) = delete; 202 SkImageGenerator(const SkImageGenerator&) = delete; 203 SkImageGenerator& operator=(SkImageGenerator&&) = delete; 204 SkImageGenerator& operator=(const SkImageGenerator&) = delete;
|
/third_party/skia/src/core/ |
D | SkImageGenerator.cpp | 13 SkImageGenerator::SkImageGenerator(const SkImageInfo& info, uint32_t uniqueID) in SkImageGenerator() function in SkImageGenerator 18 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() 33 bool SkImageGenerator::queryYUVAInfo(const SkYUVAPixmapInfo::SupportedDataTypes& supportedDataTypes, in queryYUVAInfo() 41 bool SkImageGenerator::getYUVAPlanes(const SkYUVAPixmaps& yuvaPixmaps) { in getYUVAPlanes() 48 GrSurfaceProxyView SkImageGenerator::generateTexture(GrRecordingContext* ctx, in generateTexture() 60 GrSurfaceProxyView SkImageGenerator::onGenerateTexture(GrRecordingContext*, in onGenerateTexture() 86 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncoded(sk_sp<SkData> data) { in MakeFromEncoded() 91 if (std::unique_ptr<SkImageGenerator> generator = gFactory(data)) { in MakeFromEncoded() 95 return SkImageGenerator::MakeFromEncodedImpl(std::move(data)); in MakeFromEncoded()
|
D | SkPictureImageGenerator.cpp | 17 class SkPictureImageGenerator : public SkImageGenerator { 36 using INHERITED = SkImageGenerator; 41 std::unique_ptr<SkImageGenerator> 42 SkImageGenerator::MakeFromPicture(const SkISize& size, sk_sp<SkPicture> picture, in MakeFromPicture() 56 return std::unique_ptr<SkImageGenerator>( in MakeFromPicture()
|
/third_party/flutter/skia/src/core/ |
D | SkImageGenerator.cpp | 13 SkImageGenerator::SkImageGenerator(const SkImageInfo& info, uint32_t uniqueID) in SkImageGenerator() function in SkImageGenerator 18 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() 33 bool SkImageGenerator::queryYUVA8(SkYUVASizeInfo* sizeInfo, in queryYUVA8() 41 bool SkImageGenerator::getYUVA8Planes(const SkYUVASizeInfo& sizeInfo, in getYUVA8Planes() 64 sk_sp<GrTextureProxy> SkImageGenerator::generateTexture(GrRecordingContext* ctx, in generateTexture() 75 sk_sp<GrTextureProxy> SkImageGenerator::onGenerateTexture(GrRecordingContext*, in onGenerateTexture() 100 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncoded(sk_sp<SkData> data) { in MakeFromEncoded() 105 if (std::unique_ptr<SkImageGenerator> generator = gFactory(data)) { in MakeFromEncoded() 109 return SkImageGenerator::MakeFromEncodedImpl(std::move(data)); in MakeFromEncoded()
|
D | SkPictureImageGenerator.cpp | 18 class SkPictureImageGenerator : public SkImageGenerator { 38 typedef SkImageGenerator INHERITED; 43 std::unique_ptr<SkImageGenerator> 44 SkImageGenerator::MakeFromPicture(const SkISize& size, sk_sp<SkPicture> picture, in MakeFromPicture() 58 return std::unique_ptr<SkImageGenerator>( in MakeFromPicture()
|
/third_party/skia/tests/ |
D | ImageGeneratorTest.cpp | 24 static std::unique_ptr<SkImageGenerator> my_factory(sk_sp<SkData>) { in my_factory() 37 std::unique_ptr<SkImageGenerator> gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory() 43 gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory() 57 class MyImageGenerator : public SkImageGenerator { 59 MyImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(0, 0)) {} in MyImageGenerator() 113 auto gen = SkImageGenerator::MakeFromPicture({100, 100}, picture, nullptr, nullptr, in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | ImageGeneratorTest.cpp | 25 static std::unique_ptr<SkImageGenerator> my_factory(sk_sp<SkData>) { in my_factory() 38 std::unique_ptr<SkImageGenerator> gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory() 44 gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory() 58 class MyImageGenerator : public SkImageGenerator { 60 MyImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(0, 0)) {} in MyImageGenerator() 128 auto gen = SkImageGenerator::MakeFromPicture({100, 100}, picture, nullptr, nullptr, in DEF_TEST()
|
/third_party/flutter/skia/gm/ |
D | image_pict.cpp | 129 static std::unique_ptr<SkImageGenerator> make_pic_generator(GrContext*, sk_sp<SkPicture> pic) { 132 return SkImageGenerator::MakeFromPicture({ 100, 100 }, std::move(pic), &matrix, nullptr, 137 class RasterGenerator : public SkImageGenerator { 139 RasterGenerator(const SkBitmap& bm) : SkImageGenerator(bm.info()), fBM(bm) in RasterGenerator() 152 static std::unique_ptr<SkImageGenerator> make_ras_generator(GrContext*, sk_sp<SkPicture> pic) { in make_ras_generator() 162 class EmptyGenerator : public SkImageGenerator { 164 EmptyGenerator(const SkImageInfo& info) : SkImageGenerator(info) {} in EmptyGenerator() 167 class TextureGenerator : public SkImageGenerator { 170 : SkImageGenerator(info) in TextureGenerator() 211 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrContext* ctx, sk_sp<SkPicture> pic) { in make_tex_generator() [all …]
|
/third_party/flutter/skia/src/codec/ |
D | SkCodecImageGenerator.h | 14 class SkCodecImageGenerator : public SkImageGenerator { 20 static std::unique_ptr<SkImageGenerator> MakeFromEncodedCodec(sk_sp<SkData>); 22 static std::unique_ptr<SkImageGenerator> MakeFromCodec(std::unique_ptr<SkCodec>); 45 typedef SkImageGenerator INHERITED;
|
D | SkCodecImageGenerator.cpp | 13 std::unique_ptr<SkImageGenerator> SkCodecImageGenerator::MakeFromEncodedCodec(sk_sp<SkData> data) { in MakeFromEncodedCodec() 19 return std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(std::move(codec), data)); in MakeFromEncodedCodec() 22 std::unique_ptr<SkImageGenerator> 25 ? std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(std::move(codec), nullptr)) in MakeFromCodec()
|
/third_party/skia/src/codec/ |
D | SkCodecImageGenerator.h | 14 class SkCodecImageGenerator : public SkImageGenerator { 20 static std::unique_ptr<SkImageGenerator> MakeFromEncodedCodec(sk_sp<SkData>); 22 static std::unique_ptr<SkImageGenerator> MakeFromCodec(std::unique_ptr<SkCodec>); 115 using INHERITED = SkImageGenerator;
|
D | SkCodecImageGenerator.cpp | 12 std::unique_ptr<SkImageGenerator> SkCodecImageGenerator::MakeFromEncodedCodec(sk_sp<SkData> data) { in MakeFromEncodedCodec() 18 return std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(std::move(codec), data)); in MakeFromEncodedCodec() 21 std::unique_ptr<SkImageGenerator> 24 ? std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(std::move(codec), nullptr)) in MakeFromCodec()
|
/third_party/skia/gm/ |
D | image_pict.cpp | 129 static std::unique_ptr<SkImageGenerator> make_pic_generator(GrDirectContext*, 133 return SkImageGenerator::MakeFromPicture({ 100, 100 }, std::move(pic), &matrix, nullptr, 138 class RasterGenerator : public SkImageGenerator { 140 RasterGenerator(const SkBitmap& bm) : SkImageGenerator(bm.info()), fBM(bm) in RasterGenerator() 153 static std::unique_ptr<SkImageGenerator> make_ras_generator(GrDirectContext*, in make_ras_generator() 164 class TextureGenerator : public SkImageGenerator { 167 : SkImageGenerator(info) in TextureGenerator() 210 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrDirectContext* dContext, in make_tex_generator() 222 typedef std::unique_ptr<SkImageGenerator> (*FactoryFunc)(GrDirectContext*, sk_sp<SkPicture>);
|
/third_party/skia/src/gpu/ |
D | GrAHardwareBufferImageGenerator.h | 32 class GrAHardwareBufferImageGenerator : public SkImageGenerator { 34 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType, 63 using INHERITED = SkImageGenerator;
|
D | GrBackendTextureImageGenerator.h | 31 class GrBackendTextureImageGenerator : public SkImageGenerator { 33 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 94 using INHERITED = SkImageGenerator;
|
/third_party/flutter/skia/src/gpu/ |
D | GrAHardwareBufferImageGenerator.h | 31 class GrAHardwareBufferImageGenerator : public SkImageGenerator { 33 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType, 63 typedef SkImageGenerator INHERITED;
|
D | GrBackendTextureImageGenerator.h | 29 class GrBackendTextureImageGenerator : public SkImageGenerator { 31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 85 typedef SkImageGenerator INHERITED;
|
/third_party/flutter/skia/src/image/ |
D | SkImage_Lazy.cpp | 34 static sk_sp<SharedGenerator> Make(std::unique_ptr<SkImageGenerator> gen) { in Make() 42 explicit SharedGenerator(std::unique_ptr<SkImageGenerator> gen) in SharedGenerator() 50 std::unique_ptr<SkImageGenerator> fGenerator; 108 SkImageGenerator* operator->() const { in operator ->() 113 operator SkImageGenerator*() const { in operator SkImageGenerator*() 144 static bool generate_pixels(SkImageGenerator* gen, const SkPixmap& pmap, int originX, int originY) { in generate_pixels() 300 sk_sp<SkImage> SkImage::MakeFromGenerator(std::unique_ptr<SkImageGenerator> generator, in MakeFromGenerator() 310 auto gen = SkImageGenerator::MakeFromEncoded(SkData::MakeWithoutCopy(encoded, length)); in DecodeToRaster() 361 Generator_GrYUVProvider(SkImageGenerator* gen) : fGen(gen) {} in Generator_GrYUVProvider() 376 SkImageGenerator* fGen; [all …]
|
/third_party/skia/src/ports/ |
D | SkImageGeneratorCG.cpp | 26 class ImageGeneratorCG : public SkImageGenerator { 41 using INHERITED = SkImageGenerator; 56 std::unique_ptr<SkImageGenerator> SkImageGeneratorCG::MakeFromEncodedCG(sk_sp<SkData> data) { in MakeFromEncodedCG() 103 return std::unique_ptr<SkImageGenerator>(new ImageGeneratorCG(info, std::move(imageSrc), in MakeFromEncodedCG()
|
D | SkImageGenerator_none.cpp | 10 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData>) { in MakeFromEncodedImpl()
|
D | SkImageGenerator_skia.cpp | 11 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData> data) { in MakeFromEncodedImpl()
|
/third_party/flutter/skia/src/ports/ |
D | SkImageGeneratorCG.cpp | 26 class ImageGeneratorCG : public SkImageGenerator { 41 typedef SkImageGenerator INHERITED; 56 std::unique_ptr<SkImageGenerator> SkImageGeneratorCG::MakeFromEncodedCG(sk_sp<SkData> data) { in MakeFromEncodedCG() 103 return std::unique_ptr<SkImageGenerator>(new ImageGeneratorCG(info, std::move(imageSrc), in MakeFromEncodedCG()
|
D | SkImageGenerator_none.cpp | 10 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData>) { in MakeFromEncodedImpl()
|
D | SkImageGenerator_skia.cpp | 11 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData> data) { in MakeFromEncodedImpl()
|