gettingstarted
[Top] [All Lists]

Re: Off-Screen-Painting

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Off-Screen-Painting
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 10 Feb 2005 16:22:43 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <001801c50fb9$7ff00550$0100a8c0 at bremerb7sqedlr> <420BDD19 dot 5A5A4CEF at online dot no>
At 11:15 PM +0100 2/10/05, Eirik Karlsen wrote:

Also note that there is a huge difference in speed depending on colordepth,
obviously 32bit is the slowest.

That's not obvious to me. Assuming your monitor is set to 32-bit color, then drawing a 32-bit picture can be done directly, while anything else requires remapping of each pixel. Of course this is offset by having more source data to push around.

A quick test showed that at
32bit I got 41 frames/sec
8bit I got 122 frames/sec
1bit I got 583 frames/sec

Try it with g.UseOldRenderer=true, and include 16-bit color in the test.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>