Lines Matching defs:SubRunInfo
354 struct SubRunInfo { struct
355 SubRunInfo() in SubRunInfo() argument
367 SubRunInfo(const SubRunInfo& that) in SubRunInfo() function
386 void resetBulkUseToken() { fBulkUseToken.reset(); } in resetBulkUseToken()
387 GrDrawOpAtlas::BulkUseTokenUpdater* bulkUseToken() { return &fBulkUseToken; } in bulkUseToken()
388 void setStrike(GrAtlasTextStrike* strike) { fStrike.reset(SkRef(strike)); } in setStrike()
389 GrAtlasTextStrike* strike() const { return fStrike.get(); } in strike()
391 void setAtlasGeneration(uint64_t atlasGeneration) { fAtlasGeneration = atlasGeneration;} in setAtlasGeneration()
392 uint64_t atlasGeneration() const { return fAtlasGeneration; } in atlasGeneration()
394 size_t byteCount() const { return fVertexEndIndex - fVertexStartIndex; } in byteCount()
395 size_t vertexStartIndex() const { return fVertexStartIndex; } in vertexStartIndex()
396 size_t vertexEndIndex() const { return fVertexEndIndex; } in vertexEndIndex()
397 void appendVertices(size_t vertexStride) { in appendVertices()
401 uint32_t glyphCount() const { return fGlyphEndIndex - fGlyphStartIndex; } in glyphCount()
402 uint32_t glyphStartIndex() const { return fGlyphStartIndex; } in glyphStartIndex()
403 uint32_t glyphEndIndex() const { return fGlyphEndIndex; } in glyphEndIndex()
404 void glyphAppended() { fGlyphEndIndex++; } in glyphAppended()
405 void setColor(GrColor color) { fColor = color; } in setColor()
406 GrColor color() const { return fColor; } in color()
407 void setMaskFormat(GrMaskFormat format) { fMaskFormat = format; } in setMaskFormat()
408 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
410 void setAsSuccessor(const SubRunInfo& prev) { in setAsSuccessor()
421 const SkRect& vertexBounds() const { return fVertexBounds; } in vertexBounds()
422 void joinGlyphBounds(const SkRect& glyphBounds) { in joinGlyphBounds()
426 void init(const SkMatrix& viewMatrix, SkScalar x, SkScalar y) { in init()
437 void setUseLCDText(bool useLCDText) { fUseLCDText = useLCDText; } in setUseLCDText()
438 bool hasUseLCDText() const { return fUseLCDText; } in hasUseLCDText()
439 void setDrawAsDistanceFields() { fDrawAsDistanceFields = true; } in setDrawAsDistanceFields()
440 bool drawAsDistanceFields() const { return fDrawAsDistanceFields; } in drawAsDistanceFields()
444 sk_sp<GrAtlasTextStrike> fStrike;
445 SkMatrix fCurrentViewMatrix;
446 SkRect fVertexBounds;
447 uint64_t fAtlasGeneration;
448 size_t fVertexStartIndex;
449 size_t fVertexEndIndex;
450 uint32_t fGlyphStartIndex;
451 uint32_t fGlyphEndIndex;
452 SkScalar fX;
453 SkScalar fY;
454 GrColor fColor;
455 GrMaskFormat fMaskFormat;
456 bool fDrawAsDistanceFields; // df property
457 bool fUseLCDText; // df property