commit | c19b9c58862feee3a482575ae014293da02bda43 | [log] [tgz] |
---|---|---|
author | Michael Ludwig <michaelludwig@google.com> | Thu Jun 25 16:19:03 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jun 25 21:54:11 2020 +0000 |
tree | f925d9bffed6d4f86c0e6746f4e9eab37b47b96a | |
parent | a693a4704ed4dfb06ac56ce915247fa753b24ca7 [diff] |
androidFramework_replaceClip proposal Expose a android framework-only function to reset the saved clip geometry a device-space pixel rect (e.g. the device clip restriction). Using a regular intersect clip operation after this call should match the behavior of the legacy replace operation with a clip restriction. This is a step to removing the separate device clip restriction API and the deprecated expanding clip ops, as part of the plan described here: https://docs.google.com/document/d/1ddIk74A1rL5Kj5kGcnInOYKVAXs3J2IsSgU5BLit0Ng/edit?usp=sharing Bug: skia:10207 Bug: skia:10209 Change-Id: I57d3bcc7b5b257935eb2bf2099d472f2ef354d5b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/298824 Reviewed-by: Derek Sollenberger <djsollen@google.com> Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>