mesa/src
Rob Herring 8aeb6d768b gbm: Add map/unmap functions
This adds map and unmap functions to GBM utilizing the DRIimage extension
mapImage/unmapImage functions or existing internal mapping for dumb
buffers. Unlike prior attempts, this version provides a region to map and
usage flags for the mapping. The operation follows the same semantics as
the gallium transfer_map() function.

This was tested with GBM based gralloc on Android.

Signed-off-by: Rob Herring <robh@kernel.org>
[Emil Velikov: drop no longer relevant hunk from commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2016-05-23 12:07:46 +01:00
..
compiler glsl/linker: dvec3/dvec4 consume twice input vertex attributes 2016-05-23 10:48:07 +02:00
egl gbm: rename gbm_dri_bo_{map,unmap} to gbm_dri_bo_{map,unmap}_dumb 2016-05-23 12:07:46 +01:00
gallium st/dri: Add support for DRIimage extension mapImage/unmapImage 2016-05-23 12:07:46 +01:00
gbm gbm: Add map/unmap functions 2016-05-23 12:07:46 +01:00
getopt
glx dri3: Check for dummyContext to see if the glx_context is valid 2016-04-27 13:03:34 +01:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
intel anv/nir_apply_pipeline_layout: Pass the nir_src from the nir_tex_src 2016-05-21 19:57:31 +02:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi glapi/gen: Copy some GL 1.0 enum details into ARB_viewport_array 2016-05-17 15:04:56 -04:00
mesa i965/fs: do not depend on std140 alignment rules for UBO loads 2016-05-23 08:56:57 +02:00
util util: Add ATTRIBUTE_RETURNS_NONNULL. 2016-05-16 11:06:15 -07:00
Makefile.am automake: tweak SUBDIR reorder and comment it 2016-05-01 08:38:05 +01:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00