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 

Load strait into vRam or alloc then copy?

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



Joined: 20 Mar 2006
Posts: 6

PostPosted: Sat Mar 25, 2006 11:52 pm    Post subject: Load strait into vRam or alloc then copy? Reply with quote

I just wrote a really simple run length encoded image format, and I need to know what the best way to read them into the psp are. I could read them into vRam directly, but I'd be setting each pixel one at a time. Would that be slower than reading the entire thing into ram, then doing a copy into the vram?
Back to top
View user's profile Send private message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Sun Mar 26, 2006 9:36 am    Post subject: Reply with quote

Read my post here. It provides you with some basic information about the possibilities.
If I had to just answer your question straight: It depends on what 'best' is in your case.
- If your loading is time critical, I'd most likely stick with loading to RAM then doing sceGuCopy to get it to VRAM.
- If your program is desperate on RAM, and the loading time isn't that important, I'd propably try loading directly to VRAM.
Back to top
View user's profile Send private message Visit poster's website
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