nanogui: Cyrix CS5330 and frame buffer
Subject:
Re: [nanogui] Cyrix CS5330 and frame buffer
From:
Alex Holden ####@####.####
Date:
25 Jun 2001 15:40:54 -0000
Message-Id: <Pine.LNX.4.10.10106251634220.31813-100000@linuxhacker>
On Mon, 25 Jun 2001 ####@####.#### wrote:
> Yes, my need is to load a static background image in the root
> window. GrDrawImageToFit() worked well for this purpose, but
> it took up to 30 seconds to show the entire image.
The Nano-X launcher (demos/nanox/launcher.c) already does this with
a GrSetBackgroundPixmap() on the GR_ROOT_WINDOW_ID. It doesn't scale the
image though (I think Greg has some modifications to
GrSetBackgroundPixmap() that supports scaled drawing mode in the works).
If you're already using launcher, just set $window_background_image to the
image filename and $window_background_mode to 2 in launcher.cnf.
--
------- Alex Holden -------
http://www.linuxhacker.org/
http://www.robogeeks.org/