Module: Mesa Branch: master Commit: d5b23dfc1c07f98afe749053b9cb4b69829fe3d4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5b23dfc1c07f98afe749053b9cb4b69829fe3d4
Author: Marek Olšák <[email protected]> Date: Tue Aug 13 21:49:59 2013 +0200 r600g: move streamout state to drivers/radeon This streamout state code will be used by radeonsi. There are new structures r600_common_context and r600_common_screen. What is inherited by what is shown here: pipe_context -> r600_common_context -> r600_context pipe_screen -> r600_common_screen -> r600_screen The common structures reside in drivers/radeon. Currently they only contain enough functionality to be able to handle streamout. Eventually I'd like the whole pipe_screen implementation to be shared and some of the context stuff too. This is quite big, but most changes are because of the new structures and the fact r600_write_value is replaced by radeon_emit. Thanks to Tom Stellard for fixing the build for r600g/compute. Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Tested-by: Tom Stellard <[email protected]> --- src/gallium/drivers/r600/compute_memory_pool.c | 4 +- src/gallium/drivers/r600/evergreen_compute.c | 130 ++++---- src/gallium/drivers/r600/evergreen_hw_context.c | 71 +--- src/gallium/drivers/r600/evergreen_state.c | 454 +++++++++++----------- src/gallium/drivers/r600/evergreend.h | 16 +- src/gallium/drivers/r600/r600_asm.c | 8 +- src/gallium/drivers/r600/r600_blit.c | 42 +- src/gallium/drivers/r600/r600_buffer.c | 28 +- src/gallium/drivers/r600/r600_hw_context.c | 363 +++++------------- src/gallium/drivers/r600/r600_isa.c | 4 +- src/gallium/drivers/r600/r600_pipe.c | 313 ++++++++-------- src/gallium/drivers/r600/r600_pipe.h | 201 +---------- src/gallium/drivers/r600/r600_query.c | 58 ++-- src/gallium/drivers/r600/r600_resource.c | 8 +- src/gallium/drivers/r600/r600_resource.h | 28 +-- src/gallium/drivers/r600/r600_shader.c | 16 +- src/gallium/drivers/r600/r600_state.c | 356 +++++++++--------- src/gallium/drivers/r600/r600_state_common.c | 309 ++++++---------- src/gallium/drivers/r600/r600_texture.c | 40 +- src/gallium/drivers/r600/r600_uvd.c | 14 +- src/gallium/drivers/r600/sb/sb_core.cpp | 4 +- src/gallium/drivers/radeon/Makefile.sources | 2 + src/gallium/drivers/radeon/r600_cs.h | 97 +++++ src/gallium/drivers/radeon/r600_pipe_common.c | 85 +++++ src/gallium/drivers/radeon/r600_pipe_common.h | 179 +++++++++ src/gallium/drivers/radeon/r600_streamout.c | 338 +++++++++++++++++ src/gallium/drivers/radeon/r600d_common.h | 143 +++++++ 27 files changed, 1825 insertions(+), 1486 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=d5b23dfc1c07f98afe749053b9cb4b69829fe3d4 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
