2e7ed26cc7
Previously, all backends were responsible to check for dynamic state and update it during their internal draw calls. This CL adds setScissor() and bindTextures() methods to GrOpsRenderTask, and places this responsibility to update dynamic state on Ganesh instead. It also replaces the backend-specific "onDrawMeshes" call, with a singular "onDrawMesh" call that gets called for each mesh. For now we keep drawMeshes() on GrOpsRenderPass for convenience, but it will soon be removed and each call site will be responsible to set its own dynamic state. Change-Id: If141feae857b22cbf04416557d0c89986eda2a62 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/271976 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Jim Van Verth <jvanverth@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.