Mesa (master): ilo: clean up draw and rectlist state emission
Chia-I Wu
olv at kemper.freedesktop.org
Fri Sep 26 13:17:09 UTC 2014
Module: Mesa
Branch: master
Commit: 362d2fb982069a2f7cef5b3355562ba2a6b38b85
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=362d2fb982069a2f7cef5b3355562ba2a6b38b85
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Sep 25 13:22:19 2014 +0800
ilo: clean up draw and rectlist state emission
Add these new high-level functions
ilo_render_get_draw_dynamic_states_len()
ilo_render_emit_draw_dynamic_states()
ilo_render_get_rectlist_dynamic_states_len()
ilo_render_emit_rectlist_dynamic_states()
ilo_render_get_draw_surface_states_len()
ilo_render_emit_draw_surface_states()
for draw and rectlist state emission. They are implemented in the new
ilo_render_dynamic.c and ilo_render_surface.c.
Signed-off-by: Chia-I Wu <olvaffe at gmail.com>
---
src/gallium/drivers/ilo/Makefile.sources | 2 +
src/gallium/drivers/ilo/ilo_render_dynamic.c | 428 +++++++++++++++
src/gallium/drivers/ilo/ilo_render_gen.h | 75 +--
src/gallium/drivers/ilo/ilo_render_gen6.c | 759 ++------------------------
src/gallium/drivers/ilo/ilo_render_gen7.c | 115 ++--
src/gallium/drivers/ilo/ilo_render_surface.c | 405 ++++++++++++++
6 files changed, 972 insertions(+), 812 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=362d2fb982069a2f7cef5b3355562ba2a6b38b85
More information about the mesa-commit
mailing list