[Mesa-dev] [PATCH v2 0/6] Implement commont gralloc_handle_t in libdrm

Robert Foss robert.foss at collabora.com
Mon Jan 29 17:37:55 UTC 2018

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.

A second series is expected to be submitted, which will contain an accessor
function implementation that should that would allow each gralloc to
implementation to supply their own accessors.

Robert Foss (6):
  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.mk               |   8 +++-
 Makefile.sources         |   3 ++
 android/gralloc_handle.h | 109 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 118 insertions(+), 2 deletions(-)
 create mode 100644 android/gralloc_handle.h


More information about the mesa-dev mailing list