copybit now uses a native_handle_t* instead of a fd/offset
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 @@
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 */