DescriptionSkCanvas interface for drawing a patch.
Added function SkCanvas::drawPatch to the API. This function
receives the patch to draw and the paint.
Added function SkBaseDevice::drawPatch to the API. This function also receives the patch to draw and the paint.
Currently SkGpuDevice and SkBitmapDevice generate the mesh taking into
account the scale factor and call the corresponding device's drawVertices.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/ecfff21bde1f0ca3c36533eded325066b5f2d42d
Patch Set 1 #
Total comments: 5
Patch Set 2 : Default implementation of SkBaseDevice::drawPatch #Patch Set 3 : Added array constructor for FwDCubicEvaluator #
Total comments: 7
Patch Set 4 : Approx arc length for LOD and improved GM tests #
Total comments: 10
Patch Set 5 : Added SkPatchUtils #
Total comments: 4
Patch Set 6 : Renamed static functions #
Total comments: 4
Patch Set 7 : Moved SkPatchUtils.h to src/utils, moved partition size and approx_arc_length to SkPatchUtils.cpp #
Total comments: 1
Patch Set 8 : Use SkISize #Patch Set 9 : Fixed fail because of implicit casting warning. #Patch Set 10 : Fixed implicit casting in patch.cpp #
Messages
Total messages: 32 (0 generated)
|