From mint-bounce@lists.fishpool.fi Mon May 31 08:24:13 2010 Message-ID: From: "Jo Even Skarstein" To: References: <4ACDF5FD-74ED-459F-8C45-A6124A3B0BF9@gmail.com> In-Reply-To: <4ACDF5FD-74ED-459F-8C45-A6124A3B0BF9@gmail.com> Subject: Re: [MiNT] Allocation of video RAM Date: Mon, 31 May 2010 14:24:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: ------------------------------------------------- From: "Peter Persson" Sent: Monday, May 31, 2010 2:04 PM To: "Miro Kropacek" Cc: "MiNT Mailing List" Subject: Re: [MiNT] Allocation of video RAM > The SuperVidel has 128 megs of VRAM. Blits between VRAM<>VRAM are really > fast. I think that's the situation > with other graphics cards too. But there is no sane way to allocate such > memory in an application. Not that I know of. Offscreen bitmaps perhaps? Allocation of these is handled by the VDI, and so is blits between the on- and offscreen bitmaps. So - atleast in theory - any application that use offscreen bitmaps will take advantage of the fast VRAM in the SuperVidel (or any other graphics card) if the driver handles it. > Why shouldn't an application be able to do this? AFAIK libraries such as > SDL has support for this (I may be wrong though). > In theory, maybe an application would like to render a texture somewhere > in VRAM before it's mapped onto a polygon. Or something :) Again, this sounds like the purpose of offscreen bitmaps. Jo Even