mesa/src/gallium/drivers/swr
Ilia Mirkin 16d42f2f3d swr: call swr_update_derived unconditionally when drawing/clearing
Currently a sequence like draw/map/draw/map will cause the second map to
not wait for the second draw. This is because the first map will clear
the resource business bit, and the second draw won't reset it since no
state has changed.

swr_update_derived does a tiny bit of extra work, including updating the
SWR_BACKEND_STATE as well as waiting for prending fences. If that's a
problem, we could call swr_update_resource_status directly from
draw/clear handlers.

Fixes clearbuffer-stencil, clearbuffer-depth, clearbuffer-depth-stencil,
and clearbuffer-display-lists.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
2016-11-21 21:11:26 -05:00
..
rasterizer swr: [rasterizer memory] minify texture width before alignment 2016-11-21 21:11:26 -05:00
.clang-format mesa/build: add OpenSWR to build 2016-03-02 18:38:42 -06:00
.gitignore swr: add archrast generated files to gitignore 2016-11-15 20:25:08 -05:00
Automake.inc gallium/swr: allow swr use as a swrast dri driver 2016-04-15 14:21:50 -05:00
Makefile.am gallium: swr: Added swr build for windows 2016-11-21 12:44:47 -06:00
Makefile.sources swr: [rasterizer core] move binner functionality to separate file 2016-10-13 23:39:14 -05:00
SConscript gallium: swr: Added swr build for windows 2016-11-21 12:44:47 -06:00
swr_clear.cpp swr: call swr_update_derived unconditionally when drawing/clearing 2016-11-21 21:11:26 -05:00
swr_context.cpp swr: Handle windows.h and NOMINMAX 2016-11-21 12:44:46 -06:00
swr_context.h swr: Handle windows.h and NOMINMAX 2016-11-21 12:44:46 -06:00
swr_draw.cpp swr: call swr_update_derived unconditionally when drawing/clearing 2016-11-21 21:11:26 -05:00
swr_fence.cpp gallium: add a pipe_context parameter to fence_finish 2016-08-10 01:11:10 +02:00
swr_fence.h gallium: add a pipe_context parameter to fence_finish 2016-08-10 01:11:10 +02:00
swr_loader.cpp swr: Windows-related changes 2016-11-21 12:44:46 -06:00
swr_memory.h swr: [rasterizer memory] split load/store for compile speed 2016-10-11 11:22:04 -05:00
swr_public.h swr: Windows-related changes 2016-11-21 12:44:46 -06:00
swr_query.cpp swr: [rasterizer core] separate frontend/backend stats enables 2016-11-14 09:02:04 -06:00
swr_query.h swr: Removed stalling SwrWaitForIdle from queries. 2016-10-03 09:57:45 -05:00
swr_resource.h swr: fix resource backed constant buffers 2016-04-20 09:57:55 -05:00
swr_scratch.cpp gallium/swr: remove use of BYTE from swr driver 2016-03-10 11:20:58 -06:00
swr_scratch.h gallium/swr: add OpenSWR driver 2016-03-02 18:38:41 -06:00
swr_screen.cpp swr: renamed duplicate swr_create_screen() 2016-11-21 12:44:46 -06:00
swr_screen.h gallium/swr: Cleaned up some context-resource management 2016-03-17 20:57:52 -05:00
swr_shader.cpp swr: add support for upper-left fragcoord position 2016-11-15 20:26:11 -05:00
swr_shader.h swr: implement clipPlanes/clipVertex/clipDistance/cullDistance 2016-06-09 13:28:35 -05:00
swr_state.cpp swr: mark streamout buffers as written 2016-11-19 10:40:37 -05:00
swr_state.h swr: fix AND_INVERTED logic op conversion 2016-11-08 19:28:35 -05:00
swr_tex_sample.cpp swr: [rasterizer jitter] fixes for icc in vs2015 compat mode 2016-10-03 09:57:19 -05:00
swr_tex_sample.h swr: support samplers in vertex shaders 2016-04-12 20:18:00 -05:00