DescriptionReduce sizeof(SkPicture::Analysis) from 24 bytes to 2 bytes.
This saves "up to" 22 bytes per SkPicture.
Due to alignment, this reduces sizeof(SkPicture):
- from 88 to 72 bytes on Linux x64
- from 68 to 48 bytes on Android
(with Chrome's build settings)
It also somewhat simplifies the GPU veto logic.
BUG=skia:
[mtklein] No public API changes.
TBR=reed@google.com
Committed: https://skia.googlesource.com/skia/+/de8667b81f2fed2fbecba68e751756a48df5e0dd
Patch Set 1 : #Patch Set 2 : rebase #
Total comments: 2
Patch Set 3 : #
Total comments: 4
Patch Set 4 : robertphillips nits #
Messages
Total messages: 18 (8 generated)
|