7c6a4a898b
Previously, the normalization, origin flip, and insetting occurred simultanesouly. The problem was that whether or not the insetting was needed had a cyclic dependency with the overall filter level (not known until the end of the loop). So it had an ugly hack that kept track of the early appended quads and would update their domains if needed. This will no longer work when perspective clipping is implemented because we won't have a 1-1 mapping from quads+viewcount pairs back to the texture set entries. However, by splitting the insetting out from the rest of the normalization step, we can defer it until we're in onPrePrepare w/o losing any optimization capabilities and scales with the perspective clipping change in the future. It should also make it easier to upgrade an op from kNearest to kBilerp in onCombineIfPossible because the prior op will not have applied the bilerp-insetting yet. Bug: skia:9779 Change-Id: I71b269730de200b8452e2a6b39b777928967f621 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269151 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.