commit | 44976535e2ab993c3290e4e1d99c19b058c34c94 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Apr 26 14:10:05 2024 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Fri Apr 26 19:47:31 2024 +0000 |
tree | af43e8bd3a316ff532a40b4e17ec008538ac359a | |
parent | 2c908008c0d389a1c308b01cdc8c218c602921f3 [diff] |
Properly pre-size path storage in addOval and addRRect This takes advantage of the new semantics of incReserve, allowing us to reserve storage for all path data. Change-Id: I0b76ec4fc126b7ace644a4d71adf5a281e3b6779 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/846605 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>