skia2/include/utils
Mike Reed 2076b04d15 new virtuals for canvas ctm
1. Feature: Clients need to override didConcat44() (new data)
2. Perf: Clients need to override didTranslate (and now didScale) so our
         default impls can be empty.

Need SK_SUPPORT_LEGACY_CANVAS_MATRIX_VIRTUALS flag to stage this in
clients (anyone who subclasses SkCanvas)

Before (with flag)
    120.87  	canvas_matrix_4x4	8888
    108.10 ?	canvas_matrix_3x3	8888
    108.13 ?	canvas_matrix_2x3	8888
    141.54  	canvas_matrix_scale	8888
    128.04  	canvas_matrix_trans	8888

After (without the flag)
    ...
     90.79  	canvas_matrix_scale	8888
     94.51  	canvas_matrix_trans	8888

bug: skia:9768

Change-Id: I6f500138dd6b2b24754dc065c650d0bd3c341540
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263349
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2020-01-10 13:30:11 +00:00
..
mac Reland "Replace CGFontCreate with CTFontManagerCreate." 2019-11-27 19:42:13 +00:00
Sk3D.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkAnimCodecPlayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkBase64.h [skottie] Add DataURI image support in utils/tools 2019-10-21 18:02:39 +00:00
SkCamera.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkCanvasStateUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkEventTracer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFrontBufferedStream.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkInterpolator.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkLua.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkLuaCanvas.h new virtuals for canvas ctm 2020-01-10 13:30:11 +00:00
SkNoDrawCanvas.h Add Color4f variant for DrawEdgeAAQuad 2019-08-27 23:22:32 +00:00
SkNullCanvas.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNWayCanvas.h new virtuals for canvas ctm 2020-01-10 13:30:11 +00:00
SkPaintFilterCanvas.h Add Color4f variant for DrawEdgeAAQuad 2019-08-27 23:22:32 +00:00
SkParse.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkParsePath.h Revert "Revert "Shuffle SkSL sources around so compiler and bytecode can be used w/o GPU"" 2019-06-18 14:47:12 +00:00
SkRandom.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkShadowUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTextUtils.h Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SkTraceEventPhase.h make includes available for flutter 2018-06-21 18:12:47 +00:00