commit | 7fb4c9e4bb10e17d28a09bd84d364171359a1941 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Tue Apr 09 08:55:28 2019 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Tue Apr 09 08:55:28 2019 -0400 |
tree | f57035bc465f4fe068d0c77b4c3f78fa0d5fbce9 | |
parent | 39a9df4de8683c46aa8d75e63f6660de8dc3339d [diff] |
Ensure that hardware Bitmap has a ColorSpace Bug: 129355537 Test: I9e004fbb7c966bb58ae374087fecd66a1bb72346 android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode in SkiaGL could create an android::Bitmap without an SkColorSpace. Treat HAL_DATASPACE_UNKNOWN as sRGB, as this is how we treat it internally. Change-Id: Iad7f7d7cafce0a8759a84a4296ae5c3ce86dff4c