[Mesa-dev] [RFC libdrm 4/5] android: Remove member name from alloc_handle_t
Robert Foss
robert.foss at collabora.com
Wed Dec 13 17:30:13 UTC 2017
The name member of alloc_handle_t is no longer needed and has been removed.
The version field has also been bumped.
Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
android/alloc_handle.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/android/alloc_handle.h b/android/alloc_handle.h
index fe93ad7e6567..ed9a720a8990 100644
--- a/android/alloc_handle.h
+++ b/android/alloc_handle.h
@@ -41,7 +41,6 @@ struct alloc_handle_t {
int format; /* pixel format (Android) */
int usage; /* android libhardware usage flags */
- int name; /* the name of the bo */
int stride; /* the stride in bytes */
uint64_t modifier; /* buffer modifiers */
@@ -52,7 +51,7 @@ struct alloc_handle_t {
} __attribute__((aligned(8)));
};
-#define ALLOC_HANDLE_VERSION 2
+#define ALLOC_HANDLE_VERSION 3
#define ALLOC_HANDLE_MAGIC 0x60585350
#define ALLOC_HANDLE_NUM_FDS 1
#define ALLOC_HANDLE_NUM_INTS ( \
--
2.14.1
More information about the mesa-dev
mailing list