summaryrefslogtreecommitdiffstats
path: root/include/ui/android_native_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/android_native_buffer.h')
-rw-r--r--include/ui/android_native_buffer.h8
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;