| View previous topic :: View next topic |
| Author |
Message |
Steve F
Joined: 27 Apr 2005 Posts: 75 Location: Texas USA
|
Posted: Sun Jun 19, 2005 12:53 pm Post subject: Frame buffer allocator similar to calloc() or malloc()? |
|
|
| Is there an equivalent malloc() but for the GS frame buffer? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sun Jun 19, 2005 1:05 pm Post subject: |
|
|
| No, but gsKit does provide functionality similar to malloc(), I believe. |
|
| Back to top |
|
 |
Steve F
Joined: 27 Apr 2005 Posts: 75 Location: Texas USA
|
Posted: Sun Jun 19, 2005 1:29 pm Post subject: |
|
|
| 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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sun Jun 19, 2005 1:36 pm Post subject: |
|
|
| 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 |
|
 |
|