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

  /external/skia/include/core/
SkImage.h 36 /** \class SkImage
37 SkImage describes a two dimensional array of pixels to draw. The pixels may be
41 SkImage cannot be modified after it is created. SkImage may allocate additional
42 storage as needed; for instance, an encoded SkImage may decode when drawn.
44 SkImage width and height are greater than zero. Creating an SkImage with zero width
45 or height returns SkImage equal to nullptr.
47 SkImage may be created from SkBitmap, SkPixmap, SkSurface, SkPicture, encoded streams,
52 class SK_API SkImage : public SkRefCnt
    [all...]
  /external/skqp/include/core/
SkImage.h 36 * SkImage is an abstraction for drawing a rectagle of pixels, though the
41 * The content of SkImage is always immutable, though the actual storage may
45 * SkImage always has a non-zero dimensions. If there is a request to create a new image, either
49 class SK_API SkImage : public SkRefCnt {
54 static sk_sp<SkImage> MakeRasterCopy(const SkPixmap& pixmap);
55 static sk_sp<SkImage> MakeRasterData(const Info& info, sk_sp<SkData> pixels, size_t rowBytes);
66 static sk_sp<SkImage> MakeFromRaster(const SkPixmap& pixmap,
74 static sk_sp<SkImage> MakeFromBitmap(const SkBitmap& bitmap);
77 * Construct a new SkImage based on the given ImageGenerator. Returns NULL on error.
82 static sk_sp<SkImage> MakeFromGenerator(std::unique_ptr<SkImageGenerator> imageGenerator
    [all...]
  /external/skia/src/image/
SkImage.cpp 33 SkImage::SkImage(int width, int height, uint32_t uniqueID)
42 bool SkImage::peekPixels(SkPixmap* pm) const {
50 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
55 bool SkImage::scalePixels(const SkPixmap& dst, SkFilterQuality quality, CachingHint chint) const {
77 SkAlphaType SkImage::alphaType() const {
81 SkColorSpace* SkImage::colorSpace() const {
85 sk_sp<SkColorSpace> SkImage::refColorSpace() const {
89 sk_sp<SkShader> SkImage::makeShader(SkShader::TileMode tileX, SkShader::TileMode tileY,
91 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix)
    [all...]
  /external/skqp/src/image/
SkImage.cpp 33 SkImage::SkImage(int width, int height, uint32_t uniqueID)
42 bool SkImage::peekPixels(SkPixmap* pm) const {
50 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
55 bool SkImage::scalePixels(const SkPixmap& dst, SkFilterQuality quality, CachingHint chint) const {
77 SkAlphaType SkImage::alphaType() const {
81 SkColorSpace* SkImage::colorSpace() const {
85 sk_sp<SkColorSpace> SkImage::refColorSpace() const {
89 sk_sp<SkShader> SkImage::makeShader(SkShader::TileMode tileX, SkShader::TileMode tileY,
91 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix)
    [all...]

Completed in 80 milliseconds