/external/skia/src/pdf/ |
SkPDFBitmap.h | 12 class SkImage; 15 * SkPDFBitmap wraps a SkImage and serializes it as an image Xobject. 19 SkPDFObject* SkPDFCreateBitmapObject(const SkImage*, SkPixelSerializer*);
|
SkPDFCanon.h | 19 class SkImage; 78 SkPDFObject* findPDFBitmap(const SkImage* image) const; 80 const SkImage* bitmapToImage(const SkBitmap&); 117 SkTHashMap<SkBitmapKey, const SkImage*> fBitmapToImageMap;
|
/external/skia/src/utils/ |
SkRGBAToYUV.h | 14 class SkImage; 18 bool SkRGBAToYUV(const SkImage*, const SkISize [3], void* const planes[3],
|
SkImageGeneratorUtils.h | 13 class SkImage; 26 static SkImageGenerator* NewFromImage(const SkImage*);
|
SkBitmapSourceDeserializer.cpp | 12 #include "SkImage.h" 32 SkAutoTUnref<SkImage> image(SkImage::NewFromBitmap(bitmap));
|
/external/skia/src/image/ |
SkImagePriv.h | 11 #include "SkImage.h" 15 extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*, 41 extern SkImage* SkNewImageFromRasterBitmap(const SkBitmap&, ForceCopyMode = kNo_ForceCopyMode); 46 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage); 52 extern void SkTextureImageApplyBudgetedDecision(SkImage* textureImage); 57 extern void SkTextureImageSetTexture(SkImage* image, GrTexture* texture);
|
SkImage.cpp | 30 SkImage::SkImage(int width, int height, uint32_t uniqueID) 39 const void* SkImage::peekPixels(SkImageInfo* info, size_t* rowBytes) const { 51 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 60 bool SkImage::scalePixels(const SkPixmap& dst, SkFilterQuality quality, CachingHint chint) const { 81 void SkImage::preroll(GrContext* ctx) const { 94 SkShader* SkImage::newShader(SkShader::TileMode tileX, 100 SkData* SkImage::encode(SkImageEncoder::Type type, int quality) const { 108 SkData* SkImage::encode(SkPixelSerializer* serializer) const { 130 SkData* SkImage::refEncoded() const [all...] |
SkImageShader.h | 11 #include "SkImage.h" 16 static SkShader* Create(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix); 33 SkAutoTUnref<const SkImage> fImage; 38 SkImageShader(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
|
SkImage_Base.h | 12 #include "SkImage.h" 24 class SkImage_Base : public SkImage { 49 virtual SkImage* onNewSubset(const SkIRect&) const = 0; 65 // to know automatically those entries can be purged when this SkImage deleted. 74 typedef SkImage INHERITED; 77 static inline SkImage_Base* as_IB(SkImage* image) { 81 static inline const SkImage_Base* as_IB(const SkImage* image) {
|
SkSurface_Base.h | 41 * Allocate an SkImage that represents the current contents of the surface. 46 virtual SkImage* onNewImageSnapshot(SkBudgeted, ForceCopyMode) = 0; 84 inline SkImage* refCachedImage(SkBudgeted, ForceUnique); 93 SkImage* fCachedImage; 117 SkImage* SkSurface_Base::refCachedImage(SkBudgeted budgeted, ForceUnique unique) { 118 SkImage* snap = fCachedImage;
|
/external/skia/src/core/ |
SkImageCacherator.h | 19 class SkImage; 39 bool lockAsBitmap(SkBitmap*, const SkImage* client, 40 SkImage::CachingHint = SkImage::kAllow_CachingHint); 51 GrTexture* lockAsTexture(GrContext*, const GrTextureParams&, const SkImage* client, 52 SkImage::CachingHint = SkImage::kAllow_CachingHint); 73 bool tryLockAsBitmap(SkBitmap*, const SkImage*, SkImage::CachingHint); 77 GrTexture* lockTexture(GrContext*, const GrUniqueKey& key, const SkImage* client [all...] |
SkPaintPriv.h | 14 class SkImage; 47 static bool Overwrites(const SkImage*, const SkPaint* paint);
|
SkBitmapProvider.h | 12 #include "SkImage.h" 18 explicit SkBitmapProvider(const SkImage* img) : fImage(SkSafeRef(img)) {} 42 SkAutoTUnref<const SkImage> fImage;
|
/external/skia/include/effects/ |
SkImageSource.h | 13 class SkImage; 17 static SkImageFilter* Create(const SkImage*); 18 static SkImageFilter* Create(const SkImage*, 35 explicit SkImageSource(const SkImage*); 36 SkImageSource(const SkImage*, 41 SkAutoTUnref<const SkImage> fImage;
|
/external/skia/tests/ |
ImageFrom565Bitmap.cpp | 10 #include "SkImage.h" 19 SkAutoTUnref<SkImage> img(SkImage::NewFromBitmap(bm));
|
ImageTest.cpp | 27 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, const SkIRect* subsetA, 28 SkImage* b) { 64 static SkImage* create_image() { 82 static SkImage* create_data_image() { 85 return SkImage::NewRasterData(info, data, info.minRowBytes()); 88 static SkImage* create_picture_image() { 93 return SkImage::NewFromPicture(picture, SkISize::Make(10, 10), nullptr, nullptr); 107 static SkImage* create_rasterproc_image(RasterDataHolder* dataHolder) { 112 return SkImage::NewFromRaster(info, data->data(), info.minRowBytes(), 115 static SkImage* create_codec_image() [all...] |
FlattenableFactoryToName.cpp | 9 #include "SkImage.h" 38 SkAutoTUnref<SkImage> image(SkImage::NewFromBitmap(bm)); 41 test_flattenable(r, shader, "SkImage::newShader()");
|
/external/skia/tools/ |
Resources.h | 14 class SkImage; 22 SkImage* GetResourceAsImage(const char* resource);
|
/external/skia/include/core/ |
SkImage.h | 31 * SkImage is an abstraction for drawing a rectagle of pixels, though the 36 * The content of SkImage is always immutable, though the actual storage may 40 * SkImage always has a non-zero dimensions. If there is a request to create a new image, either 44 class SK_API SkImage : public SkRefCnt { 49 static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes, 51 static SkImage* NewRasterData(const Info&, SkData* pixels, size_t rowBytes); 62 static SkImage* NewFromRaster(const Info&, const void* pixels, size_t rowBytes, 69 static SkImage* NewFromBitmap(const SkBitmap&); 72 * Construct a new SkImage based on the given ImageGenerator. 78 static SkImage* NewFromGenerator(SkImageGenerator*, const SkIRect* subset = NULL) [all...] |
/external/skia/gm/ |
grayscalejpg.cpp | 9 #include "SkImage.h" 18 SkAutoTUnref<SkImage> image(GetResourceAsImage(kResource));
|
image_shader.cpp | 11 #include "SkImage.h" 27 typedef SkImage* (*ImageMakerProc)(GrContext*, const SkPicture*, const SkImageInfo&); 29 static SkImage* make_raster(GrContext*, const SkPicture* pic, const SkImageInfo& info) { 36 static SkImage* make_texture(GrContext* ctx, const SkPicture* pic, const SkImageInfo& info) { 47 static SkImage* make_pict_gen(GrContext*, const SkPicture* pic, const SkImageInfo& info) { 48 return SkImage::NewFromPicture(pic, info.dimensions(), nullptr, nullptr); 51 static SkImage* make_encode_gen(GrContext* ctx, const SkPicture* pic, const SkImageInfo& info) { 52 SkAutoTUnref<SkImage> src(make_raster(ctx, pic, info)); 60 return SkImage::NewFromEncoded(encoded); 96 void testImage(SkCanvas* canvas, SkImage* image) [all...] |
image.cpp | 28 SkImage* image = SkImage::NewFromEncoded(data); 60 SkImage* imgR = surf->newImageSnapshot(); 63 SkImage* imgR2 = surf->newImageSnapshot(); 69 SkImage* imgG = surf->newImageSnapshot(); 207 static void show_scaled_pixels(SkCanvas* canvas, SkImage* image) { 217 const SkImage::CachingHint chints[] = { 218 SkImage::kAllow_CachingHint, SkImage::kDisallow_CachingHint, 244 static SkImage* make_raster(const SkImageInfo& info, GrContext*, void (*draw)(SkCanvas*)) [all...] |
repeated_bitmap.cpp | 9 #include "SkImage.h" 13 static void draw_rotated_image(SkCanvas* canvas, const SkImage* image) { 38 SkAutoTUnref<SkImage> image(GetResourceAsImage("randPixels.png")); 43 SkAutoTUnref<SkImage> image(GetResourceAsImage("color_wheel.jpg"));
|
/external/skia/src/gpu/ |
GrImageIDTextureAdjuster.h | 12 #include "SkImage.h" 75 GrImageTextureMaker(GrContext* context, SkImageCacherator* cacher, const SkImage* client, 76 SkImage::CachingHint chint); 89 const SkImage* fClient; 91 SkImage::CachingHint fCachingHint;
|
/external/skia/experimental/fiddle/ |
fiddle_main.h | 13 extern SkImage* image;
|