9cced93b7a
With prior changes, it became "clear" that GrClearOp and GrClearStencilClipOp behaved very similarly, except that the stencil op did not have any onCombine logic. This just combines them in to a single clear op that will call the render pass's clear and stencil clear functions as needed. I also implemented combine logic to apply color and stencil clears in a single op if the scissor state was compatible (although there's no render pass API to combine the two clears into a single GPU function). Change-Id: I8aa749fe64cc487d187854fd0acf6b03b86f1356 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/290822 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Chris Dalton <csmartdalton@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
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.