commit | a418aa7dd5e94cbf1ab2a6fa1c63f60e5e087d42 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@google.com> | Mon Mar 17 12:10:02 2014 -0700 |
committer | Doug Zongker <dougz@google.com> | Mon Mar 17 12:27:08 2014 -0700 |
tree | 629541c511f84bd4c42ef3de7ad099001874f05c | |
parent | 026ebe0214d6c1c9b3ddc22c35e9ac37e5f622bc [diff] |
refactor image resource loading code in minui Reduce the number of copies of libpng boilerplate. Rename res_create_* functions to be more clear. Make explicit the use of the framebuffer pixel format for images, and handle more combinations of input and output (eg, loading a grayscale image for display rather than use as a text alpha channel). Change-Id: I3d41c800a8f4c22b2f0167967ce6ee4d6b2b8846