mesa/src
Marek Olšák dca350201e mesa: allow buffers to be mapped multiple times
OpenGL allows a buffer to be mapped only once, but we also map buffers
internally, e.g. in the software primitive restart fallback, for PBOs,
vbo_get_minmax_index, etc. This has always been a problem, but it will
be a bigger problem with persistent buffer mappings, which will prevent
all Mesa functions from mapping buffers for internal purposes.

This adds a driver interface to core Mesa which supports multiple buffer
mappings and allows 2 mappings: one for the GL user and one for Mesa.

Note that Gallium supports an unlimited number of buffer and texture
mappings, so it's not really an issue for Gallium.

v2: fix unmapping in xm_dd.c, remove the GL errors there
v3: fix the intel driver (by Fredrik)

Reviewed-by: Fredrik Höglund <fredrik@kde.org>
2014-02-25 16:07:33 +01:00
..
egl egl/wayland: explicitly set __DRIimageLoaderExtension members 2014-02-23 16:42:16 +00:00
gallium gallium/upload_mgr: remove useless variable "size" 2014-02-25 16:07:33 +01:00
gbm gbm: explicitly set __DRIimageLoaderExtension members 2014-02-23 16:42:17 +00:00
getopt
glsl glsl/i965: move lower_offset_array up to GLSL compiler level. 2014-02-25 13:28:57 +10:00
glx glx/drisw: use the implemented version of __DRIswrastLoaderExtension 2014-02-23 16:42:17 +00:00
gtest gtest: enable subdir-objects to prevent automake warnings 2013-11-16 14:01:27 +00:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader dri: Add a useful error message if someone's packages missed libudev deps. 2014-02-01 10:09:11 -08:00
mapi glapi: add ARB_buffer_storage 2014-02-25 16:04:22 +01:00
mesa mesa: allow buffers to be mapped multiple times 2014-02-25 16:07:33 +01:00
Makefile.am loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00