fe13ca3e67
(also renames CreateTextureSetOps to AddTextureSetOps, to match naming of GrFillRectOp::AddFillRectOps). Now that GrTextureOp can add more than one op to the GrRTC, it can take over ownership of its fallback code for the texture set. It already had taken over the code for non src-over blends when drawing a single texture. Besides consolidating where the logic of converting TextureSetEntries into op data lives, this makes the fallback case more consistent in terms of performance. Previously, it would go through GrRTC::drawTexturedQuad, which attempts to merge the clip with the draw for correctness reasons. A batch never attempted these optimizations, so now even when one op per quad is required, there won't be the overhead of comparing clips. Change-Id: I30883e3bd45ed4386f81584e3d68229c46b17e47 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255781 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.