diff options
author | Mathias Agopian <mathias@google.com> | 2012-02-24 14:58:36 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-02-24 14:58:36 -0800 |
commit | e9d4c71f47f74ee9a4a490f62769ad010a17d19b (patch) | |
tree | 8227f4727eb45324bf96bb18e4290f206f19108f /include | |
parent | 2d77b5332ac4ef5b252fbd8f56a195e0fce03292 (diff) | |
download | frameworks_base-e9d4c71f47f74ee9a4a490f62769ad010a17d19b.zip frameworks_base-e9d4c71f47f74ee9a4a490f62769ad010a17d19b.tar.gz frameworks_base-e9d4c71f47f74ee9a4a490f62769ad010a17d19b.tar.bz2 |
deprecate L_8, LA_88 and RGB_332 in sdk
re-add support for pixelformats L_8, LA_88 and RGB_332 in libui
for backward compatibility.
This may or may not fix 6058926
Bug: 6049685
Change-Id: Ic1b8b4cc994522f7fe664da64c0ef76b98bc6d53
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/PixelFormat.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/ui/PixelFormat.h b/include/ui/PixelFormat.h index fc260c4..9f3e267 100644 --- a/include/ui/PixelFormat.h +++ b/include/ui/PixelFormat.h @@ -64,9 +64,6 @@ enum { PIXEL_FORMAT_RGBA_5551 = HAL_PIXEL_FORMAT_RGBA_5551, // 16-bit ARGB PIXEL_FORMAT_RGBA_4444 = HAL_PIXEL_FORMAT_RGBA_4444, // 16-bit ARGB PIXEL_FORMAT_A_8 = 8, // 8-bit A - - // New formats can be added if they're also defined in - // pixelflinger/format.h }; typedef int32_t PixelFormat; @@ -80,10 +77,12 @@ struct PixelFormatInfo { }; enum { // components - ALPHA = 1, - RGB = 2, - RGBA = 3, - OTHER = 0xFF + ALPHA = 1, + RGB = 2, + RGBA = 3, + L = 4, + LA = 5, + OTHER = 0xFF }; struct szinfo { |