/external/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;
|
/external/skqp/include/core/ |
D | SkImageGenerator.h | 28 class SK_API SkImageGenerator { 34 virtual ~SkImageGenerator() { } in ~SkImageGenerator() 153 static std::unique_ptr<SkImageGenerator> MakeFromEncoded(sk_sp<SkData>); 160 static std::unique_ptr<SkImageGenerator> MakeFromPicture(const SkISize&, sk_sp<SkPicture>, 168 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;
|
/external/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 | 18 class SkPictureImageGenerator : public SkImageGenerator { 37 using INHERITED = SkImageGenerator; 42 std::unique_ptr<SkImageGenerator> 43 SkImageGenerator::MakeFromPicture(const SkISize& size, sk_sp<SkPicture> picture, in MakeFromPicture() 57 return std::unique_ptr<SkImageGenerator>( in MakeFromPicture()
|
/external/skqp/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(GrContext* ctx, const SkImageInfo& info, in generateTexture() 74 sk_sp<GrTextureProxy> SkImageGenerator::onGenerateTexture(GrContext*, const SkImageInfo&, in onGenerateTexture() 98 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncoded(sk_sp<SkData> data) { in MakeFromEncoded() 103 if (std::unique_ptr<SkImageGenerator> generator = gFactory(data)) { in MakeFromEncoded() 107 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()
|
/external/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()
|
/external/skqp/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()
|
/external/skqp/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()
|
/external/skqp/gm/ |
D | image_pict.cpp | 108 static std::unique_ptr<SkImageGenerator> make_pic_generator(GrContext*, sk_sp<SkPicture> pic) { 111 return SkImageGenerator::MakeFromPicture({ 100, 100 }, std::move(pic), &matrix, nullptr, 116 class RasterGenerator : public SkImageGenerator { 118 RasterGenerator(const SkBitmap& bm) : SkImageGenerator(bm.info()), fBM(bm) in RasterGenerator() 131 static std::unique_ptr<SkImageGenerator> make_ras_generator(GrContext*, sk_sp<SkPicture> pic) { in make_ras_generator() 141 class EmptyGenerator : public SkImageGenerator { 143 EmptyGenerator(const SkImageInfo& info) : SkImageGenerator(info) {} in EmptyGenerator() 146 class TextureGenerator : public SkImageGenerator { 149 : SkImageGenerator(info) in TextureGenerator() 208 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrContext* ctx, sk_sp<SkPicture> pic) { in make_tex_generator() [all …]
|
/external/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()
|
/external/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;
|
/external/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>);
|
/external/skqp/src/gpu/ |
D | GrAHardwareBufferImageGenerator.h | 31 class GrAHardwareBufferImageGenerator : public SkImageGenerator { 33 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType, 70 typedef SkImageGenerator INHERITED;
|
D | GrBackendTextureImageGenerator.h | 29 class GrBackendTextureImageGenerator : public SkImageGenerator { 31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 92 typedef SkImageGenerator INHERITED;
|
/external/skqp/src/image/ |
D | SkImage_Lazy.cpp | 33 static sk_sp<SharedGenerator> Make(std::unique_ptr<SkImageGenerator> gen) { in Make() 41 explicit SharedGenerator(std::unique_ptr<SkImageGenerator> gen) in SharedGenerator() 49 std::unique_ptr<SkImageGenerator> fGenerator; 107 SkImageGenerator* operator->() const { in operator ->() 112 operator SkImageGenerator*() const { in operator SkImageGenerator*() 144 static bool generate_pixels(SkImageGenerator* gen, const SkPixmap& pmap, int originX, int originY) { in generate_pixels() 280 sk_sp<SkImage> SkImage::MakeFromGenerator(std::unique_ptr<SkImageGenerator> generator, in MakeFromGenerator() 303 Generator_GrYUVProvider(SkImageGenerator* gen) : fGen(gen) {} in Generator_GrYUVProvider() 318 SkImageGenerator* fGen; 411 SkImageGenerator::TexGenType::kCheap != generator->onCanGenerateTexture()) { in lockTextureProxy()
|
/external/skqp/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()
|
/external/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()
|