Lines Matching refs:origGlyph
550 void SkScalerContext::getImage(const SkGlyph& origGlyph) {
551 const SkGlyph* unfilteredGlyph = &origGlyph;
553 // (i.e. larger) than what our caller allocated by looking at origGlyph.
559 tmpGlyph = this->internalMakeGlyph(origGlyph.getPackedID(), fRec.fMaskFormat);
562 // Use the origGlyph storage for the temporary unfiltered mask if it will fit.
563 if (tmpGlyph.fMaskFormat == origGlyph.fMaskFormat &&
564 tmpGlyph.imageSize() <= origGlyph.imageSize())
566 tmpGlyph.fImage = origGlyph.fImage;
584 SkASSERT(SkMask::kARGB32_Format != origGlyph.fMaskFormat);
606 // Filter did nothing; unfiltered mask is independent of origGlyph.fImage.
608 } else if (origGlyph.iRect() == unfilteredGlyph->iRect()) {
609 // Filter did nothing; the unfiltered mask is in origGlyph.fImage and matches.
612 // Filter did nothing; the unfiltered mask is in origGlyph.fImage and conflicts.
620 SkASSERT_RELEASE(srcMask.fFormat == origGlyph.fMaskFormat);
621 SkMask dstMask = origGlyph.mask();
677 sk_bzero(origGlyph.fImage, origGlyph.fHeight * origGlyph.rowBytes());