Lines Matching refs:pSegRecord
592 GrSegRecord * pSegRecord = NULL; in LayoutText() local
597 pSegment = CreateSegment(rArgs, &pSegRecord); in LayoutText()
607 bool success = LayoutGlyphs(rArgs, pSegment, pSegRecord); in LayoutText()
609 if (pSegRecord) pSegRecord->unlock(); in LayoutText()
694 gr::Segment * GraphiteLayout::CreateSegment(ImplLayoutArgs& rArgs, GrSegRecord ** pSegRecord) in CreateSegment() argument
739 *pSegRecord = pCache->getSegment(rArgs, bRtl, limit); in CreateSegment()
740 if (*pSegRecord) in CreateSegment()
742 pSegment = (*pSegRecord)->getSegment(); in CreateSegment()
743 mpTextSrc = (*pSegRecord)->getTextSrc(); in CreateSegment()
744 maLayout.setRightToLeft((*pSegRecord)->isRtl()); in CreateSegment()
750 (*pSegRecord)->clearVectors(); in CreateSegment()
762 *pSegRecord = NULL; in CreateSegment()
772 *pSegRecord = NULL; in CreateSegment()
798 *pSegRecord = pCache->cacheSegment(mpTextSrc, pSegment, pSegment->rightToLeft()); in CreateSegment()
824 …aphiteLayout::LayoutGlyphs(ImplLayoutArgs& rArgs, gr::Segment * pSegment, GrSegRecord * pSegRecord) in LayoutGlyphs() argument
832 if (pSegRecord && (pSegRecord->glyphs().size() > 0) && in LayoutGlyphs()
833 (pSegRecord->fontScale() == mfScaling) && in LayoutGlyphs()
836 mnWidth = pSegRecord->width(); in LayoutGlyphs()
837 mvGlyphs = pSegRecord->glyphs(); in LayoutGlyphs()
838 mvCharDxs = pSegRecord->charDxs(); in LayoutGlyphs()
839 mvChar2BaseGlyph = pSegRecord->char2BaseGlyph(); in LayoutGlyphs()
840 mvGlyph2Char = pSegRecord->glyph2Char(); in LayoutGlyphs()
858 bool bRtl = pSegRecord? pSegRecord->isRtl() : pSegment->rightToLeft(); in LayoutGlyphs()
875 if (pSegRecord && rArgs.maReruns.IsEmpty() && in LayoutGlyphs()
878 pSegRecord->setGlyphVectors(mnWidth, mvGlyphs, mvCharDxs, in LayoutGlyphs()