mesa/src
Kristian Høgsberg 5fad83bdf8 mesa: Use _mesa_lock_context_textures in _mesa_GetTexParameterfv()
GetTexParamterfv() doesnt change texture state, so instead of
_mesa_lock_texture() we can use _mesa_lock_context_textures(),
which doesn't increase the texture stamp.  With this change,
_mesa_update_state_locked() is now only called from under
_mesa_lock_context_textures(), which is right thing to do.  Right now
it's the same mutex, but if we made texture locking more fine grained
locking one day, just locking one texture here would be wrong.

This all ignores the fact that texture locking seem a bit
flaky and broken, but we're trying to not blatantly make it worse.

This change allows us to reliably unlock the context textures in the
dd::UpdateState callback as is necessary for meta color resolves.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
2014-08-15 11:25:25 -07:00
..
egl egl_dri2: fix EXT_image_dma_buf_import fds 2014-08-14 21:30:57 +03:00
gallium st/dri: Add __DRI2rendererQueryExtension support 2014-08-15 17:42:47 +01:00
gbm gbm: Log at least one dlerror() when we fail to open any drivers. 2014-07-30 22:31:30 -07:00
getopt
glsl glsl: Mark program as using dFdy if coarse/fine variant is used 2014-08-15 18:03:53 +12:00
glx glx/drisw: add support for DRI2rendererQueryExtension 2014-08-15 17:35:37 +01:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader android: loader: prefix static libraries with libmesa_* 2014-08-13 00:46:57 +01:00
mapi mesa: add ARB_texture_barrier support 2014-08-14 20:25:32 -04:00
mesa mesa: Use _mesa_lock_context_textures in _mesa_GetTexParameterfv() 2014-08-15 11:25:25 -07:00
util util: remove ralloc_test 2014-08-08 19:23:25 +01:00
Makefile.am automake: handle gallium SUBDIRs in gallium/Makefile 2014-08-13 00:46:54 +01:00
SConscript util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00