[<<] [<] Page 2 of 2 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Screen driver development questions
From: "Greg Haerr" ####@####.#### Date: 16 Jun 2011 16:56:00 -0000 Message-Id: <0752FE1D1F414185BC554FA634B90C1A@winXP> I wonder if you have to compile a Nano-X application for a fixed screen : resolution using e.g. -DSCREEN_WIDTH=1024 in the makefile or if you can set : the resolution when starting the program or maybe while it is running. The nano-X server will query the framebuffer for its size during initialization, thus no fixed size required. Nano-X applications aren't compiled for a fixed resolution either. : : The launcher.sh file looks like that: : : bin/nano-X -x 1024 -y 768 & bin/launcher bin/launcher.cnf : : So this looks like the resolution is set after the program is compiled. The -x and -y parms are for nano-X when it is running on X11 rather than framebuffer and allow various sized X windows to be created to test different framebuffer sizes etc. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 2 of 2 [>] [>>] |