skia /
skia /
4786936b4c0c29fece10661592581ddce5940df0 Revert "[graphite] Swap shape inversion for ClipOps."
This reverts commit 9f6220cc2bbdecfcbc59b93955e72c3a4e650930.
Reason for revert: This is causing a significant perf regression.
Original change's description:
> [graphite] Swap shape inversion for ClipOps.
>
> When using depth-based clipping alone it made sense to pre-swap
> the inverse clip because that's what it's expecting. With the
> addition of analytic and atlas-based clipping this becomes confusing
> because normally we'd expect Intersect to imply regular and Difference
> to imply inverse. This CL pushes the swap for depth-based clipping
> until the actual draw.
>
> Bug: b/238762307
> Change-Id: I61b05778928610866a1fb14d597eb1b8a5ad3a23
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/895608
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Bug: b/238762307
Change-Id: I3bcb79c187b43af2f465f14689dd2b1f663a9422
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/896593
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2 files changed