Thread (6 messages) flat view 6 messages, 2 authors, 2007-05-11

Re: Blitter speed tests (was: smart blitter usage for scrolling)

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2007-05-10 20:36:36

On Fri, 2007-05-11 at 04:24 +0800, Antonino A. Daplas wrote:
On Thu, 2007-05-10 at 18:48 +0200, Krzysztof Helt wrote:
quoted
Hi,
If you do, it might even be wise to change the default from
SCROLL_REDRAW to SCROLL_MOVE...?
Come to think of it we'll probably just let the driver choose the scroll
method.

SCROLL_MOVE is faster at lower bit depths because the bitmap preparation
for the putcs method slows down SCROLL_REDRAW.  But as the bit depth
goes up, the amount of data moved by bmove goes up but at a higher rate
than the data moved by putcs. Thus SCROLL_MOVE loses its edge at 16-32
bpp. At what point these lines intersect we really don't know as it
depends on the hardware and the driver's imageblit/copyarea
implementation.

Tony


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help