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

Re: [MiNT] Allocation of video RAM



--------------------------------------------------
From: "Peter Persson" <pep.fishmoose@gmail.com>
Sent: Monday, May 31, 2010 1:30 PM
To: "MiNT Mailing List" <mint@lists.fishpool.fi>
Subject: [MiNT] Allocation of video RAM

My question is about video RAM (VRAM). Right now there is no functionality for this in the kernel, except Screalloc(). This means that the driver has to implement that stuff internally, which has several drawbacks. For example - if an application exits prematurely or doesn't do mfree() on allocated VRAM, the memory won't be freed. Furthermore, there will be no memory protection for this additional class of RAM if it isn't
implemented in the kernel.

The correct place for this would IMO be the VDI, e.g. to use the offscreen bitmap facility. Or do you want the VRAM to be available for other uses than video?

Jo Even