588cec7f91
GrRenderTargetOpList maintains an array of op chains. When it receives a new op it tries to add it to an existing chain, working backwards from the end of the current array. If the op can be added to a chain it additionally tries to merge the new op with ops already in the chain before adding it to the tail of the chain. In forward combining it tries to concatenate chains. If chains can concatenate it also attempts to merge ops between the two chains. Now op chaining results reported by Op subclasses must be transitive. Moreover, if op A is able to merge with B then it must be the case that any op that can chain with A will either merge or chain with any op that can chain to B. Bug: skia:8491 Change-Id: Ib6a2a669acd4257134a37d271289b8b3f247cd3f Reviewed-on: https://skia-review.googlesource.com/c/170351 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
Doxyfile | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
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.