This series moves {gbm,drm,cros}_gralloc_handle_t struct to libdrm, since at least 4 implementations exist, and share a lot of contents. The idea is to keep the common stuff defined in one place, and libdrm is the common codebase to all of these platforms.
Additionally, having this struct defined in libdrm will make it easier for mesa and gralloc implementations to communicate. Robert Foss (7): android: Move gralloc handle struct to libdrm android: Add version variable to gralloc_handle_t android: Mark gralloc_handle_t magic variable as const android: Remove member name from gralloc_handle_t android: Change gralloc_handle_t format from Android format to fourcc android: Change gralloc_handle_t members to be fixed width android: Add accessor functions for gralloc_handle_t variables Android.mk | 8 ++- Makefile.sources | 3 + android/gralloc_handle.h | 147 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 156 insertions(+), 2 deletions(-) create mode 100644 android/gralloc_handle.h -- 2.14.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev