skia2/src
John Stiles c9f160b8dd Reland "Create looping binary-search gradient colorizer."
This is a reland of e2fa96ba4a

Original change's description:
> Create looping binary-search gradient colorizer.
>
> This allows us to dramatically increase the number of gradient stops
> before falling back to sampling from a texture (which smears hardstops
> and shows artifacts in extreme edge cases). The analytic colorizer
> doesn't suffer from these artifacts and blurriness effects.
>
> In nanobench, this change comes at a performance penalty for some tests:
> http://go/paste/6302350793768960
>
> The texture path might have a bit of an unfair advantage here, if the
> gradient texture can just be uploaded once and reused from the cache
> repeatedly.  Presumably the setup cost of texture generation and upload
> is fairly expensive, but nanobench is testing just the steady-state
> render performance. In comparison, the analytic colorizer doesn't have
> a large setup cost.
>
> Change-Id: I71baa539a2c7f9e311ef8125de4ede2fdbf0c2d0
> Bug: skia:8401
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457499
> Auto-Submit: John Stiles <johnstiles@google.com>
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>

Bug: skia:8401
Change-Id: I389f79909bc1424909481b06d70db285b55648fe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458277
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-10-12 14:15:43 +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 Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
core Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
effects Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
fonts Revert "Revert "onMatchFaceStyle is unused, so remove it"" 2021-04-27 16:40:29 +00:00
gpu Reland "Create looping binary-search gradient colorizer." 2021-10-12 14:15:43 +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 "change matrix_2x3 to row-major" 2021-10-07 15:28:11 +00:00
pathops Fix various cases of variable shadowing in Skia. 2021-08-11 00:03:13 +00:00
pdf Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
ports Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
sfnt Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
shaders Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
sksl Fix ES2 conformance test 'in_vs_no_in'. 2021-10-11 22:27:37 +00:00
svg Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
utils Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +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