Go to file
John Stiles 3e62762229 Clean up GrColorSpaceXformEffect to allow a null child FP.
Previously, GrColorSpaceXformEffect had separate Make methods; one took
a child FP, the other did not, and they had slightly different color-
transform inputs (the destination alpha type was assumed to be premul
when a child FP was provided). A null FP was considered invalid.

This has been updated to work more like other FPs. An childFP must
always be supplied, and nullptr is interpreted as "use the sk_InColor".
The destination alpha type is now always supplied. Existing call sites
were fixed up as needed.

Previously, the child-FP path would actually render the product of the
child FP and the sk_InColor. This extra multiplication step no longer
occurs; the sk_InColor is simply ignored when a child FP is used. In
practice, this did not affect any existing GM tests.

Change-Id: Id53449234948255cbdaab9b88b1c94201eeb0a0d
Bug: skia:10217
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/299576
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-06-29 18:06:04 +00:00
animations
bench Finish the DDL sk_sp migration 2020-06-29 16:49:54 +00:00
bin bin/try: automatically set 'git cl issue' when not found 2020-06-25 17:44:01 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Remove SkBitmapRegionDecoder and SkBRDAllocator 2020-06-01 20:56:29 +00:00
demos.skia.org [demos] Move to subdir 2020-06-23 17:29:37 +00:00
dm Finish the DDL sk_sp migration 2020-06-29 16:49:54 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Finish the DDL sk_sp migration 2020-06-29 16:49:54 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental [skrive] Rectangle support 2020-06-26 15:12:00 +00:00
fuzz replace max_len with if statements 2020-06-16 17:26:30 +00:00
gm Remove GrFragmentProcessor::addCoordTransform() 2020-06-29 16:58:54 +00:00
gn Add storage on the surface for its last render task 2020-06-29 16:10:46 +00:00
include Finish the DDL sk_sp migration 2020-06-29 16:49:54 +00:00
infra Update SKP version 2020-06-28 08:53:05 +00:00
modules Cleanup for TextLine::getGlyphPositionAtCoordinate. 2020-06-25 16:27:39 +00:00
platform_tools Move InputStream handling of SkottieLib to SkottieView 2020-06-29 14:08:35 +00:00
resources Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
samplecode show fat stroking on lines or curves 2020-06-26 19:13:00 +00:00
site Regularize selection of fontmgr. 2020-06-11 12:28:03 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Clean up GrColorSpaceXformEffect to allow a null child FP. 2020-06-29 18:06:04 +00:00
tests Remove GrFragmentProcessor::addCoordTransform() 2020-06-29 16:58:54 +00:00
third_party Tweak scripts to fix CK builds with python 3 2020-06-29 12:59:05 +00:00
tools Finish the DDL sk_sp migration 2020-06-29 16:49:54 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Reland the new module for skia lib for g3 2020-06-23 14:19:13 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn Reland "Add async rescale and read APIs to SkImage." 2020-06-26 18:17:21 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
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 SwiftShader from eb0a25a189b7 to b3240d0c355a (2 revisions) 2020-06-29 05:47:05 +00:00
go.mod Update Go Deps 2020-06-25 05:44:30 +00:00
go.sum Update Go Deps 2020-06-25 05:44:30 +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 PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Fix public.bzl formatting 2020-06-23 16:27:17 +00:00
README
README.chromium
RELEASE_NOTES.txt Reland "Add async rescale and read APIs to SkImage." 2020-06-26 18:17:21 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +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.