dcc85fc610
Provides a reasonably flexible fragment processor that defines another colorizer implementation for gradients. It can support up to 8 interpolation intervals (which is 16 colors if every stop is a hard stop or 9 colors if every stop is a smooth transition). It supports mixtures of hard and smooth stops. It is conditionally compiled into versions specific to the interval count (so it can produce up to 8 shader variants). The GrGradientShader controller does not remove the single and dual interval colorizers, which are useful specializations of this explicit binary search colorizer. Similarly, since it can only handle up to 8 intervals, the texture colorizer is still used as a fallback. Currently it does not employ capabilities detection to determine if the hardware can support the number of required uniforms, which can become substantial for the larger gradient configurations. Bug: chromium:796479, chromium:729727, chromium:696603, chromium:543625, chromium:414254 Change-Id: Ia1f735a5019766ae4796cc22964b2913db34b95b Reviewed-on: https://skia-review.googlesource.com/155080 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
toolchain | ||
__init__.py | ||
ar.py | ||
bench.gni | ||
BUILD.gn | ||
BUILDCONFIG.gn | ||
call.py | ||
checkdir.py | ||
codesign_ios.py | ||
compile_processors.py | ||
core.gni | ||
cp.py | ||
create_sksl_enums.py | ||
effects_imagefilters.gni | ||
effects.gni | ||
find_headers.py | ||
find_ios_sysroot.py | ||
flutter_defines.gni | ||
gen_plist_ios.py | ||
gm.gni | ||
gn_meta_sln.py | ||
gn_to_bp_utils.py | ||
gn_to_bp.py | ||
gn_to_cmake.py | ||
gpu.gni | ||
highest_version_dir.py | ||
is_clang.py | ||
opts.gni | ||
pdf.gni | ||
push_to_android.py | ||
run_sksllex.py | ||
samples.gni | ||
shared_sources.gni | ||
sksl.gni | ||
tests.gni | ||
utils.gni | ||
xps.gni |