Home
last modified time | relevance | path

Searched refs:fPaints (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/gm/
Dovals.cpp50 fPaints.push_back(p); in makePaints()
57 fPaints.push_back(p); in makePaints()
66 fPaints.push_back(p); in makePaints()
74 fPaints.push_back(p); in makePaints()
83 fPaints.push_back(p); in makePaints()
164 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
176 fPaints[i].setColor(color); in onDraw()
179 canvas->drawOval(oval, fPaints[i]); in onDraw()
190 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
198 fPaints[i].setColor(color); in onDraw()
[all …]
Droundrects.cpp60 fPaints.push_back(p); in makePaints()
67 fPaints.push_back(p); in makePaints()
76 fPaints.push_back(p); in makePaints()
84 fPaints.push_back(p); in makePaints()
93 fPaints.push_back(p); in makePaints()
167 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
179 fPaints[i].setColor(color); in onDraw()
182 canvas->drawRRect(circleRect, fPaints[i]); in onDraw()
193 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
204 fPaints[i].setColor(color); in onDraw()
[all …]
Drects.cpp59 fPaints.push_back(p); in makePaints()
67 fPaints.push_back(p); in makePaints()
76 fPaints.push_back(p); in makePaints()
87 fPaints.push_back(p); in makePaints()
101 fPaints.push_back(p); in makePaints()
109 fPaints.push_back(p); in makePaints()
118 fPaints.push_back(p); in makePaints()
129 fPaints.push_back(p); in makePaints()
140 fPaints.push_back(p); in makePaints()
149 fPaints.push_back(p); in makePaints()
[all …]
Dcircles.cpp57 fPaints.push_back(p); in makePaints()
64 fPaints.push_back(p); in makePaints()
74 fPaints.push_back(p); in makePaints()
86 fPaints.push_back(p); in makePaints()
94 fPaints.push_back(p); in makePaints()
102 fPaints.push_back(p); in makePaints()
110 fPaints.push_back(p); in makePaints()
119 fPaints.push_back(p); in makePaints()
170 for (i = 0; i < fPaints.count(); ++i) { in onDraw()
175 SkPaint p = fPaints[i]; in onDraw()
[all …]
Dbadpaint.cpp41 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw()
42 fPaints.back().setShader(emptyBmp.makeShader()); in onOnceBeforeDraw()
45 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw()
46 fPaints.back().setShader(blueBmp.makeShader(&badMatrix)); in onOnceBeforeDraw()
51 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
52 canvas->drawRect(rect, fPaints[i]); in onDraw()
57 SkTArray<SkPaint> fPaints; member in BadPaintGM
Dstrokedlines.cpp138 fPaints.push_back(p); in onOnceBeforeDraw()
148 fPaints.push_back(p); in onOnceBeforeDraw()
158 fPaints.push_back(p); in onOnceBeforeDraw()
173 fPaints.push_back(p); in onOnceBeforeDraw()
180 fPaints.push_back(p); in onOnceBeforeDraw()
208 SkASSERT(kNumRows == fPaints.count() + fMatrices.count()); in onOnceBeforeDraw()
214 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
216 draw_row(canvas, fPaints[i], SkMatrix::I()); in onDraw()
224 draw_row(canvas, fPaints[0], fMatrices[i]); in onDraw()
232 SkTArray<SkPaint> fPaints; member in skiagm::StrokedLinesGM
/third_party/skia/gm/
Dovals.cpp50 fPaints.push_back(p); in makePaints()
57 fPaints.push_back(p); in makePaints()
66 fPaints.push_back(p); in makePaints()
74 fPaints.push_back(p); in makePaints()
83 fPaints.push_back(p); in makePaints()
164 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
176 fPaints[i].setColor(color); in onDraw()
179 canvas->drawOval(kOval, fPaints[i]); in onDraw()
190 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
198 fPaints[i].setColor(color); in onDraw()
[all …]
Droundrects.cpp60 fPaints.push_back(p); in makePaints()
67 fPaints.push_back(p); in makePaints()
76 fPaints.push_back(p); in makePaints()
84 fPaints.push_back(p); in makePaints()
93 fPaints.push_back(p); in makePaints()
167 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
179 fPaints[i].setColor(color); in onDraw()
182 canvas->drawRRect(circleRRect, fPaints[i]); in onDraw()
193 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
204 fPaints[i].setColor(color); in onDraw()
[all …]
Dbadpaint.cpp41 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw()
42 fPaints.back().setShader(emptyBmp.makeShader(SkSamplingOptions())); in onOnceBeforeDraw()
45 fPaints.push_back().setColor(SK_ColorGREEN); in onOnceBeforeDraw()
46 fPaints.back().setShader(blueBmp.makeShader(SkSamplingOptions(), badMatrix)); in onOnceBeforeDraw()
51 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
52 canvas->drawRect(rect, fPaints[i]); in onDraw()
57 SkTArray<SkPaint> fPaints; member in BadPaintGM
Dstrokedlines.cpp138 fPaints.push_back(p); in onOnceBeforeDraw()
148 fPaints.push_back(p); in onOnceBeforeDraw()
158 fPaints.push_back(p); in onOnceBeforeDraw()
174 fPaints.push_back(p); in onOnceBeforeDraw()
181 fPaints.push_back(p); in onOnceBeforeDraw()
209 SkASSERT(kNumRows == fPaints.count() + fMatrices.count()); in onOnceBeforeDraw()
215 for (int i = 0; i < fPaints.count(); ++i) { in onDraw()
217 draw_row(canvas, fPaints[i], SkMatrix::I()); in onDraw()
225 draw_row(canvas, fPaints[0], fMatrices[i]); in onDraw()
233 SkTArray<SkPaint> fPaints; member in skiagm::StrokedLinesGM
/third_party/flutter/skia/bench/
DPathTextBench.cpp76 fPaints[i].setAntiAlias(true); in onDelayedSetup()
77 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup()
94 canvas->drawPath(glyph, fPaints[i]); in onDraw()
102 SkPaint fPaints[kNumDraws]; member in PathTextBench
/third_party/skia/bench/
DPathTextBench.cpp76 fPaints[i].setAntiAlias(true); in onDelayedSetup()
77 fPaints[i].setColor(rand.nextU() | 0x80808080); in onDelayedSetup()
94 canvas->drawPath(glyph, fPaints[i]); in onDraw()
102 SkPaint fPaints[kNumDraws]; member in PathTextBench
/third_party/skia/src/core/
DSkPictureData.cpp48 fPaints = record.fPaints; in SkPictureData()
145 int numPaints = fPaints.count(); in flattenToBuffer()
148 for (const SkPaint& paint : fPaints) { in flattenToBuffer()
418 fPaints.push_back(buffer.readPaint()); in parseBufferTag()
540 return reader->validate(index > 0 && index <= fPaints.count()) ? in optionalPaint()
541 &fPaints[index - 1] : nullptr; in optionalPaint()
DSkPictureData.h142 SkTArray<SkPaint> fPaints; variable
DSkPictureRecord.h236 SkTArray<SkPaint> fPaints;
DSkPictureRecord.cpp843 fPaints.push_back(*paint); in addPaintPtr()
844 this->addInt(fPaints.count()); in addPaintPtr()
/third_party/flutter/skia/src/core/
DSkPictureData.h125 return reader->validate(index > 0 && index <= fPaints.count()) ? in getPaint()
126 &fPaints[index - 1] : nullptr; in getPaint()
145 SkTArray<SkPaint> fPaints; variable
DSkPictureData.cpp52 fPaints = record.fPaints; in SkPictureData()
151 if ((n = fPaints.count()) > 0) { in flattenToBuffer()
154 buffer.writePaint(fPaints[i]); in flattenToBuffer()
422 if (!buffer.readPaint(&fPaints.push_back(), nullptr)) { in parseBufferTag()
DSkPictureRecord.h246 SkTArray<SkPaint> fPaints;
DSkPictureRecord.cpp837 fPaints.push_back(*paint); in addPaintPtr()
838 this->addInt(fPaints.count()); in addPaintPtr()