/external/skqp/src/core/ |
D | SkOverdrawCanvas.cpp | 59 fPaint.setAntiAlias(false); in SkOverdrawCanvas() 60 fPaint.setBlendMode(SkBlendMode::kPlus); in SkOverdrawCanvas() 61 fPaint.setColorFilter(SkColorFilter::MakeMatrixFilterRowMajor255(kIncrementAlpha)); in SkOverdrawCanvas() 105 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch() 122 fList[0]->onDrawRect(rect, fPaint); in onDrawEdgeAARect() 165 SkPaint* paintPtr = &fPaint; in onDrawAtlas() 176 fList[0]->onDrawPath(path, fPaint); in onDrawPath() 180 fList[0]->onDrawRect(SkRect::MakeXYWH(x, y, image->width(), image->height()), fPaint); in onDrawImage() 185 fList[0]->onDrawRect(dst, fPaint); in onDrawImageRect() 190 fList[0]->onDrawRect(dst, fPaint); in onDrawImageNine() [all …]
|
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 28 fPaint = new SkPaint(*paint); in init() 30 fPaint = nullptr; in init() 37 delete data[i].fPaint; in Reset() 104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
|
D | SkRecordPattern.h | 46 IsDraw() : fPaint(nullptr) {} in IsDraw() 49 type* get() { return fPaint; } in get() 53 fPaint = AsPtr(draw->paint); in operator() 59 fPaint = nullptr; in operator() 65 fPaint = nullptr; in operator() 74 type* fPaint; variable
|
/external/skia/src/core/ |
D | SkOverdrawCanvas.cpp | 59 fPaint.setAntiAlias(false); in SkOverdrawCanvas() 60 fPaint.setBlendMode(SkBlendMode::kPlus); in SkOverdrawCanvas() 61 fPaint.setColorFilter(SkColorFilter::MakeMatrixFilterRowMajor255(kIncrementAlpha)); in SkOverdrawCanvas() 105 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch() 126 fList[0]->onDrawRect(rect, fPaint); in onDrawEdgeAARect() 169 SkPaint* paintPtr = &fPaint; in onDrawAtlas() 180 fList[0]->onDrawPath(path, fPaint); in onDrawPath() 184 fList[0]->onDrawRect(SkRect::MakeXYWH(x, y, image->width(), image->height()), fPaint); in onDrawImage() 189 fList[0]->onDrawRect(dst, fPaint); in onDrawImageRect() 194 fList[0]->onDrawRect(dst, fPaint); in onDrawImageNine() [all …]
|
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 28 fPaint = new SkPaint(*paint); in init() 30 fPaint = nullptr; in init() 37 delete data[i].fPaint; in Reset() 104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
|
D | SkRecordPattern.h | 46 IsDraw() : fPaint(nullptr) {} in IsDraw() 49 type* get() { return fPaint; } in get() 53 fPaint = AsPtr(draw->paint); in operator() 59 fPaint = nullptr; in operator() 65 fPaint = nullptr; in operator() 74 type* fPaint; variable
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 1203 , fPaint(paint) {} in SkDrawBitmapCommand() 1206 canvas->drawBitmap(fBitmap, fLeft, fTop, fPaint.getMaybeNull()); in execute() 1220 if (fPaint.isValid()) { in toJSON() 1222 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON() 1233 , fPaint(paint) {} in SkDrawBitmapLatticeCommand() 1236 canvas->drawBitmapLattice(fBitmap, fLattice, fDst, fPaint.getMaybeNull()); in execute() 1257 if (fPaint.isValid()) { in toJSON() 1259 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON() 1272 , fPaint(paint) {} in SkDrawBitmapNineCommand() 1275 canvas->drawBitmapNine(fBitmap, fCenter, fDst, fPaint.getMaybeNull()); in execute() [all …]
|
D | SkDrawCommand.h | 237 SkTLazy<SkPaint> fPaint; variable 254 SkTLazy<SkPaint> fPaint; variable 271 SkTLazy<SkPaint> fPaint; variable 289 SkTLazy<SkPaint> fPaint; variable 306 SkTLazy<SkPaint> fPaint; variable 323 SkTLazy<SkPaint> fPaint; variable 340 SkTLazy<SkPaint> fPaint; variable 357 SkTLazy<SkPaint> fPaint; variable 386 SkPaint fPaint; variable 404 SkPaint fPaint; variable [all …]
|
/external/skqp/tools/debugger/ |
D | SkDrawCommand.cpp | 1202 , fPaint(paint) {} in SkDrawBitmapCommand() 1205 canvas->drawBitmap(fBitmap, fLeft, fTop, fPaint.getMaybeNull()); in execute() 1219 if (fPaint.isValid()) { in toJSON() 1221 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON() 1232 , fPaint(paint) {} in SkDrawBitmapLatticeCommand() 1235 canvas->drawBitmapLattice(fBitmap, fLattice, fDst, fPaint.getMaybeNull()); in execute() 1256 if (fPaint.isValid()) { in toJSON() 1258 MakeJsonPaint(writer, *fPaint, urlDataManager); in toJSON() 1271 , fPaint(paint) {} in SkDrawBitmapNineCommand() 1274 canvas->drawBitmapNine(fBitmap, fCenter, fDst, fPaint.getMaybeNull()); in execute() [all …]
|
D | SkDrawCommand.h | 237 SkTLazy<SkPaint> fPaint; variable 254 SkTLazy<SkPaint> fPaint; variable 271 SkTLazy<SkPaint> fPaint; variable 289 SkTLazy<SkPaint> fPaint; variable 306 SkTLazy<SkPaint> fPaint; variable 323 SkTLazy<SkPaint> fPaint; variable 340 SkTLazy<SkPaint> fPaint; variable 357 SkTLazy<SkPaint> fPaint; variable 386 SkPaint fPaint; variable 404 SkPaint fPaint; variable [all …]
|
/external/skia/modules/sksg/src/ |
D | SkSGDraw.cpp | 20 , fPaint(std::move(paint)) { in Draw() 22 this->observeInval(fPaint); in Draw() 27 this->unobserveInval(fPaint); in ~Draw() 31 auto paint = fPaint->makePaint(); in onRender() 45 const auto paint = fPaint->makePaint(); in onNodeAt() 67 fPaint->revalidate(ic, ctm); in onRevalidate() 69 const auto paint = fPaint->makePaint(); in onRevalidate()
|
/external/skqp/bench/ |
D | BezierBench.cpp | 16 SkPaint fPaint; member 26 const SkPaint& paint = rec->fPaint; in draw_quad() 38 const SkPaint& paint = rec->fPaint; in draw_cubic() 84 this->setupPaint(&fRec.fPaint); in onDraw() 85 fRec.fPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 86 fRec.fPaint.setStrokeCap(fCap); in onDraw() 87 fRec.fPaint.setStrokeJoin(fJoin); in onDraw() 88 fRec.fPaint.setStrokeWidth(fWidth); in onDraw()
|
D | CoverageBench.cpp | 19 SkPaint fPaint; member in DrawPathBench 29 fPaint.setAntiAlias(true); in DrawPathBench() 59 fDraw.drawPathCoverage(fPath, fPaint); in onDraw() 63 fDraw.drawPath(fPath, fPaint); in onDraw()
|
D | DrawBitmapAABench.cpp | 25 fPaint.setAntiAlias(doAA); in DrawBitmapAABench() 27 fPaint.setFilterQuality(kLow_SkFilterQuality); in DrawBitmapAABench() 44 canvas->drawBitmap(fBitmap, 0, 0, &fPaint); in onDraw() 49 SkPaint fPaint; member in DrawBitmapAABench
|
/external/skia/bench/ |
D | BezierBench.cpp | 16 SkPaint fPaint; member 26 const SkPaint& paint = rec->fPaint; in draw_quad() 38 const SkPaint& paint = rec->fPaint; in draw_cubic() 84 this->setupPaint(&fRec.fPaint); in onDraw() 85 fRec.fPaint.setStyle(SkPaint::kStroke_Style); in onDraw() 86 fRec.fPaint.setStrokeCap(fCap); in onDraw() 87 fRec.fPaint.setStrokeJoin(fJoin); in onDraw() 88 fRec.fPaint.setStrokeWidth(fWidth); in onDraw()
|
D | CoverageBench.cpp | 19 SkPaint fPaint; member in DrawPathBench 29 fPaint.setAntiAlias(true); in DrawPathBench() 59 fDraw.drawPathCoverage(fPath, fPaint); in onDraw() 63 fDraw.drawPath(fPath, fPaint); in onDraw()
|
D | DrawBitmapAABench.cpp | 25 fPaint.setAntiAlias(doAA); in DrawBitmapAABench() 27 fPaint.setFilterQuality(kLow_SkFilterQuality); in DrawBitmapAABench() 44 canvas->drawBitmap(fBitmap, 0, 0, &fPaint); in onDraw() 49 SkPaint fPaint; member in DrawBitmapAABench
|
/external/skqp/modules/sksg/src/ |
D | SkSGDraw.cpp | 19 , fPaint(std::move(paint)) { in Draw() 21 this->observeInval(fPaint); in Draw() 26 this->unobserveInval(fPaint); in ~Draw() 30 auto paint = fPaint->makePaint(); in onRender() 47 fPaint->revalidate(ic, ctm); in onRevalidate() 49 const auto paint = fPaint->makePaint(); in onRevalidate()
|
/external/skqp/experimental/nima/ |
D | NimaActor.cpp | 23 , fPaint(nullptr) in NimaActor() 38 , fPaint(nullptr) in NimaActor() 52 fPaint = std::make_unique<SkPaint>(); in init() 53 fPaint->setShader(fTexture->makeShader(nullptr)); in init() 54 fPaint->setFilterQuality(SkFilterQuality::kLow_SkFilterQuality); in init() 59 fActorImages.emplace_back(m_ImageNodes[i], fTexture.get(), fPaint.get()); in init() 122 , fPaint(paint) in NimaActorImage() 312 fPaint->setAlpha(static_cast<U8CPU>(fActorImage->renderOpacity() * 255)); in drawVerticesObject() 316 canvas->drawVertices(vertices, fBones.data(), fBones.size(), blendMode, *fPaint); in drawVerticesObject() 318 canvas->drawVertices(vertices, blendMode, *fPaint); in drawVerticesObject() [all …]
|
/external/skia/experimental/nima/ |
D | NimaActor.cpp | 23 , fPaint(nullptr) in NimaActor() 38 , fPaint(nullptr) in NimaActor() 52 fPaint = std::make_unique<SkPaint>(); in init() 53 fPaint->setShader(fTexture->makeShader(nullptr)); in init() 54 fPaint->setFilterQuality(SkFilterQuality::kLow_SkFilterQuality); in init() 59 fActorImages.emplace_back(m_ImageNodes[i], fTexture.get(), fPaint.get()); in init() 122 , fPaint(paint) in NimaActorImage() 312 fPaint->setAlpha(static_cast<U8CPU>(fActorImage->renderOpacity() * 255)); in drawVerticesObject() 316 canvas->drawVertices(vertices, fBones.data(), fBones.size(), blendMode, *fPaint); in drawVerticesObject() 318 canvas->drawVertices(vertices, blendMode, *fPaint); in drawVerticesObject() [all …]
|
/external/skqp/samplecode/ |
D | SampleEffects.cpp | 61 SkPaint fPaint[SK_ARRAY_COUNT(gPaintProcs)]; member in EffectsView 80 fPaint[i].setAntiAlias(true); in EffectsView() 81 fPaint[i].setColor(COLOR); in EffectsView() 82 gPaintProcs[i](&fPaint[i]); in EffectsView() 104 for (size_t i = 0; i < SK_ARRAY_COUNT(fPaint); i++) { in onDrawContent() 105 canvas->drawPath(fPath, fPaint[i]); in onDrawContent()
|
/external/skia/samplecode/ |
D | SampleEffects.cpp | 61 SkPaint fPaint[SK_ARRAY_COUNT(gPaintProcs)]; member in EffectsView 80 fPaint[i].setAntiAlias(true); in EffectsView() 81 fPaint[i].setColor(COLOR); in EffectsView() 82 gPaintProcs[i](&fPaint[i]); in EffectsView() 104 for (size_t i = 0; i < SK_ARRAY_COUNT(fPaint); i++) { in onDrawContent() 105 canvas->drawPath(fPath, fPaint[i]); in onDrawContent()
|
/external/skia/src/effects/imagefilters/ |
D | SkPaintImageFilter.cpp | 24 , fPaint(paint) { in SkPaintImageFilter() 36 buffer.writePaint(fPaint); in flatten() 67 canvas->drawRect(rect, fPaint); in onFilterImage() 76 SkPaint paint = xformer->apply(fPaint); in onMakeColorSpace() 77 if (paint != fPaint) { in onMakeColorSpace()
|
/external/skqp/src/effects/imagefilters/ |
D | SkPaintImageFilter.cpp | 24 , fPaint(paint) { in SkPaintImageFilter() 36 buffer.writePaint(fPaint); in flatten() 67 canvas->drawRect(rect, fPaint); in onFilterImage() 76 SkPaint paint = xformer->apply(fPaint); in onMakeColorSpace() 77 if (paint != fPaint) { in onMakeColorSpace()
|
/external/skqp/src/effects/ |
D | SkLayerDrawLooper.cpp | 151 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 179 const SkMaskFilter* mf = rec->fPaint.getMaskFilter(); in asABlurShadow() 204 bsRec->fColor = fRecs->fPaint.getColor(); in asABlurShadow() 221 newTopRec->fPaint = xformer->apply(oldRec->fPaint); in onMakeColorSpace() 229 newRec->fPaint = xformer->apply(oldRec->fPaint); in onMakeColorSpace() 255 buffer.writePaint(rec->fPaint); in flatten() 307 return &rec->fPaint; in addLayer() 331 return &rec->fPaint; in addLayerOnTop()
|