DescriptionFast path translate() in SkCanvas and SkLiteDL.
This adds didTranslate() so that SkLiteDL (and other canvas recorders)
can record the translate rather than the full concat.
It also adds a case to SkMatrix::preTranslate() to fast path
translate x translate -> translate (i.e. +=).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2255283002
Committed: https://skia.googlesource.com/skia/+/5fa47f4fd13b3158de4599414c86d17649c2dd1c
Misc bots failing in pictureimagefilter replay modes.
https://luci-milo.appspot.com/swarming/task/30b8e53f3a1f4f10/steps/dm/0/stdout
Problem is FMA vs. not.
CQ_INCLUDE_TRYBOTS=master.client.skia:
Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Fast-Trybot
Committed: https://skia.googlesource.com/skia/+/cbdf007bc2eb85056a1a5c75c088202becba2d16
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix default didTranslate() for other recorders. #Patch Set 3 : Good catch #Patch Set 4 : Better fix? #
Total comments: 1
Patch Set 5 : rebase #Patch Set 6 : plumb translate() through to SkRecord too #
Messages
Total messages: 42 (29 generated)
|