704d5408db
To facilitate this, the GrQuadBuffer::Iter's local GrQuads that are modified on each next() are now allowed to be operated on for the AA inset/outsetting. Previously this required additional GrQuads on the stack to hold the results, and additional guards for accessing localQuad() when the entry didn't have actual coords. With this change, a 2D op should have its device and src GrQuads' Ws set to 1 once, and then they are completely ignored for all iteration and tessellation, without any more redundant initialization. In all likelihood we won't see the needle move on powerful platforms, but may help lower end devices. Change-Id: I457205786766403a760918e779d36ba056d69cde Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256097 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Michael Ludwig <michaelludwig@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.