[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Allocation of video RAM



> Right now TOS handles this through Screalloc(). But it seems this function is a re-allocation function rather than an allocation function. Also, the memory allocated is global and can be touched by all applications. I don't think that should be the case if applications are allowed to allocate VRAM. Maybe the AES framebuffer could remain global, but not application memory..
Your last sentence sounds quite reasonable -- make Srealloc() to
allocate global VRAM for AES and add Mxalloc() parameter for
per-application HW framebuffer. In this way, GEM apps will be fast (as
AES/VDI draws to fast mem) and application (well, demos) can use this
at will.

Just my thoughts :)

-- 
MiKRO / Mystic Bytes
http://mikro.atari.org