mesa/src
Brian Paul ee5f5e2269 svga: reduce unmapping/remapping of the default constant buffer
Previously, every time we put shader constants into the default constant
buffer we called u_upload_alloc(), which mapped the buffer, and
u_upload_unmap().  We had to unmap the buffer before calling
svga_buffer_handle() to get the winsys handle for the buffer.  But we
really only need to do that the first time we reference the const buffer.
Now we try to keep the upload manager's buffer mapped until we fill it or
flush the command buffer.

v2: add additional comment on the buffer unmapping code in
svga_context_flush(), per Charmaine.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2016-09-17 10:09:00 -06:00
..
amd radeonsi/compute: Use the HSA abi for non-TGSI compute shaders v3 2016-09-16 23:07:10 +00:00
compiler glsl: remove interpolateAt* instructions for demoted inputs 2016-09-16 22:35:08 +02:00
egl egl: Add storage for EGL_KHR_debug's state to EGL objects 2016-09-14 11:45:58 -04:00
gallium svga: reduce unmapping/remapping of the default constant buffer 2016-09-17 10:09:00 -06:00
gbm gbm: remove left-over array 2016-09-14 14:37:34 +01:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl Introduce .editorconfig 2016-08-31 17:06:54 -07:00
intel isl: Finish tiling filtering for Gen6. 2016-09-15 21:21:50 -07:00
loader loader/dri3: Always use at least two back buffers 2016-09-06 13:04:48 +09:00
mapi direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
mesa mesa: Move buffers-unmapped earlier in check_valid_to_render(). 2016-09-16 19:42:56 -07:00
util u_endian: add android to glibc clause 2016-09-13 10:04:13 +10:00
Makefile.am mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00