summaryrefslogtreecommitdiff
path: root/src/egl/drivers/dri2/platform_wayland.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-11-08 22:06:51 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-11-15 13:39:39 -0800
commit76434775e07abe9f1f372284c0fd46d6fffccfa6 (patch)
treecfb9775600252fbd2ba3d508fbc152a08ffc4114 /src/egl/drivers/dri2/platform_wayland.c
parent236524430228e2cc090d89652a0a46591ebe7ac0 (diff)
gbm: Add support for __DRIimage based getBuffers when available
This lets us allocate color buffers as __DRIimages and pass them into the driver instead of having to create a __DRIbuffer with the flink that requires. With this patch, we can now run gbm on render-nodes. A render-node is a drm device that doesn't support modesetting and all the legacy DRI ioctls. flink is also not supported, but now that gbm doesn't need flink, we can run piglit on head-less gbm or head-less GPGPU. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Jordan Justen <jordan.l.justen@intel.com> Cc: "10.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 04e3ef00dbeab177793954781ddfd298724b6d8d)
Diffstat (limited to 'src/egl/drivers/dri2/platform_wayland.c')
0 files changed, 0 insertions, 0 deletions