/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 157 SkISize SkPatchUtils::GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix) { in GetLevelOfDetail() 161 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail() 165 SkPatchUtils::GetBottomCubic(cubics, pts); in GetLevelOfDetail() 169 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail() 173 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail() 184 void SkPatchUtils::GetTopCubic(const SkPoint cubics[12], SkPoint points[4]) { in GetTopCubic() 185 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic() 186 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic() 187 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic() 188 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic() [all …]
|
D | SkPatchUtils.h | 28 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]); 33 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]); 38 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]); 43 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]); 48 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix); 50 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkDumpCanvas.cpp | 487 void SkDumpCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 494 cubics[0].fX, cubics[0].fY, in onDrawPatch() 495 cubics[3].fX, cubics[3].fY, in onDrawPatch() 496 cubics[6].fX, cubics[6].fY, in onDrawPatch() 497 cubics[9].fX, cubics[9].fY, in onDrawPatch()
|
D | SkPaintFilterCanvas.cpp | 160 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], in onDrawPatch() argument 165 this->INHERITED::onDrawPatch(cubics, colors, texCoords, bmode, *apf.paint()); in onDrawPatch()
|
D | SkNWayCanvas.cpp | 300 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 305 iter->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
/external/skqp/src/utils/ |
D | SkPatchUtils.cpp | 157 SkISize SkPatchUtils::GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix) { in GetLevelOfDetail() 161 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail() 165 SkPatchUtils::GetBottomCubic(cubics, pts); in GetLevelOfDetail() 169 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail() 173 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail() 184 void SkPatchUtils::GetTopCubic(const SkPoint cubics[12], SkPoint points[4]) { in GetTopCubic() 185 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic() 186 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic() 187 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic() 188 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic() [all …]
|
D | SkPatchUtils.h | 28 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]); 33 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]); 38 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]); 43 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]); 48 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix); 50 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkDumpCanvas.cpp | 487 void SkDumpCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 494 cubics[0].fX, cubics[0].fY, in onDrawPatch() 495 cubics[3].fX, cubics[3].fY, in onDrawPatch() 496 cubics[6].fX, cubics[6].fY, in onDrawPatch() 497 cubics[9].fX, cubics[9].fY, in onDrawPatch()
|
D | SkPaintFilterCanvas.cpp | 160 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], in onDrawPatch() argument 165 this->INHERITED::onDrawPatch(cubics, colors, texCoords, bmode, *apf.paint()); in onDrawPatch()
|
D | SkNWayCanvas.cpp | 300 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 305 iter->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
/external/skia/gm/ |
D | patch.cpp | 25 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { in draw_control_points() 29 SkPatchUtils::GetBottomCubic(cubics, bottom); in draw_control_points() 31 SkPatchUtils::GetTopCubic(cubics, top); in draw_control_points() 33 SkPatchUtils::GetLeftCubic(cubics, left); in draw_control_points() 35 SkPatchUtils::GetRightCubic(cubics, right); in draw_control_points()
|
/external/skqp/gm/ |
D | patch.cpp | 25 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { in draw_control_points() 29 SkPatchUtils::GetBottomCubic(cubics, bottom); in draw_control_points() 31 SkPatchUtils::GetTopCubic(cubics, top); in draw_control_points() 33 SkPatchUtils::GetLeftCubic(cubics, left); in draw_control_points() 35 SkPatchUtils::GetRightCubic(cubics, right); in draw_control_points()
|
/external/skia/samplecode/ |
D | PerlinPatch.cpp | 15 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { in draw_control_points() 19 SkPatchUtils::GetBottomCubic(cubics, bottom); in draw_control_points() 21 SkPatchUtils::GetTopCubic(cubics, top); in draw_control_points() 23 SkPatchUtils::GetLeftCubic(cubics, left); in draw_control_points() 25 SkPatchUtils::GetRightCubic(cubics, right); in draw_control_points()
|
/external/skqp/samplecode/ |
D | PerlinPatch.cpp | 15 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { in draw_control_points() 19 SkPatchUtils::GetBottomCubic(cubics, bottom); in draw_control_points() 21 SkPatchUtils::GetTopCubic(cubics, top); in draw_control_points() 23 SkPatchUtils::GetLeftCubic(cubics, left); in draw_control_points() 25 SkPatchUtils::GetRightCubic(cubics, right); in draw_control_points()
|
/external/skia/src/core/ |
D | SkPictureRecord.h | 129 void addPatch(const SkPoint cubics[12]); 177 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkRecorder.cpp | 319 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 323 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : nullptr, in onDrawPatch()
|
D | SkLiteRecorder.cpp | 175 void SkLiteRecorder::onDrawPatch(const SkPoint cubics[12], in onDrawPatch() 178 fDL->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
D | SkDevice.cpp | 129 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch() 132 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); in drawPatch() 133 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(), in drawPatch()
|
D | SkOverdrawCanvas.cpp | 171 void SkOverdrawCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 174 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
|
D | SkLiteDL.cpp | 429 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 433 copy_v(this->cubics, cubics, 12); in DrawPatch() 437 SkPoint cubics[12]; member 445 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw()
|
/external/skqp/src/core/ |
D | SkPictureRecord.h | 129 void addPatch(const SkPoint cubics[12]); 177 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkRecorder.cpp | 319 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 323 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : nullptr, in onDrawPatch()
|
D | SkLiteRecorder.cpp | 175 void SkLiteRecorder::onDrawPatch(const SkPoint cubics[12], in onDrawPatch() 178 fDL->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
D | SkDevice.cpp | 128 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch() 131 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); in drawPatch() 132 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(), in drawPatch()
|
D | SkOverdrawCanvas.cpp | 171 void SkOverdrawCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 174 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
|