mesa/src/mesa
Kenneth Graunke 02ca66fbc3 i965: Use unsynchronized maps for the program cache on LLC platforms.
There's no reason to stall on pwrite - the CPU always appends to the
buffer and never modifies existing contents, and the GPU never writes
it.  Further, the CPU always appends new data before submitting a batch
that requires it.

This code predates the unsynchronized mapping feature, so we simply
didn't have the option when it was written.

Ideally, we would do this for non-LLC platforms too, but unsynchronized
mapping support only exists for LLC systems.

Saves a bunch of stall avoidance copies when uploading shaders.

v2: Rebase on changes to previous patch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> [v1]
2014-10-13 06:55:08 -07:00
..
drivers i965: Use unsynchronized maps for the program cache on LLC platforms. 2014-10-13 06:55:08 -07:00
main mesa: fix error reported on gTexSubImage2D when level not valid 2014-10-10 15:01:51 +03:00
math mesa: Drop _mesa_getenv() wrapper. 2014-09-24 09:58:43 -07:00
program st/mesa: Fix paths used in Android builds 2014-10-03 01:25:35 +01:00
sparc mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
state_tracker glsl: Make ir_variable::num_state_slots and ir_variable::state_slots private 2014-09-30 13:34:42 -07:00
swrast mesa: Add MESA_FORMAT_{A8R8G8B8, X8R8G8B8, X8B8G8R8}_SRGB (v2) 2014-09-17 13:19:45 +10:00
swrast_setup swrast: Fix vertex color in _swsetup_Translate() 2014-04-24 08:16:00 -06:00
tnl mesa: Replace IS_NEGATIVE(x) with x < 0.0f. 2014-09-25 13:57:29 -07:00
tnl_dd s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
vbo mesa: Drop the always-software-primitive-restart paths. 2014-09-30 11:00:52 -07:00
x86 mesa: remove last DJGPP remains 2014-09-27 15:20:49 +01:00
x86-64 mesa: Drop _mesa_getenv() wrapper. 2014-09-24 09:58:43 -07:00
.gitignore build: Build gen_matypes and matypes.h from src/mesa. 2013-11-07 10:00:25 -08:00
Android.gen.mk st/mesa: Generate format_info.c in Android builds 2014-10-03 01:25:32 +01:00
Android.libmesa_dricore.mk st/mesa: Fix paths used in Android builds 2014-10-03 01:25:35 +01:00
Android.libmesa_glsl_utils.mk util: Include in Android builds 2014-10-03 01:25:28 +01:00
Android.libmesa_st_mesa.mk st/mesa: Fix paths used in Android builds 2014-10-03 01:25:35 +01:00
Android.mesa_gen_matypes.mk android, mesa_gen_matypes: pull in timespec POSIX definition 2014-06-09 22:51:34 +01:00
Android.mk automake,android: Build program/ into a helper lib (v2) 2012-11-12 15:52:42 -08:00
gl.pc.in
Makefile.am Revert "mesa: fix make tarballs" 2014-09-02 11:39:29 +01:00
Makefile.sources mesa: Move register_allocate.c to util. 2014-09-23 13:40:10 -07:00
SConscript mesa/formats: Autogenerate the format_info structure from a CSV file 2014-08-05 10:56:15 -07:00