Home | History | Annotate | Download | only in image

Lines Matching refs:SkImage_Raster

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