forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDL_ASYNCBLIT

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
billb



Joined: 12 Dec 2007
Posts: 32

PostPosted: Sat Jul 26, 2008 1:04 am    Post subject: SDL_ASYNCBLIT Reply with quote

I got some help from qmc2 on the Emuversal board with a patch for sdlmame that enables SDL_ASYNCBLIT (Surface uses asynchronous blits if possible). Here's the thread.

I tried doing something similar in Quake 2 (sdlquake2 from icculus.org) got a framerate increase there, too (around +5 FPS at 960x720, I think).

EDIT: That was just looking at timerefresh -- actually running a timedemo only shows about +2 FPS increase, but it's something, at least

I looked at the source for mplayer and see it includes this comment in vo_sdl.c:
// XXX:FIXME: ASYNCBLIT should be enabled for SMP systems

So it looks like that would help out with mplayer, too (haven't compiled it yet, though). I haven't looked at any other applications that use SDL, yet, but I'd expect that some would see improvements (like Duke3D, QEMU, Hexen 2, if it's not enabled already).

It looks like this should give a general performance improvement across anything that uses SDL video on PS3 Linux.

EDIT: using this does give a slight framerate increase in Duke3D (about +8 FPS at 960x720) and D2X-Rebirth (about +4 FPS at 1280x720) on PS3 Linux.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group