Load strait into vRam or alloc then copy?
-
- Posts: 6
- Joined: Mon Mar 20, 2006 11:36 pm
Load strait into vRam or alloc then copy?
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?
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.
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.