Searched defs:SkImage (Results 1 - 3 of 3) sorted by relevance

/external/skia/include/core/
H A DSkImage.h31 * 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 { class in inherits: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* NewFromGenerato
[all...]
/external/skia/src/image/
H A DSkImage.cpp30 SkImage::SkImage(int width, int height, uint32_t uniqueID) function in class:SkImage
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
[all...]
/external/skia/tools/json/
H A DSkJSONCanvas.cpp186 static bool SK_WARN_UNUSED_RESULT flatten(const SkImage& image, Json::Value* target,
201 SkImage* converted = SkImage::NewRasterCopy(dstInfo, buffer, rowBytes);
261 SkAutoTUnref<SkImage> image(SkImage::NewFromBitmap(bitmap));
638 void SkJSONCanvas::onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const SkColor[], argument
654 void SkJSONCanvas::onDrawImage(const SkImage* image, SkScalar dx, SkScalar dy,
669 void SkJSONCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst,
690 void SkJSONCanvas::onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& dst, argument

Completed in 618 milliseconds