HomeSort by relevance Sort by last modified time
    Searched defs:SkImage (Results 1 - 2 of 2) sorted by null

  /external/skia/include/core/
SkImage.h 35 * SkImage is an abstraction for drawing a rectagle of pixels, though the
40 * The content of SkImage is always immutable, though the actual storage may
44 * SkImage always has a non-zero dimensions. If there is a request to create a new image, either
48 class SK_API SkImage : public SkRefCnt {
53 static sk_sp<SkImage> MakeRasterCopy(const SkPixmap&);
54 static sk_sp<SkImage> MakeRasterData(const Info&, sk_sp<SkData> pixels, size_t rowBytes);
65 static sk_sp<SkImage> MakeFromRaster(const SkPixmap&, RasterReleaseProc, ReleaseContext);
71 static sk_sp<SkImage> MakeFromBitmap(const SkBitmap&);
74 * Construct a new SkImage based on the given ImageGenerator. Returns NULL on error.
79 static sk_sp<SkImage> MakeFromGenerator(std::unique_ptr<SkImageGenerator>
    [all...]
  /external/skia/src/image/
SkImage.cpp 36 SkImage::SkImage(int width, int height, uint32_t uniqueID)
45 bool SkImage::peekPixels(SkPixmap* pm) const {
53 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
58 bool SkImage::scalePixels(const SkPixmap& dst, SkFilterQuality quality, CachingHint chint) const {
80 SkAlphaType SkImage::alphaType() const {
84 SkColorSpace* SkImage::colorSpace() const {
88 sk_sp<SkColorSpace> SkImage::refColorSpace() const {
92 sk_sp<SkShader> SkImage::makeShader(SkShader::TileMode tileX, SkShader::TileMode tileY,
94 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix)
    [all...]

Completed in 447 milliseconds