intel: Refactor intelSpanRenderStart
authorChad Versace <chad.versace@linux.intel.com>
Wed, 16 Nov 2011 02:20:57 +0000 (18:20 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 22 Nov 2011 18:50:51 +0000 (10:50 -0800)
commit1eede4aa8771c058bc560123d4b7c5625e23c8b6
treebf1aca339c259171b244071d060f2554cb980edb
parent3b0d295e122f8ca6e0ebe4593a1e0660308a18c3
intel: Refactor intelSpanRenderStart

Factor the mapping loops from intelSpanRenderStart() into
intel_span_map_buffers(). This in preparation for the next commit,
which resolves the buffers before mapping.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_span.c