Go to file
Mike Klein 3f83bfd21c one option for fixing bilerp asserts
One option for fixing bilerp asserts is just to commit to clamping its
output.  Will write up another option that I think mirrors the GPU
backend more closely as a patch on top of this CL.

Few minor things here too:
   - Use clamp() more now that we have it.
   - Update assert_true() calls to print out the interesting value
     instead of the condition.
   - Clamp alpha before rgb for clarity in the case we're clamping rgb
     to that clamped alpha.  Either order actually works, but this order
     is more obviously correct.

Change-Id: I8f05834fd862ba8bb45b961e01563af091232c95
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/262811
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-01-07 18:42:53 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Extend SkCanvas matrix stack to be 4x4, but with (basically) the same public API. 2020-01-07 18:23:04 +00:00
bin [infra] Fix bin/try 2019-11-15 19:44:04 +00:00
build/fuchsia Add logger service. 2020-01-04 02:27:14 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm Remove an uncessary and unused parameter for partially generating the JSON command list 2019-12-13 19:30:03 +00:00
docker Make OUTPUT_DIRECTORY in ProdDoxyfile configurable 2019-12-18 16:46:25 +00:00
docs/examples Remove SkIRect::EmptyIRect 2020-01-06 20:57:56 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Support using an externally manage list of images in UrlDataManager for wasm debugger. 2020-01-03 21:25:12 +00:00
fuzz Make it safe to include SkRuntimeEffect.h from client code 2019-12-30 21:06:56 +00:00
gm Revert "Rename GrSimpleTextureEffect->GrTextureEffect" 2020-01-07 15:07:09 +00:00
gn Extend SkCanvas matrix stack to be 4x4, but with (basically) the same public API. 2020-01-07 18:23:04 +00:00
include Extend SkCanvas matrix stack to be 4x4, but with (basically) the same public API. 2020-01-07 18:23:04 +00:00
infra Fixes for Vulkan Debug layers 2020-01-07 17:47:52 +00:00
modules [canvaskit] Remove support for T1 fonts and reduce code size 2020-01-06 18:49:41 +00:00
platform_tools Revert "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2019-12-27 17:38:53 +00:00
resources upgrade debugging tools 2020-01-07 18:26:22 +00:00
samplecode Revert "Rename GrSimpleTextureEffect->GrTextureEffect" 2020-01-07 15:07:09 +00:00
site Remove SkIRect::EmptyIRect 2020-01-06 20:57:56 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src one option for fixing bilerp asserts 2020-01-07 18:42:53 +00:00
tests Extend SkCanvas matrix stack to be 4x4, but with (basically) the same public API. 2020-01-07 18:23:04 +00:00
third_party [canvaskit] Remove support for T1 fonts and reduce code size 2020-01-06 18:49:41 +00:00
tools Remove SkIRect::EmptyIRect 2020-01-06 20:57:56 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn [canvaskit] Update compile.sh with initial code size findings 2020-01-02 14:05:45 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 1031d2c65b5e..51e653f03f26 (10 commits) 2020-01-07 04:44:09 +00:00
go.mod [infra] Use "mod download" and "install", not "get" in chrome_release_branch 2019-12-06 11:16:41 +00:00
go.sum [infra] Use "mod download" and "install", not "get" in chrome_release_branch 2019-12-06 11:16:41 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Use urllib_request instead of urllib2 in PRESUBMIT. 2019-10-22 20:30:56 +00:00
public.bzl public.bzl: add SKOTTIE_IOS_LIB_SDK_FRAMEWORKS 2020-01-07 18:19:22 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Remove SkIRect::EmptyIRect 2020-01-06 20:57:56 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +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.