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 

Question about SDL in PSP

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



Joined: 14 Sep 2006
Posts: 13

PostPosted: Mon Jan 05, 2009 5:57 am    Post subject: Question about SDL in PSP Reply with quote

Hi there.
Well, i'm kinda new with PSP programming, although i have previously programmed for dreamcast and gameboy.

I have finally set my toolchain up and running( there are quite lot of threads which solve wach of the problems you may encounter xD)
Anyway.
Now that i have set everything, and works. I have some doubts about SDL.
I have used SDL in most of my projects(on PC, DC, etc).
But after reading some tutorials about PSP programming, i found i have add "special" code to each of my programs.
My question is. Does SDL add all this "special" code automatically, or do i have to add it manually.
And by the way, what kind of support does the psplibraries have for OpenGL?
can i use it like KGL?
Well that's it. If anyone can clarify this for me i would bevery thankful.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Jan 05, 2009 9:43 am    Post subject: Reply with quote

Just look at existing SDL programs for the PSP that are out. Generally, you have to modify the makefile, but not the app. SDL supports OpenGL, but the OpenGL driver for the PSP is closer to OpenGL ES, so there are various things that aren't supported. You just have to check against the program you want to convert and either rewrite the code or add dummy functions for what's missing.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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