nanogui: nano-X speed


Previous by date: 19 Feb 2002 00:42:04 -0000 Re: Pixmap, Greg Haerr
Next by date: 19 Feb 2002 00:42:04 -0000 Re: SDL and SMPEG, Greg Haerr
Previous in thread: 19 Feb 2002 00:42:04 -0000 nano-X speed, Fabrice Gautier
Next in thread: 19 Feb 2002 00:42:04 -0000 Nano-X Speed, mohanreddy.b

Subject: Re: [nanogui] nano-X speed
From: "Greg Haerr" ####@####.####
Date: 19 Feb 2002 00:42:04 -0000
Message-Id: <03b601c1b8dc$4074d900$3aba46a6@xmission.com>

: I'm using nano-X under X and I find it quite slow. For example a
: GrMoveWindow for a 600x400 window - with no other overlapping window - takes
: about 2sec. 
: 
: Does it sounds normal, or is it because of the X backend ? Should I expect
: better performance on a framebuffer ?

The primary reason for the speed problem is the result of the Microwindows
X11 blit implementation.  It currently reads the pixels one at a time
and copies them into a PSD struct, only to be copied back out.  What
is needed is an X11 screen-to-screen blit that doesn't copy in the
screen driver.  The reason this ended up this way is a bit complicated,
but should probably be redone.

Another quick fix would be to comment out the "quick" window-move
code in nanox/srvfunc.c::GrMoveWindow, and have the windows
redraw themselves...  This will work faster on X11, but is worth it.

Regards,

Greg


Previous by date: 19 Feb 2002 00:42:04 -0000 Re: Pixmap, Greg Haerr
Next by date: 19 Feb 2002 00:42:04 -0000 Re: SDL and SMPEG, Greg Haerr
Previous in thread: 19 Feb 2002 00:42:04 -0000 nano-X speed, Fabrice Gautier
Next in thread: 19 Feb 2002 00:42:04 -0000 Nano-X Speed, mohanreddy.b


Powered by ezmlm-browse 0.20.