summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer.h
diff options
context:
space:
mode:
authorLouis Huemiller <lhuemill@google.com>2010-12-01 12:25:00 -0800
committerLouis Huemiller <lhuemill@google.com>2010-12-01 12:25:00 -0800
commit45e2371cb954a8f8e0aee16d1ee8bec7eae9b897 (patch)
tree112199a62e831308993234f70f40f8c150c0c109 /include/hardware/hwcomposer.h
parent1b514ad3587b20ae9b46e9e7a81f15737b8e174f (diff)
downloadhardware_libhardware-45e2371cb954a8f8e0aee16d1ee8bec7eae9b897.zip
hardware_libhardware-45e2371cb954a8f8e0aee16d1ee8bec7eae9b897.tar.gz
hardware_libhardware-45e2371cb954a8f8e0aee16d1ee8bec7eae9b897.tar.bz2
const native_handle_t* -> buffer_handle_t
Change-Id: If4ac1bcfba7192ac1339039cac75f76a5c09f4c6
Diffstat (limited to 'include/hardware/hwcomposer.h')
-rw-r--r--include/hardware/hwcomposer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h
index 1e5779c..fdf2f59 100644
--- a/include/hardware/hwcomposer.h
+++ b/include/hardware/hwcomposer.h
@@ -20,6 +20,7 @@
#include <stdint.h>
#include <sys/cdefs.h>
+#include <hardware/gralloc.h>
#include <hardware/hardware.h>
#include <cutils/native_handle.h>
@@ -148,7 +149,7 @@ typedef struct hwc_layer {
/* handle of buffer to compose. this handle is guaranteed to have been
* allocated with gralloc */
- const native_handle_t* handle;
+ buffer_handle_t handle;
/* transformation to apply to the buffer during composition */
uint32_t transform;