cbe4e2822c
GrTextureOp was attempting to detect subset-rectangles that wouldn't affect the rendering output and could be ignored. Unfortunately, this optimization attempt had various flaws--small, one-pixel cracks on the edge of the border when AA was off, and highly-visible red fuzz on the edges of textures when MSAA was enabled. This CL limits the optimization to cases where the source and destination quads are axis-aligned rectangles, or cases where the inset is more than a half- pixel deep. This fix was made for both the single-image and batch drawing path, and generalized as much as possible to allow the code to be shared. This CL also cleans up the test code slightly. Bug: skia:10263, skia:10277 Change-Id: I200aaab47737b5ba0f559182ef4d0dfe0b719d50 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/291197 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
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.