Re: [Mesa-dev] [PATCH 18/22] swrast: refactor fast_draw_rgba_pixels()

2011-12-22 Thread Brian Paul
On Wed, Dec 21, 2011 at 1:49 PM, Eric Anholt wrote: > On Sun, 18 Dec 2011 20:08:23 -0700, Brian Paul wrote: >> Use Map/UnmapRenderbuffer() for the special, optimized cases we care about. > > I note that this happens to drop the fast paths for zooming (and > CI8->RGBA, lol).  Totally reasonable, j

Re: [Mesa-dev] [PATCH 18/22] swrast: refactor fast_draw_rgba_pixels()

2011-12-21 Thread Eric Anholt
On Sun, 18 Dec 2011 20:08:23 -0700, Brian Paul wrote: > Use Map/UnmapRenderbuffer() for the special, optimized cases we care about. I note that this happens to drop the fast paths for zooming (and CI8->RGBA, lol). Totally reasonable, just something that would be worth noting in the commit messag

[Mesa-dev] [PATCH 18/22] swrast: refactor fast_draw_rgba_pixels()

2011-12-18 Thread Brian Paul
Use Map/UnmapRenderbuffer() for the special, optimized cases we care about. --- src/mesa/swrast/s_drawpix.c | 401 ++- 1 files changed, 167 insertions(+), 234 deletions(-) diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index b4d91c0