skia2/src
Herb Derby 1b8dcd112c Simplify SubRun structure in GrTextBlob
* Remove Run.
* Have SubRun handle both mask and path data.
* Collect up runs of glyph with the same format to
  simplify building SubRuns.

The nexus of this change is GrTextBlob::makeSubRun. All the
invariants for a SubRun are set in this code, and those
invariants stem from the SubRunType. Much of the code has been
simplified by not having to maintain complicated invariant
state between adding glyphs.

The change that reduces the most number of problems with the
old code is having SubRun own its SkStrikeSpec. Having bulk
glyph insertion facilitated this.

Change-Id: I2439392a9ee3485e7b07a1f3fdaf1351128c4d47
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255309
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2019-11-25 16:51:46 +00:00
..
android Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
atlastext Remove indexes from Geometry in the text op 2019-11-15 14:56:30 +00:00
c Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
codec Optimize SkWuffsCodec's sk_bzero calls 2019-11-22 14:49:33 +00:00
core Simplify SubRun structure in GrTextBlob 2019-11-25 16:51:46 +00:00
effects Reland "Revert "Revert "Make FP optimizations helpers use SkAlphaType not GrColorType""" 2019-11-25 15:46:35 +00:00
fonts Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
gpu Simplify SubRun structure in GrTextBlob 2019-11-25 16:51:46 +00:00
image Reland "Revert "Revert "Make FP optimizations helpers use SkAlphaType not GrColorType""" 2019-11-25 15:46:35 +00:00
images Fix windows DLL builds with shaper included 2019-11-19 14:50:12 +00:00
lazy Remove std::move()s from returns of std::unique_ptrs 2019-08-15 23:48:59 +00:00
opts Slightly faster hsl_to_rgb stage 2019-10-24 16:26:02 +00:00
pathops Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
pdf Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
ports Set fixed pitch bit in DirectWrite port. 2019-11-19 16:50:39 +00:00
sfnt Add Symbol encoding when renaming a font. 2019-08-07 20:35:28 +00:00
shaders Reland "Revert "Revert "Make FP optimizations helpers use SkAlphaType not GrColorType""" 2019-11-25 15:46:35 +00:00
sksl SkSL now supports functions defined in sksl_gpu.inc 2019-11-22 19:39:44 +00:00
svg Rename SkDevice::ctm() to localToDevice() 2019-10-18 18:04:31 +00:00
utils Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
xml [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
xps Fix windows DLL builds with shaper included 2019-11-19 14:50:12 +00:00