diff options
author | Mathias Agopian <mathias@google.com> | 2010-11-02 20:57:14 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-12-03 17:35:07 -0800 |
commit | 48e723a0ee9b625825d23642f843b91fa276ab7c (patch) | |
tree | 51c657d5f49e1efee636f2e1aed19b90e22707bd /include/ui/android_native_buffer.h | |
parent | e33811512eb061338792dbb0dbd37a1b8e4e1079 (diff) | |
download | frameworks_base-48e723a0ee9b625825d23642f843b91fa276ab7c.zip frameworks_base-48e723a0ee9b625825d23642f843b91fa276ab7c.tar.gz frameworks_base-48e723a0ee9b625825d23642f843b91fa276ab7c.tar.bz2 |
[3171580] Add transform field to native buffers. (DO NOT MERGE)
This field indicate how the content of the buffer
needs to be transformed.
Change-Id: Ide3e980a90599e931406135693231276626adbbb
Diffstat (limited to 'include/ui/android_native_buffer.h')
-rw-r--r-- | include/ui/android_native_buffer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/ui/android_native_buffer.h b/include/ui/android_native_buffer.h index 402843e..a472824 100644 --- a/include/ui/android_native_buffer.h +++ b/include/ui/android_native_buffer.h @@ -51,8 +51,12 @@ typedef struct android_native_buffer_t int stride; int format; int usage; - - void* reserved[2]; + + /* transformation as defined in hardware.h */ + uint8_t transform; + + uint8_t reserved_bytes[3]; + void* reserved[1]; buffer_handle_t handle; |