[SDL] Strategic advice on blitting
Michael Rickert
mrickert85 at yahoo.com
Tue Sep 23 21:43:00 PDT 2003
--- David Olofson <david at olofson.net> wrote:
> On Tuesday 23 September 2003 13.16, Zephaniah E.
> Hull wrote:
> > On Tue, Sep 23, 2003 at 12:11:05PM +0200, David
> Olofson wrote:
> > > On Tuesday 23 September 2003 11.28, Daniel
> Liljeberg wrote:
> > > > One thing to think of to gain some extra
> > > > speed if you are using open gl is to sort them
> by texture also
> > > > so that you won't have many switches between
> textures.
> > >
> > > That actually slowed things down last time I
> tried it... Wierd.
> >
> > Odd, it is generally a pretty noticeable speed
> boost if the
> > renderer is at all designed for it.
>
> Then again, how much should it actually cost to
> change a pointer and a
> few other parameters on any reasonably modern card?
> I suspect you
> can't do all that much work before you start slowing
> things down.
But what if you don't have enough memory to have all
your textures in vid card memory at the same time?
each switch could possibly force the texture to come
across the pipeline again... and wouldn't vid cards
have caches something akin to processor L1/2 caches?
It all depends on the hardware... and being no video
card hardware expert, I'll shutup...now.
*snip rest of message*
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the SDL
mailing list