swrast: refactor/rewrite fast_draw_rgba_pixels()
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:26 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 16:25:36 +0000 (09:25 -0700)
commit743c664c8c13a7d20beb17290316cd178681482e
treeb3ad886770a6da95336d12d5179690969d33b89f
parente66858fb67477db22139fe38d4f23530b7a142a7
swrast: refactor/rewrite fast_draw_rgba_pixels()

Use Map/UnmapRenderbuffer() for the special, optimized cases we care about.

Note that we're dropping some seldom-used cases in the new fast-path
code: as CI->RGB conversion and zooming.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/swrast/s_drawpix.c