commit | 786b4cbe992bb2723f1de445b8e5d20abc2c5d6f | [log] [tgz] |
---|---|---|
author | Michael Ludwig <michaelludwig@google.com> | Mon Apr 22 13:28:54 2024 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Apr 23 13:56:35 2024 +0000 |
tree | 4a5bb40583a4572dc2bb6b3d9bb83350c4b91aab | |
parent | 7615d1ebbf1c3756a113472113b9e4d66265a9e7 [diff] |
[graphite] Handle failed buffer mappings in DrawWriter This is an alternative to https://skia-review.googlesource.com/c/skia/+/841836 to reduce the number of if checks (per append() instead of per attribute write), and hopefully recover some of the 7kb code size increase caused by the CL. Change-Id: I0f97f9c3015873a6cd9c80196e16d73f44993443 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/844338 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>