Lines Matching defs:pixmap
36 * Map this pixmap to a rect in a surface of indicated dimensions at offset surfacePt. Clip the
39 * to the upper left of the clipped rectangle. The returned pixmap will refer to the portion
40 * of the original pixmap inside the surface bounds.
82 /** A pixmap with mutable pixels. */
93 /* implicit */ GrPixmap(const SkPixmap& pixmap)
94 : GrPixmapBase(pixmap.info(), pixmap.writable_addr(), pixmap.rowBytes()) {}
97 * Returns a GrPixmap that owns its backing store. Copies of the pixmap (as GrPixmap or
115 * A pixmap with immutable pixels. Note that this pixmap need not be the unique owner of the pixels
126 /* implicit*/ GrCPixmap(const GrPixmap& pixmap) {
127 if (auto storage = pixmap.pixelStorage()) {
128 *this = GrCPixmap(pixmap.info(), std::move(storage), pixmap.rowBytes());
130 *this = GrCPixmap(pixmap.info(), pixmap.addr(), pixmap.rowBytes());
134 /* implicit */ GrCPixmap(const SkPixmap& pixmap)
135 : GrPixmapBase(pixmap.info(), pixmap.addr(), pixmap.rowBytes()) {}