Lines Matching refs:SkImage_Raster
23 class SkImage_Raster : public SkImage_Base { class
66 SkImage_Raster(const SkImageInfo&, SkData*, size_t rb, SkColorTable*);
67 virtual ~SkImage_Raster();
77 SkImage_Raster(const SkImageInfo&, SkPixelRef*, const SkIPoint& origin, size_t rowBytes);
84 SkImage_Raster(const SkBitmap& bm) in SkImage_Raster() function in SkImage_Raster
113 SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes, in SkImage_Raster() function in SkImage_Raster
125 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, const SkIPoint& pixelRefOrigin, in SkImage_Raster() function in SkImage_Raster
135 SkImage_Raster::~SkImage_Raster() {} in ~SkImage_Raster()
137 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels()
143 const void* SkImage_Raster::onPeekPixels(SkImageInfo* infoPtr, size_t* rowBytesPtr) const { in onPeekPixels()
153 SkData* SkImage_Raster::onRefEncoded(GrContext*) const { in onRefEncoded()
165 bool SkImage_Raster::getROPixels(SkBitmap* dst, CachingHint) const { in getROPixels()
170 GrTexture* SkImage_Raster::asTextureRef(GrContext* ctx, const GrTextureParams& params) const { in asTextureRef()
182 SkImage* SkImage_Raster::onNewSubset(const SkIRect& subset) const { in onNewSubset()
201 if (!SkImage_Raster::ValidArgs(info, rowBytes, ctable != nullptr, &size) || !pixels) { in NewRasterCopy()
207 return new SkImage_Raster(info, data, rowBytes, ctable); in NewRasterCopy()
213 if (!SkImage_Raster::ValidArgs(info, rowBytes, false, &size) || !data) { in NewRasterData()
223 return new SkImage_Raster(info, data, rowBytes, ctable); in NewRasterData()
229 if (!SkImage_Raster::ValidArgs(info, rowBytes, false, &size) || !pixels) { in NewFromRaster()
235 return new SkImage_Raster(info, data, rowBytes, ctable); in NewFromRaster()
240 if (!SkImage_Raster::ValidArgs(info, rowBytes, false, nullptr)) { in SkNewImageFromPixelRef()
243 return new SkImage_Raster(info, pr, pixelRefOrigin, rowBytes); in SkNewImageFromPixelRef()
255 if (!SkImage_Raster::ValidArgs(bm.info(), bm.rowBytes(), hasColorTable, nullptr)) { in SkNewImageFromRasterBitmap()
268 image = new SkImage_Raster(bm); in SkNewImageFromRasterBitmap()
274 return ((const SkImage_Raster*)image)->getPixelRef(); in SkBitmapImageGetPixelRef()
277 bool SkImage_Raster::isOpaque() const { in isOpaque()
281 bool SkImage_Raster::onAsLegacyBitmap(SkBitmap* bitmap, LegacyBitmapMode mode) const { in onAsLegacyBitmap()