summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-06-24 16:54:44 -0700
committerMathias Agopian <mathias@google.com>2009-06-24 20:36:52 -0700
commit689fa73c067e1618bbdb62f32c2a34750b8ec48b (patch)
tree6d870b55c36740a2aec2d8a098d30a67129779ba /include
parent31802ca9c030b8f9a137f32826e9c9a76d0d6e17 (diff)
downloadhardware_libhardware-689fa73c067e1618bbdb62f32c2a34750b8ec48b.zip
hardware_libhardware-689fa73c067e1618bbdb62f32c2a34750b8ec48b.tar.gz
hardware_libhardware-689fa73c067e1618bbdb62f32c2a34750b8ec48b.tar.bz2
copybit now uses a native_handle_t* instead of a fd/offset
Diffstat (limited to 'include')
-rw-r--r--include/hardware/copybit.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/hardware/copybit.h b/include/hardware/copybit.h
index 6eaa975..833aa32 100644
--- a/include/hardware/copybit.h
+++ b/include/hardware/copybit.h
@@ -103,12 +103,10 @@ struct copybit_image_t {
uint32_t h;
/* format COPYBIT_FORMAT_xxx */
int32_t format;
- /* offset from base to first pixel */
- uint32_t offset;
/* base of buffer with image */
- void *base;
- /* file descriptor for image */
- int fd;
+ void *base;
+ /* handle to the image */
+ native_handle_t* handle;
};
/* Rectangle */