/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 161 SkISize SkPatchUtils::GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix) { in GetLevelOfDetail() 164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail() 168 SkPatchUtils::GetBottomCubic(cubics, pts); in GetLevelOfDetail() 172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail() 176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail() 191 void SkPatchUtils::GetTopCubic(const SkPoint cubics[12], SkPoint points[4]) { in GetTopCubic() 192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic() 193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic() 194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic() 195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic() [all …]
|
D | SkPatchUtils.h | 30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]); 35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]); 40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]); 45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]); 50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix); 52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkPaintFilterCanvas.cpp | 214 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], in onDrawPatch() argument 219 this->SkNWayCanvas::onDrawPatch(cubics, colors, texCoords, bmode, *apf.paint()); in onDrawPatch()
|
/external/skqp/src/utils/ |
D | SkPatchUtils.cpp | 161 SkISize SkPatchUtils::GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix) { in GetLevelOfDetail() 164 SkPatchUtils::GetTopCubic(cubics, pts); in GetLevelOfDetail() 168 SkPatchUtils::GetBottomCubic(cubics, pts); in GetLevelOfDetail() 172 SkPatchUtils::GetLeftCubic(cubics, pts); in GetLevelOfDetail() 176 SkPatchUtils::GetRightCubic(cubics, pts); in GetLevelOfDetail() 191 void SkPatchUtils::GetTopCubic(const SkPoint cubics[12], SkPoint points[4]) { in GetTopCubic() 192 points[0] = cubics[kTopP0_CubicCtrlPts]; in GetTopCubic() 193 points[1] = cubics[kTopP1_CubicCtrlPts]; in GetTopCubic() 194 points[2] = cubics[kTopP2_CubicCtrlPts]; in GetTopCubic() 195 points[3] = cubics[kTopP3_CubicCtrlPts]; in GetTopCubic() [all …]
|
D | SkPatchUtils.h | 30 static void GetTopCubic(const SkPoint cubics[12], SkPoint points[4]); 35 static void GetBottomCubic(const SkPoint cubics[12], SkPoint points[4]); 40 static void GetLeftCubic(const SkPoint cubics[12], SkPoint points[4]); 45 static void GetRightCubic(const SkPoint cubics[12], SkPoint points[4]); 50 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix); 52 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkPaintFilterCanvas.cpp | 207 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], in onDrawPatch() argument 212 this->SkNWayCanvas::onDrawPatch(cubics, colors, texCoords, bmode, *apf.paint()); in onDrawPatch()
|
D | SkNWayCanvas.cpp | 319 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 324 iter->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
/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/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/skqp/src/core/ |
D | SkDevice.cpp | 141 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch() 143 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); in drawPatch() 144 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(), in drawPatch()
|
D | SkRecorder.cpp | 296 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 300 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : nullptr, in onDrawPatch()
|
D | SkPictureRecord.h | 130 void addPatch(const SkPoint cubics[12]); 171 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkLiteRecorder.cpp | 155 void SkLiteRecorder::onDrawPatch(const SkPoint cubics[12], in onDrawPatch() 158 fDL->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
D | SkOverdrawCanvas.cpp | 102 void SkOverdrawCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 105 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
|
D | SkLiteDL.cpp | 381 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 385 copy_v(this->cubics, cubics, 12); in DrawPatch() 389 SkPoint cubics[12]; member 397 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw()
|
D | SkPictureRecord.cpp | 664 void SkPictureRecord::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 685 this->addPatch(cubics); in onDrawPatch() 826 void SkPictureRecord::addPatch(const SkPoint cubics[12]) { in addPatch() 827 fWriter.write(cubics, SkPatchUtils::kNumCtrlPts * sizeof(SkPoint)); in addPatch()
|
/external/skia/src/core/ |
D | SkDevice.cpp | 141 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch() 143 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); in drawPatch() 144 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height(), in drawPatch()
|
D | SkLiteRecorder.cpp | 158 void SkLiteRecorder::onDrawPatch(const SkPoint cubics[12], in onDrawPatch() 161 fDL->drawPatch(cubics, colors, texCoords, bmode, paint); in onDrawPatch()
|
D | SkPictureRecord.h | 130 void addPatch(const SkPoint cubics[12]); 171 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
D | SkRecorder.cpp | 300 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 304 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : nullptr, in onDrawPatch()
|
D | SkOverdrawCanvas.cpp | 102 void SkOverdrawCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 105 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
|
D | SkLiteDL.cpp | 387 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 391 copy_v(this->cubics, cubics, 12); in DrawPatch() 395 SkPoint cubics[12]; member 403 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr, in draw()
|
D | SkPictureRecord.cpp | 673 void SkPictureRecord::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 694 this->addPatch(cubics); in onDrawPatch() 835 void SkPictureRecord::addPatch(const SkPoint cubics[12]) { in addPatch() 836 fWriter.write(cubics, SkPatchUtils::kNumCtrlPts * sizeof(SkPoint)); in addPatch()
|