Home
last modified time | relevance | path

Searched refs:SkImageGenerator (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/src/core/
DSkImageGenerator.cpp12 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()
DSkColorSpaceXformImageGenerator.h14 class SkColorSpaceXformImageGenerator : public SkImageGenerator {
17 static std::unique_ptr<SkImageGenerator> Make(
36 static std::unique_ptr<SkImageGenerator> Make(
42 typedef SkImageGenerator INHERITED;
DSkPictureImageGenerator.h13 class SkPictureImageGenerator : public SkImageGenerator {
15 static std::unique_ptr<SkImageGenerator> Make(const SkISize&, sk_sp<SkPicture>, const SkMatrix*,
37 typedef SkImageGenerator INHERITED;
DSkPictureImageGenerator.cpp18 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()
DSkColorSpaceXformImageGenerator.cpp10 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/
DSkImageGenerator.h27 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>);
DSkGraphics.h14 class SkImageGenerator; variable
184 typedef std::unique_ptr<SkImageGenerator>
DSkColorTable.h73 friend class SkImageGenerator; variable
/external/skia/gm/
Dimage_pict.cpp110 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 …]
Dimagemasksubset.cpp27 class MaskGenerator final : public SkImageGenerator {
43 typedef SkImageGenerator INHERITED;
Dxform_image_gen.cpp33 std::unique_ptr<SkImageGenerator> gen = SkColorSpaceXformImageGenerator::Make( in onDraw()
/external/skia/tests/
DImageGeneratorTest.cpp16 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()
DCachedDecodingPixelRefTest.cpp22 class TestImageGenerator : public SkImageGenerator {
84 typedef SkImageGenerator INHERITED;
/external/skia/src/ports/
DSkImageGeneratorCG.h16 class SkImageGeneratorCG : public SkImageGenerator {
22 static SkImageGenerator* NewFromEncodedCG(SkData* data);
40 typedef SkImageGenerator INHERITED;
DSkImageGeneratorWIC.h33 class SkImageGeneratorWIC : public SkImageGenerator {
39 static SkImageGenerator* NewFromEncodedWIC(SkData* data);
60 typedef SkImageGenerator INHERITED;
DSkImageGenerator_none.cpp10 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData>) { in MakeFromEncodedImpl()
DSkImageGenerator_skia.cpp11 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData> data) { in MakeFromEncodedImpl()
/external/skia/src/codec/
DSkCodecImageGenerator.h15 class SkCodecImageGenerator : public SkImageGenerator {
21 static std::unique_ptr<SkImageGenerator> MakeFromEncodedCodec(sk_sp<SkData>);
43 typedef SkImageGenerator INHERITED;
DSkCodecImageGenerator.cpp11 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/
DGrAHardwareBufferImageGenerator.h25 class GrAHardwareBufferImageGenerator : public SkImageGenerator {
27 static std::unique_ptr<SkImageGenerator> Make(AHardwareBuffer*, SkAlphaType,
53 typedef SkImageGenerator INHERITED;
DGrBackendTextureImageGenerator.h17 class GrBackendTextureImageGenerator : public SkImageGenerator {
19 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, sk_sp<GrSemaphore>,
70 typedef SkImageGenerator INHERITED;
DGrBackendTextureImageGenerator.cpp56 std::unique_ptr<SkImageGenerator>
84 return std::unique_ptr<SkImageGenerator>(new GrBackendTextureImageGenerator( in Make()
DGrAHardwareBufferImageGenerator.cpp44 std::unique_ptr<SkImageGenerator> GrAHardwareBufferImageGenerator::Make( in Make()
64 … return std::unique_ptr<SkImageGenerator>(new GrAHardwareBufferImageGenerator(info, graphicBuffer, in Make()
/external/skia/src/image/
DSkImage_Lazy.cpp35 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/
DResources.cpp32 std::unique_ptr<SkImageGenerator> gen(SkImageGenerator::MakeFromEncoded(resourceData)); in GetResourceAsBitmap()

12