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 

Frame buffer allocator similar to calloc() or malloc()?

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



Joined: 27 Apr 2005
Posts: 75
Location: Texas USA

PostPosted: Sun Jun 19, 2005 12:53 pm    Post subject: Frame buffer allocator similar to calloc() or malloc()? Reply with quote

Is there an equivalent malloc() but for the GS frame buffer?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Jun 19, 2005 1:05 pm    Post subject: Reply with quote

No, but gsKit does provide functionality similar to malloc(), I believe.
Back to top
View user's profile Send private message Visit poster's website
Steve F



Joined: 27 Apr 2005
Posts: 75
Location: Texas USA

PostPosted: Sun Jun 19, 2005 1:29 pm    Post subject: Reply with quote

I guess because it's ps2 hardware specific it wouldn't belong in the standard c libraries like the standard memory allocation functions. It does seem like a good utility to have in a graphic library. Does that mean it is up to the implementor of a graphic library to add it?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Jun 19, 2005 1:36 pm    Post subject: Reply with quote

Yup. Sony doesn't provide a standard allocation method so the programmer is free to implement whichever way works best in their situation.
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 -> PS2 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