skia2/modules
Florin Malita adc6889228 [svg] Refactor text rendering context plumbing
Instead of relying on RenderContext to pass text rendering options
downstack, introduce a dedicated virtual (onRenderText) and pass options
explicitly.

Root text nodes bridge from onRender() -> onRenderText().

This removes some complexity from RenderContext and incidentally fixes
xml:space = preserve (the value was being dropped during local ctx
copying).

Bug: skia:10840
Change-Id: Ic5fd9e0f9382f52f65108521574fcb2a422b97aa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344559
Reviewed-by: Tyler Denniston <tdenniston@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-12-15 16:54:42 +00:00
..
audioplayer implement SkAudioPLayer for Android 2020-12-15 00:12:48 +00:00
canvaskit Get CanvasKit viewer compiling again 2020-12-15 01:10:48 +00:00
particles Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
pathkit [canvaskit] Update to emsdk 2.0.10 2020-12-14 15:27:28 +00:00
skottie [skottie] Add text colorization GM 2020-12-10 17:10:48 +00:00
skparagraph Reland "Cache text blobs computed by TextLine::paintText" 2020-12-10 19:03:19 +00:00
skplaintexteditor Enable ClangTidy check readability-const-return-type. 2020-08-07 17:42:38 +00:00
skresources Reland "[skottie] Add image sampling and transform options" 2020-12-03 19:21:57 +00:00
sksg Reland "[skottie] Add image sampling and transform options" 2020-12-03 19:21:57 +00:00
skshaper [skshaper] Fix CoreText segfault and convert UTF16 indices to UTF8 2020-11-10 02:53:01 +00:00
svg [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00