[Mesa-dev] [PATCH v4 0/5] Implement commont gralloc_handle_t in libdrm

Robert Foss robert.foss at collabora.com
Mon Feb 12 13:35:44 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.


Changes since v3:
  Rob Herring
  - Drop patch:
    android: Change gralloc_handle_t format from Android format to fourcc

Robert Foss (5):
  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 members to be fixed width

 Android.mk               |   8 +++-
 Makefile.sources         |   3 ++
 android/gralloc_handle.h | 108 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 117 insertions(+), 2 deletions(-)
 create mode 100644 android/gralloc_handle.h

-- 
2.14.1



More information about the mesa-dev mailing list