commit | 489cfff4ad8a67c03f93e17f6650bb04398a021d | [log] [tgz] |
---|---|---|
author | Matt Sarett <msarett@google.com> | Fri Apr 21 18:08:40 2017 -0400 |
committer | Matt Sarett <msarett@google.com> | Wed May 03 13:47:29 2017 -0400 |
tree | ef35185e7ed8e9f8c345991bfd4577128ffb6787 | |
parent | 503af47c0a57ff3e8510806e8e195c9a96684251 [diff] |
Store an SkImageInfo on Bitmap Color type, alpha type, and color space are being removed from SkPixelRef. The Bitmap class wants these to be mutable anyway. For other uses of SkPixelRef, it is often convenient to reinterpret the swizzle, alpha type, or color space of the pixel ref. Test: Refactor skbug.com/6535 Change-Id: Ie49ac64b46e171974a53614e1803ab18300e634e