0dc6445a46
Every command that's in a DrawList will produce 1-3 SortKeys (depending on its type of draw and the number of steps involved). For example a large non-convex path fill requires a stencil draw for the curves, a stencil draw of its inner triangles, and a covering draw for shading. Since the SortKeys are only temporary and can be discarded once the list has finished being converted into the DrawPass itself, they are defined in the cpp file. However, I could see exposing them if only so that the conceptual model is more apparent, since this is a key part of the new approach in graphite. Related to the details of the SortKey, the DrawList and SDC APIs have been updated to reflect the differences in stencil-and-fill path rendering that needs to be ordered based on both its color-depth intersections and stencil buffer intersections, and convex filled paths that don't require stenciling at all. As a little cleanup, these parameters have been named something to reflect their semantics even though they stay uint16_t's. Bug: skia:12466 Change-Id: I02d6361f2889c0a6b341623131e4abda00a11145 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/455216 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com> |
||
---|---|---|
animations | ||
bazel | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.bazelignore | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.bazel | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
DIR_METADATA | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt | ||
WORKSPACE.bazel |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.