Lines Matching defs:SkImage
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);
81 * Construct a new SkImage based on the specified encoded data. Returns NULL on failure,
89 static SkImage* NewFromEncoded(SkData* encoded, const SkIRect* subset = NULL);
97 static SkImage* NewFromTexture(GrContext* ctx, const GrBackendTextureDesc& desc) {
101 static SkImage* NewFromTexture(GrContext* ctx, const GrBackendTextureDesc& de, SkAlphaType at) {
114 static SkImage* NewFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType,
123 static SkImage* NewFromAdoptedTexture(GrContext*, const GrBackendTextureDesc&,
132 static SkImage* NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&,
140 static SkImage* NewFromYUVTexturesCopy(GrContext*, SkYUVColorSpace,
145 static SkImage* NewFromPicture(const SkPicture*, const SkISize& dimensions,
158 * Extracts YUV planes from the SkImage and stores them in client-provided memory. The sizes
308 SkImage* newSubset(const SkIRect& subset) const;
315 SkImage* newTextureImage(GrContext*) const;
342 SkImage(int width, int height, uint32_t uniqueID);