/external/skia/src/core/ |
D | SkImageGenerator.cpp | 12 SkImageGenerator::SkImageGenerator(const SkImageInfo& info, uint32_t uniqueID) in SkImageGenerator() function in SkImageGenerator 17 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in getPixels() 36 bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) { in getPixels() 40 bool SkImageGenerator::queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() 46 bool SkImageGenerator::getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() 67 sk_sp<GrTextureProxy> SkImageGenerator::generateTexture(GrContext* ctx, const SkImageInfo& info, in generateTexture() 77 sk_sp<GrTextureProxy> SkImageGenerator::onGenerateTexture(GrContext*, const SkImageInfo&, in onGenerateTexture() 101 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncoded(sk_sp<SkData> data) { in MakeFromEncoded() 106 if (std::unique_ptr<SkImageGenerator> generator = gFactory(data)) { in MakeFromEncoded() 110 return SkImageGenerator::MakeFromEncodedImpl(std::move(data)); in MakeFromEncoded()
|
D | SkColorSpaceXformImageGenerator.h | 14 class SkColorSpaceXformImageGenerator : public SkImageGenerator { 17 static std::unique_ptr<SkImageGenerator> Make( 36 static std::unique_ptr<SkImageGenerator> Make( 42 typedef SkImageGenerator INHERITED;
|
D | SkPictureImageGenerator.h | 13 class SkPictureImageGenerator : public SkImageGenerator { 15 static std::unique_ptr<SkImageGenerator> Make(const SkISize&, sk_sp<SkPicture>, const SkMatrix*, 37 typedef SkImageGenerator INHERITED;
|
D | SkPictureImageGenerator.cpp | 18 std::unique_ptr<SkImageGenerator> 41 return std::unique_ptr<SkImageGenerator>( in Make() 86 std::unique_ptr<SkImageGenerator> 87 SkImageGenerator::MakeFromPicture(const SkISize& size, sk_sp<SkPicture> picture, in MakeFromPicture()
|
D | SkColorSpaceXformImageGenerator.cpp | 10 std::unique_ptr<SkImageGenerator> SkColorSpaceXformImageGenerator::Make( in Make() 15 std::unique_ptr<SkImageGenerator> SkColorSpaceXformImageGenerator::Make( in Make() 34 return std::unique_ptr<SkImageGenerator>( in Make()
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 27 class SK_API SkImageGenerator : public SkNoncopyable { 33 virtual ~SkImageGenerator() { } in ~SkImageGenerator() 154 static std::unique_ptr<SkImageGenerator> MakeFromEncoded(sk_sp<SkData>); 161 static std::unique_ptr<SkImageGenerator> MakeFromPicture(const SkISize&, sk_sp<SkPicture>, 171 SkImageGenerator(const SkImageInfo& info, uint32_t uniqueId = kNeedNewImageUniqueID); 200 static std::unique_ptr<SkImageGenerator> MakeFromEncodedImpl(sk_sp<SkData>);
|
D | SkGraphics.h | 14 class SkImageGenerator; variable 184 typedef std::unique_ptr<SkImageGenerator>
|
D | SkColorTable.h | 73 friend class SkImageGenerator; variable
|
/external/skia/gm/ |
D | image_pict.cpp | 110 static std::unique_ptr<SkImageGenerator> make_pic_generator(GrContext*, sk_sp<SkPicture> pic) { 113 return SkImageGenerator::MakeFromPicture({ 100, 100 }, std::move(pic), &matrix, nullptr, 118 class RasterGenerator : public SkImageGenerator { 120 RasterGenerator(const SkBitmap& bm) : SkImageGenerator(bm.info()), fBM(bm) in RasterGenerator() 133 static std::unique_ptr<SkImageGenerator> make_ras_generator(GrContext*, sk_sp<SkPicture> pic) { in make_ras_generator() 143 class EmptyGenerator : public SkImageGenerator { 145 EmptyGenerator(const SkImageInfo& info) : SkImageGenerator(info) {} in EmptyGenerator() 149 class TextureGenerator : public SkImageGenerator { 152 : SkImageGenerator(info) in TextureGenerator() 210 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrContext* ctx, sk_sp<SkPicture> pic) { in make_tex_generator() [all …]
|
D | imagemasksubset.cpp | 27 class MaskGenerator final : public SkImageGenerator { 43 typedef SkImageGenerator INHERITED;
|
D | xform_image_gen.cpp | 33 std::unique_ptr<SkImageGenerator> gen = SkColorSpaceXformImageGenerator::Make( in onDraw()
|
/external/skia/tests/ |
D | ImageGeneratorTest.cpp | 16 static std::unique_ptr<SkImageGenerator> my_factory(sk_sp<SkData>) { in my_factory() 29 std::unique_ptr<SkImageGenerator> gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory() 35 gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory() 41 class MyImageGenerator : public SkImageGenerator { 43 MyImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(0, 0)) {} in MyImageGenerator() 100 auto gen = SkImageGenerator::MakeFromPicture({100, 100}, picture, nullptr, nullptr, in DEF_TEST()
|
D | CachedDecodingPixelRefTest.cpp | 22 class TestImageGenerator : public SkImageGenerator { 84 typedef SkImageGenerator INHERITED;
|
/external/skia/src/ports/ |
D | SkImageGeneratorCG.h | 16 class SkImageGeneratorCG : public SkImageGenerator { 22 static SkImageGenerator* NewFromEncodedCG(SkData* data); 40 typedef SkImageGenerator INHERITED;
|
D | SkImageGeneratorWIC.h | 33 class SkImageGeneratorWIC : public SkImageGenerator { 39 static SkImageGenerator* NewFromEncodedWIC(SkData* data); 60 typedef SkImageGenerator INHERITED;
|
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/codec/ |
D | SkCodecImageGenerator.h | 15 class SkCodecImageGenerator : public SkImageGenerator { 21 static std::unique_ptr<SkImageGenerator> MakeFromEncodedCodec(sk_sp<SkData>); 43 typedef SkImageGenerator INHERITED;
|
D | SkCodecImageGenerator.cpp | 11 std::unique_ptr<SkImageGenerator> SkCodecImageGenerator::MakeFromEncodedCodec(sk_sp<SkData> data) { in MakeFromEncodedCodec() 17 return std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(codec, data)); in MakeFromEncodedCodec()
|
/external/skia/src/gpu/ |
D | GrAHardwareBufferImageGenerator.h | 25 class GrAHardwareBufferImageGenerator : public SkImageGenerator { 27 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType, 53 typedef SkImageGenerator INHERITED;
|
D | GrBackendTextureImageGenerator.h | 17 class GrBackendTextureImageGenerator : public SkImageGenerator { 19 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, sk_sp<GrSemaphore>, 70 typedef SkImageGenerator INHERITED;
|
D | GrBackendTextureImageGenerator.cpp | 56 std::unique_ptr<SkImageGenerator> 84 return std::unique_ptr<SkImageGenerator>(new GrBackendTextureImageGenerator( in Make()
|
D | GrAHardwareBufferImageGenerator.cpp | 44 std::unique_ptr<SkImageGenerator> GrAHardwareBufferImageGenerator::Make( in Make() 64 … return std::unique_ptr<SkImageGenerator>(new GrAHardwareBufferImageGenerator(info, graphicBuffer, in Make()
|
/external/skia/src/image/ |
D | SkImage_Lazy.cpp | 35 static sk_sp<SharedGenerator> Make(std::unique_ptr<SkImageGenerator> gen) { in Make() 43 explicit SharedGenerator(std::unique_ptr<SkImageGenerator> gen) in SharedGenerator() 51 std::unique_ptr<SkImageGenerator> fGenerator; 220 SkImageGenerator* operator->() const { in operator ->() 225 operator SkImageGenerator*() const { in operator SkImageGenerator*() 436 SkImageGenerator::Options opts; in directGeneratePixels() 451 static bool generate_pixels(SkImageGenerator* gen, const SkPixmap& pmap, int originX, int originY, in generate_pixels() 476 SkImageGenerator::Options opts; in generate_pixels() 588 return SkImageGenerator::TexGenType::kNone != generator->onCanGenerateTexture(); in onCanLazyGenerateOnGPU() 657 sk_sp<SkImage> SkImage::MakeFromGenerator(std::unique_ptr<SkImageGenerator> generator, in MakeFromGenerator() [all …]
|
/external/skia/tools/ |
D | Resources.cpp | 32 std::unique_ptr<SkImageGenerator> gen(SkImageGenerator::MakeFromEncoded(resourceData)); in GetResourceAsBitmap()
|