gettingstarted
[Top] [All Lists]

Re: Off-Screen-Painting

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Off-Screen-Painting
From: FFL <freefl at free dot fr>
Date: Fri, 11 Feb 2005 09:17:19 +0100
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <001801c50fb9$7ff00550$0100a8c0 at bremerb7sqedlr> <420BDD19 dot 5A5A4CEF at online dot no> <a0620074bbe318ed06402 at [10 dot 10 dot 13 dot 4]>
Joseph J. Strout dixit, le 10/02/05 à 16:22 :

   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.

When pictures are used for unseen offscreen calculations, and if a smaller depth is enough, using a smaller depth should be faster ?
_______________________________________________
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>