skia2/src
John Stiles 809707671a Reorder optimizations to eliminate more code.
Unreachable code might contain the only reference to a variable or
function. We can eliminate those variables/functions if we remove the
unreachable code first.

(Are there counterexamples where this order leads to worse results? I
couldn't think of any, and pragmatically it didn't show up in any of
our existing tests.)

Change-Id: Ic9f0222851269e0c37eb9570547307998f882b6c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/450156
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-09-20 13:57:46 +00:00
..
android Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
c Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
codec Only treat PNG_COLOR_TYPE_RGB as 565 2021-09-07 18:45:34 +00:00
core drawPoints with maskfilter fix 2021-09-13 19:22:35 +00:00
effects Adjust fuzzing behavior for triangulator/dashing 2021-09-16 16:32:11 +00:00
fonts Revert "Revert "onMatchFaceStyle is unused, so remove it"" 2021-04-27 16:40:29 +00:00
gpu Revert "Add new GrSurfaceInfo class and related backend structs." 2021-09-18 16:35:38 +00:00
image Move DeviceFlags and CheckAlphaTypeAndGetFlags to skgpu::BaseDevice 2021-09-08 14:55:31 +00:00
images Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
lazy Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
opts Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
pathops Fix various cases of variable shadowing in Skia. 2021-08-11 00:03:13 +00:00
pdf [pdf] Fully position after emitting Type3 glyph 2021-08-19 19:43:15 +00:00
ports [COLRv1] Fix blending and compositing 2021-09-07 15:09:58 +00:00
sfnt Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
shaders Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
sksl Reorder optimizations to eliminate more code. 2021-09-20 13:57:46 +00:00
svg Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
utils Adjust fuzzing behavior for triangulator/dashing 2021-09-16 16:32:11 +00:00
xml Less string copies of text in XML parsing. 2021-02-05 15:36:43 +00:00
xps Remove ableist language 2021-06-16 21:37:21 +00:00