nanogui: Screen driver development questions


Previous by date: 16 Jun 2011 16:56:00 -0000 NXVIEW problem, Georg Potthast
Next by date: 16 Jun 2011 16:56:00 -0000 Re: NXVIEW problem, Greg Haerr
Previous in thread: 16 Jun 2011 16:56:00 -0000 Re: Screen driver development questions, Georg Potthast
Next in thread:

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


Previous by date: 16 Jun 2011 16:56:00 -0000 NXVIEW problem, Georg Potthast
Next by date: 16 Jun 2011 16:56:00 -0000 Re: NXVIEW problem, Greg Haerr
Previous in thread: 16 Jun 2011 16:56:00 -0000 Re: Screen driver development questions, Georg Potthast
Next in thread:


Powered by ezmlm-browse 0.20.