commit | b2e9f5244b5a78423ba33c364bb658e43851db21 | [log] [tgz] |
---|---|---|
author | renn <[email protected]> | Wed Sep 26 10:49:00 2018 -0700 |
committer | John Reck <[email protected]> | Thu Oct 04 17:15:10 2018 +0000 |
tree | aac01739fb7c790738ded3e7287f34cdfb010331 | |
parent | 73ff9c527497e82d616e97ce8e10ced6d8a96565 [diff] |
Add HardwareBuffer support to Bitmaps This adds a new public constructor to Bitmap to allow passing in a HardwareBuffer to back the Bitmap. Currently, the format of the HardwareBuffer must be RGBA_8888. One-Pager: https://docs.google.com/document/d/1n72X-gJZhjeajp4FIQwsGPKFiHBSeWYjC6fkXYe_bS0/edit?usp=sharing Bug: 116713113 Test: manual - ran CTS tests Change-Id: Ic437825138eafea526326e6cf300f116867ba29e