I’ve just downloaded and built the latest cvs of SDL. I also rebuild
the PowerDraw library which relies on it. With the game I’m working on,
I now notice a significant speedup in animation and what not. I haven’t
even recompiled the game yet. Is this a result of the latest SDL?
Just curious, it makes life a lot easier with the extra speed 
Mike.
Mike McLean wrote:
I’ve just downloaded and built the latest cvs of SDL. I also rebuild
the PowerDraw library which relies on it. With the game I’m working on,
I now notice a significant speedup in animation and what not. I haven’t
even recompiled the game yet. Is this a result of the latest SDL?
CVS Sped up PowerDraw? To help the SDL developers confirm this I think the
biggest function Mike uses from my PowerDraw lib (system resource wise) is
the PD_BlitDoubleBuffer function, which is just a wrapper to the SDL blit
function that blits the entire double buffer to the screen. This blit slows
down a program alot, but there is not much I can do about it. I’m thinking
of implementing some kind of dirty rectangles type code. But if the blit
has been sped up maybe I can leave that up to PowerDraw users. (although
I’ll probably put it in there anyhow.)>
Just curious, it makes life a lot easier with the extra speed 
Mike.
I’ve just downloaded and built the latest cvs of SDL. I also rebuild
the PowerDraw library which relies on it. With the game I’m working on,
I now notice a significant speedup in animation and what not. I haven’t
even recompiled the game yet. Is this a result of the latest SDL?
Were you running it as root with a 2.2 Linux kernel?
Did you recently install nasm?
Just curious, it makes life a lot easier with the extra speed 
Great! 
BTW, where can I find out more about the PowerDraw library?
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
Sam Lantinga wrote:
I’ve just downloaded and built the latest cvs of SDL. I also rebuild
the PowerDraw library which relies on it. With the game I’m working on,
I now notice a significant speedup in animation and what not. I haven’t
even recompiled the game yet. Is this a result of the latest SDL?
Were you running it as root with a 2.2 Linux kernel?
Did you recently install nasm?
Just curious, it makes life a lot easier with the extra speed 
Great! 
BTW, where can I find out more about the PowerDraw library?
It’s at http://www.angelfire.com/va/powerpakgsdk I’ve posted it’s release
here awhile ago. All I had then was some graphics primitives, of which my
implementation of is very slow. Since then I have added support for sprites
and such. I think it can be good for something like Mike is doing as it
stands now, but for graphics primitives like you want it would need alot of
optimization (on the plus side it is already built on top of SDL, and it
isn’t any slower than XWinAllegro.)
I actually loved Allegro from my DOS days. XwinAllegro was horribly slow
though, that’s when I decided to use SDL. An Allegro DOS coder going to
SDL left alot of functions to be desired (like sprites and primitives and
stuff) so I decided to write them from tutorials I found on the net.
I actually like the way I have the sprite system setup, if you know how it
can animate the sprites for you automatically, something Allegro didn’t do as
of when I last used it. I don’t have a docs written for it yet though.>
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
It’s at http://www.angelfire.com/va/powerpakgsdk I’ve posted it’s release
here awhile ago.
Ahh, that’s right. I’ll post your site on the download page (which is due
for an overhaul pretty soon…)
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
Sam Lantinga wrote:
I’ve just downloaded and built the latest cvs of SDL. I also rebuild
the PowerDraw library which relies on it. With the game I’m working on,
I now notice a significant speedup in animation and what not. I haven’t
even recompiled the game yet. Is this a result of the latest SDL?
Were you running it as root with a 2.2 Linux kernel?
Did you recently install nasm?
Just curious, it makes life a lot easier with the extra speed 
Great! 
BTW, where can I find out more about the PowerDraw library?
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
I’ve run it as root, and as normal user, with very similar speed. I’m
using kernel 2.2.10. I have had nasm installed for a while.
Mike.
I’ve run it as root, and as normal user, with very similar speed. I’m
using kernel 2.2.10. I have had nasm installed for a while.
Well… great! 
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec