Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Corbin Simpson
Keith Whitwell wrote: > On Thu, 2009-03-05 at 08:45 -0800, Michel Dänzer wrote: >> Note that I think this won't necessarily avoid the flushes, as the >> render target will likely change before/after the surface_copy(). Flushing colorbuffer cache because of a colorbuffer change can be done in a few

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Keith Whitwell
On Thu, 2009-03-05 at 08:45 -0800, Michel Dänzer wrote: > On Thu, 2009-03-05 at 08:37 -0800, Corbin Simpson wrote: > > > > Okay, so the commented-out code following that fallback is the blitter > > setup. It's simple, straightforward, and clean, but it requires a > > massive flush before and after

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Alex Deucher
On Thu, Mar 5, 2009 at 11:45 AM, Michel Dänzer wrote: > On Thu, 2009-03-05 at 08:37 -0800, Corbin Simpson wrote: >> >> Okay, so the commented-out code following that fallback is the blitter >> setup. It's simple, straightforward, and clean, but it requires a >> massive flush before and after, so I

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Michel Dänzer
On Thu, 2009-03-05 at 08:37 -0800, Corbin Simpson wrote: > > Okay, so the commented-out code following that fallback is the blitter > setup. It's simple, straightforward, and clean, but it requires a > massive flush before and after, so I probably will toss it out. > > So surface_copy will eventu

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Corbin Simpson
Keith Whitwell wrote: > On Thu, 2009-03-05 at 04:19 -0800, Michel Dänzer wrote: >> On Wed, 2009-03-04 at 15:53 -0800, Corbin Simpson wrote: >>> Module: Mesa >>> Branch: master >>> Commit: 04ae9c3fdd62831485b7384da62566a0b82b84af >>> URL: >>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=04ae

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Keith Whitwell
On Thu, 2009-03-05 at 04:19 -0800, Michel Dänzer wrote: > On Wed, 2009-03-04 at 15:53 -0800, Corbin Simpson wrote: > > Module: Mesa > > Branch: master > > Commit: 04ae9c3fdd62831485b7384da62566a0b82b84af > > URL: > > http://cgit.freedesktop.org/mesa/mesa/commit/?id=04ae9c3fdd62831485b7384da6256

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Jakob Bornecrantz
On Thu, Mar 5, 2009 at 1:19 PM, Michel Dänzer wrote: > On Wed, 2009-03-04 at 15:53 -0800, Corbin Simpson wrote: >> Module: Mesa >> Branch: master >> Commit: 04ae9c3fdd62831485b7384da62566a0b82b84af >> URL:     >> http://cgit.freedesktop.org/mesa/mesa/commit/?id=04ae9c3fdd62831485b7384da62566a0b82b

Re: [Mesa3d-dev] Mesa (master): r300-gallium: Add unaccelerated surface_copy.

2009-03-05 Thread Michel Dänzer
On Wed, 2009-03-04 at 15:53 -0800, Corbin Simpson wrote: > Module: Mesa > Branch: master > Commit: 04ae9c3fdd62831485b7384da62566a0b82b84af > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=04ae9c3fdd62831485b7384da62566a0b82b84af > > Author: Corbin Simpson > Date: Wed Mar 4 13:47: