Home
last modified time | relevance | path

Searched refs:SkTextBlob (Results 1 – 25 of 71) sorted by relevance

123

/external/skia/tests/
DTextBlobTest.cpp26 { 128, SkTextBlob::kDefault_Positioning, 100, 100 }, in TestBuilder()
31 { 128, SkTextBlob::kHorizontal_Positioning, 100, 100 }, in TestBuilder()
36 { 128, SkTextBlob::kFull_Positioning, 100, 100 }, in TestBuilder()
41 { 128, SkTextBlob::kDefault_Positioning, 100, 150 }, in TestBuilder()
42 { 128, SkTextBlob::kDefault_Positioning, 100, 150 }, in TestBuilder()
43 { 128, SkTextBlob::kDefault_Positioning, 100, 150 }, in TestBuilder()
48 { 128, SkTextBlob::kHorizontal_Positioning, 100, 150 }, in TestBuilder()
49 { 128, SkTextBlob::kHorizontal_Positioning, 200, 150 }, in TestBuilder()
50 { 128, SkTextBlob::kHorizontal_Positioning, 300, 250 }, in TestBuilder()
53 { 256, SkTextBlob::kHorizontal_Positioning, 0, 150 }, in TestBuilder()
[all …]
DTextBlobCacheTest.cpp32 explicit TextBlobWrapper(const SkTextBlob* blob) : fBlob(blob) {} in TextBlobWrapper()
35 SkAutoTUnref<const SkTextBlob> fBlob;
42 const SkTextBlob* blob = blobs[i].fBlob.get(); in draw()
/external/skia/src/core/
DSkTextBlob.cpp111 class SkTextBlob::RunRecord {
148 static size_t StorageSize(int glyphCount, SkTextBlob::GlyphPositioning positioning) { in StorageSize()
150 return SkAlignPtr(sizeof(SkTextBlob::RunRecord) in StorageSize()
155 static const RunRecord* First(const SkTextBlob* blob) { in First()
205 SkTextBlob::SkTextBlob(int runCount, const SkRect& bounds) in SkTextBlob() function in SkTextBlob
211 SkTextBlob::~SkTextBlob() { in ~SkTextBlob()
221 void SkTextBlob::flatten(SkWriteBuffer& buffer) const { in flatten()
249 const SkTextBlob* SkTextBlob::CreateFromBuffer(SkReadBuffer& reader) { in CreateFromBuffer()
296 unsigned SkTextBlob::ScalarsPerGlyph(GlyphPositioning pos) { in ScalarsPerGlyph()
302 SkTextBlobRunIterator::SkTextBlobRunIterator(const SkTextBlob* blob) in SkTextBlobRunIterator()
[all …]
DSkTextBlobRunIterator.h20 SkTextBlobRunIterator(const SkTextBlob* blob);
30 SkTextBlob::GlyphPositioning positioning() const;
34 const SkTextBlob::RunRecord* fCurrentRun;
DSkPictureData.h27 class SkTextBlob; variable
119 const SkTextBlob* getTextBlob(SkReader32* reader) const { in getTextBlob()
165 const SkTextBlob** fTextBlobRefs;
DSkPictureRecord.h38 const SkTDArray<const SkTextBlob* >& getTextBlobRefs() const { in getTextBlobRefs()
143 void addTextBlob(const SkTextBlob* blob);
170 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
240 SkTDArray<const SkTextBlob*> fTextBlobRefs;
DSkRemote.h20 class SkTextBlob; variable
73 virtual ID define(const SkTextBlob*) = 0;
DSkDevice.cpp102 void SkBaseDevice::drawTextBlob(const SkDraw& draw, const SkTextBlob* blob, SkScalar x, SkScalar y, in drawTextBlob()
124 case SkTextBlob::kDefault_Positioning: in drawTextBlob()
127 case SkTextBlob::kHorizontal_Positioning: in drawTextBlob()
131 case SkTextBlob::kFull_Positioning: in drawTextBlob()
/external/skia/include/core/
DSkTextBlob.h22 class SK_API SkTextBlob : public SkRefCnt {
46 static const SkTextBlob* CreateFromBuffer(SkReadBuffer&);
57 SkTextBlob(int runCount, const SkRect& bounds);
59 virtual ~SkTextBlob();
101 const SkTextBlob* build();
162 void allocInternal(const SkPaint& font, SkTextBlob::GlyphPositioning positioning,
164 bool mergeRun(const SkPaint& font, SkTextBlob::GlyphPositioning positioning,
168 static SkRect ConservativeRunBounds(const SkTextBlob::RunRecord&);
169 static SkRect TightRunBounds(const SkTextBlob::RunRecord&);
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.h45 const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*,
64 const SkTextBlob* blob,
106 SkAutoTUnref<const SkTextBlob> fFallbackTextBlob;
124 TextBlob(uint32_t blobId, const SkTextBlob* skBlob, const SkPaint& skPaint) in TextBlob()
127 TextBlob(const Key& key, const SkTextBlob* skBlob, const SkPaint& skPaint) in TextBlob()
139 void init(const SkTextBlob*, const SkPaint&);
147 const TextBlob& findOrCreateTextBlob(const SkTextBlob*, const SkPaint&);
DGrStencilAndCoverTextContext.cpp141 const SkTextBlob* blob, in uncachedDrawTextBlob()
170 case SkTextBlob::kDefault_Positioning: in uncachedDrawTextBlob()
175 case SkTextBlob::kHorizontal_Positioning: in uncachedDrawTextBlob()
181 case SkTextBlob::kFull_Positioning: in uncachedDrawTextBlob()
199 const SkTextBlob* skBlob, SkScalar x, SkScalar y, in drawTextBlob()
236 GrStencilAndCoverTextContext::findOrCreateTextBlob(const SkTextBlob* skBlob, in findOrCreateTextBlob()
292 void GrStencilAndCoverTextContext::TextBlob::init(const SkTextBlob* skBlob, in init()
305 case SkTextBlob::kDefault_Positioning: in init()
308 case SkTextBlob::kHorizontal_Positioning: in init()
311 case SkTextBlob::kFull_Positioning: in init()
[all …]
DGrAtlasTextContext.cpp59 bool GrAtlasTextContext::HasLCD(const SkTextBlob* blob) { in HasLCD()
72 const SkSurfaceProps& props, const SkTextBlob* blob, in drawTextBlob()
168 const SkTextBlob* blob, SkScalar x, SkScalar y, in RegenerateTextBlob()
195 case SkTextBlob::kDefault_Positioning: { in RegenerateTextBlob()
202 case SkTextBlob::kHorizontal_Positioning: { in RegenerateTextBlob()
210 case SkTextBlob::kFull_Positioning: { in RegenerateTextBlob()
223 case SkTextBlob::kDefault_Positioning: in RegenerateTextBlob()
229 case SkTextBlob::kHorizontal_Positioning: in RegenerateTextBlob()
235 case SkTextBlob::kFull_Positioning: in RegenerateTextBlob()
DGrAtlasTextContext.h46 const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*,
61 const SkTextBlob* blob, SkScalar x, SkScalar y,
63 inline static bool HasLCD(const SkTextBlob*);
DGrTextBlobCache.h36 GrAtlasTextBlob* createBlob(const SkTextBlob* blob) { in createBlob()
44 GrAtlasTextBlob* createCachedBlob(const SkTextBlob* blob, in createCachedBlob()
86 static void BlobGlyphCount(int* glyphCount, int* runCount, const SkTextBlob* blob) { in BlobGlyphCount()
/external/skia/include/utils/
DSkLua.h25 class SkTextBlob; variable
64 void pushTextBlob(const SkTextBlob*, const char tableKey[] = NULL);
/external/skia/include/gpu/
DGrDrawContext.h41 class SkTextBlob; variable
63 const SkMatrix& viewMatrix, const SkTextBlob*,
/external/skia/gm/
Dmixedtextblobs.cpp19 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint, in draw_blob()
156 SkAutoTUnref<const SkTextBlob> fBlob;
Dtextblob.cpp95 SkAutoTUnref<const SkTextBlob> blob(this->makeBlob(b)); in onDraw()
113 const SkTextBlob* makeBlob(unsigned blobIndex) { in makeBlob()
Dlargeglyphblur.cpp36 SkAutoTUnref<const SkTextBlob> blob(builder.build());
Dtextblobuseaftergpufree.cpp50 SkAutoTUnref<const SkTextBlob> blob(builder.build()); in onDraw()
Dtextblobgeometrychange.cpp43 SkAutoTUnref<const SkTextBlob> blob(builder.build()); in onDraw()
/external/skia/include/private/
DSkMiniRecorder.h27 bool drawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint&);
/external/skia/src/gpu/
DGrPathRenderingDrawContext.h25 const SkMatrix& viewMatrix, const SkTextBlob*,
/external/skia/bench/
DTextBlobBench.cpp68 SkAutoTUnref<const SkTextBlob> fBlob;
/external/skia/src/utils/
DSkTextBox.cpp295 SkTextBlob* SkTextBox::snapshotTextBlob(SkScalar* computedBottom) const { in snapshotTextBlob()
301 return (SkTextBlob*)visitor.fBuilder.build(); in snapshotTextBlob()

123