[Mesa-dev] [PATCH v1 4/7] android: Remove member name from gralloc_handle_t
Robert Foss
robert.foss at collabora.com
Tue Jan 16 17:36:09 UTC 2018
The name member of gralloc_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/gralloc_handle.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h
index e4ef8179f584..827c001fdcbb 100644
--- a/android/gralloc_handle.h
+++ b/android/gralloc_handle.h
@@ -42,7 +42,6 @@ struct gralloc_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 */
@@ -53,7 +52,7 @@ struct gralloc_handle_t {
} __attribute__((aligned(8)));
};
-#define GRALLOC_HANDLE_VERSION 1
+#define GRALLOC_HANDLE_VERSION 2
#define GRALLOC_HANDLE_MAGIC 0x60585350
#define GRALLOC_HANDLE_NUM_FDS 1
#define GRALLOC_HANDLE_NUM_INTS ( \
--
2.14.1
More information about the mesa-dev
mailing list