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 

2D Image Display... best method?

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



Joined: 09 Apr 2005
Posts: 34

PostPosted: Sat Aug 20, 2005 4:35 am    Post subject: 2D Image Display... best method? Reply with quote

Ok, for example. Lets say I have a 2D image, fullscreen 480x272 by 24-bit in memory.

What would be the most efficient way to go about getting that data on to the screen?

And, for a little more advanced displaying... suppose I had several smaller images that I wanted to display on the screen in layers... some with semi-transparency and such?

I assume the best way to do this would be via the GU... any simple examples on how to do this?
Back to top
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Sat Aug 20, 2005 9:28 am    Post subject: Reply with quote

There are blit and copy samples in the sdk.

I plan on investigating the use of GU textures with SDL_gfx.

I will let you know what I find out or do.
Back to top
View user's profile Send private message
71M



Joined: 21 Jun 2005
Posts: 122
Location: London

PostPosted: Sat Aug 20, 2005 7:56 pm    Post subject: Reply with quote

Check out the FileAssistant++ source code, there is a CGfx class which is used for drawing GU graphics on the screen.
It may give you some insight into how to use the GU, alternatively there are many samples in the SDK GU samples folder.

Cheers,
71M
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 -> 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