Go to file
John Stiles c71922cd88 Reduce color fringes on blend_hue and blend_saturation.
Today I learned that `mix(a, b, 1)` can reduce precision. Ternaries do
not suffer from this problem.

Change-Id: I58814d00193ccbff53960030d163d31c49234f6c
Bug: skia:9320
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528161
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2022-04-07 13:39:08 +00:00
bazel [includes] Add pragma for SkTypes.h 2022-04-07 13:04:14 +00:00
bench [includes] Remove more includes of SkColorSpace 2022-04-06 21:58:24 +00:00
bin Handle 'aarch64' from platform.machine() 2022-03-01 13:10:59 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Add vulkan-headers to DEPS, point Dawn at them 2022-04-06 19:17:53 +00:00
client_utils/android Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
demos.skia.org [canvaskit] Add in fillText to spreadsheet demo for comparison 2022-02-15 15:35:43 +00:00
dm [includes] Enforce IWYU for //tools/debugger/... 2022-03-30 13:53:13 +00:00
docker [canvaskit] Enable Debugger bindings for autobuild 2022-03-08 17:42:37 +00:00
docs/examples Reland "Add kR8_unorm_SkColorType" 2022-02-10 18:00:19 +00:00
example [bazel] Move link dependencies down to where they are incurred 2022-04-06 18:06:08 +00:00
experimental [graphite] Move the UniformManager into the SkPipelineDataGatherer 2022-04-06 19:31:56 +00:00
fuzz [includes] Enforce IWYU for //tools/debugger/... 2022-03-30 13:53:13 +00:00
gm [includes] Remove more includes of SkColorSpace 2022-04-06 21:58:24 +00:00
gn [includes] Remove more includes of SkColorSpace 2022-04-06 21:58:24 +00:00
include [includes] Add pragma for SkTypes.h 2022-04-07 13:04:14 +00:00
infra [infra] Remove UpdateGoDeps 2022-04-07 13:28:34 +00:00
modules [debugger] Fix externs 2022-04-04 20:38:18 +00:00
platform_tools [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
resources Improved position reporting for various SkSL constructs 2022-04-06 16:20:45 +00:00
samplecode Add SampleSBIX to study sbix glyph translation. 2022-03-25 14:43:23 +00:00
site [bazel] Add documentation for Bazel/Bazelisk 2022-03-29 15:23:37 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Reduce color fringes on blend_hue and blend_saturation. 2022-04-07 13:39:08 +00:00
tests Reduce color fringes on blend_hue and blend_saturation. 2022-04-07 13:39:08 +00:00
third_party [bazel] Add RBE support using hermetic Linux Clang toolchain 2022-03-28 13:56:16 +00:00
toolchain [includes] Enforce IWYU for //tools/debugger/... 2022-03-30 13:53:13 +00:00
tools Remove dehydration powers from skslc. 2022-04-07 13:33:47 +00:00
.bazelrc [bazel] Move vma down to //src/gpu 2022-04-06 18:06:08 +00:00
.bazelversion [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore Add .vscode to the default gitignore list. 2021-10-13 15:23:02 +00:00
.gn Pre-emptive fix for upcoming ANGLE change. 2021-01-08 17:23:52 +00:00
.vpython [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
AUTHORS Remove obsolete sk_cf_obj 2022-03-11 05:59:16 +00:00
BUILD.bazel [bazel] Add support for Dawn (via Vulkan) 2022-03-22 13:05:52 +00:00
BUILD.gn Separate SkSL module dehydration from SkSL test compilation. 2022-04-06 21:55:39 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll ANGLE from 366f60116e94 to 7a9856f672c0 (8 revisions) 2022-04-07 08:16:06 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go_repositories.bzl [bazel] Use bazel to build task drivers 2022-03-03 16:12:18 +00:00
go.mod [bazel] Make use of test_on_env to spin up server for gms 2022-02-28 14:05:54 +00:00
go.sum [bazel] Make use of test_on_env to spin up server for gms 2022-02-28 14:05:54 +00:00
LICENSE
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
OWNERS.android Update OWNERS.android with more details 2022-03-16 18:13:33 +00:00
package-lock.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
package.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
PRESUBMIT.py [bazel] Add RBE support using hermetic Linux Clang toolchain 2022-03-28 13:56:16 +00:00
public.bzl Move SkSLMain into tools/skslc/Main.cpp. 2022-04-05 20:22:05 +00:00
README
README.chromium
RELEASE_NOTES.txt SkCanvas::kStrict_SrcRectConstraint disables mipmapping. 2022-04-06 17:11:47 +00:00
requirements.txt [bazel] Use hermetic Python with jinja2+MarkupSafe 2022-03-28 13:56:16 +00:00
whitespace.txt Push shaders.skia.org. 2022-01-19 21:46:16 +00:00
WORKSPACE.bazel [bazel] Add RBE support using hermetic Linux Clang toolchain 2022-03-28 13:56:16 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.