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=04ae9c3fdd62831485b7384da62566a0b82b84af > > > > Author: Corbin Simpson <[email protected]> > > Date: Wed Mar 4 13:47:44 2009 -0800 > > > > r300-gallium: Add unaccelerated surface_copy. > > [...] > > > + if (TRUE) { > > + debug_printf("r300: Falling back on surface_copy\n"); > > + return util_surface_copy(pipe, do_flip, dest, destx, desty, src, > > + srcx, srcy, w, h); > > + } > > Have you tried using util_blit_pixels_tex()? I think that'd probably be > as good as it's gonna get at least for cards without a 2D engine...
I think the trouble with the util_blit code is that it's designed to be called from outside the driver - ie the state tracker level -- it assumes the existence of the CSO code, etc, which strictly isn't guaranteed to be there. That said, it will probably work just fine... Keith ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
