nanogui: Screen driver development questions


Previous by date: 5 Jun 2011 16:21:05 -0000 Re: mw-0.91 to current tarball, white is blue?, Joseph Lopes
Next by date: 5 Jun 2011 16:21:05 -0000 Re: Screen driver development questions, Greg Haerr
Previous in thread: 5 Jun 2011 16:21:05 -0000 Re: Screen driver development questions, Greg Haerr
Next in thread: 5 Jun 2011 16:21:05 -0000 Re: Screen driver development questions, Greg Haerr

Subject: Re: [nanogui] Screen driver development questions
From: "Georg Potthast" ####@####.####
Date: 5 Jun 2011 16:21:05 -0000
Message-Id: <000f01cc239c$90724520$6700a8c0@SCHREIBTISCHGP>

Hi Greg,

thank you for your post. I have to say after you explained how complex the 
blit support with a screen driver for 0.92 would be I tried to write one for 
the Snapshot version. I used MWPF_TRUECOLOR565 and got it to work! The 
samples work just as they did before with 0.91.

On the other hand, could you please explain how to get the printf, dprintf, 
eprintf, fprintf commands to write to a file? If these would print/write to 
STDOUT, I could redirect them on the start of the program. The changes I 
tried in the error.c files did not seem to work.

I also tried to set HAVE_FILEIO=1 but that did not seem to cause a file to 
be opened and the messages were still send to the screen. What is the name 
of that file and how do I open it?

When should I set -DHAVE_FPRINTF=1?

Georg






Previous by date: 5 Jun 2011 16:21:05 -0000 Re: mw-0.91 to current tarball, white is blue?, Joseph Lopes
Next by date: 5 Jun 2011 16:21:05 -0000 Re: Screen driver development questions, Greg Haerr
Previous in thread: 5 Jun 2011 16:21:05 -0000 Re: Screen driver development questions, Greg Haerr
Next in thread: 5 Jun 2011 16:21:05 -0000 Re: Screen driver development questions, Greg Haerr


Powered by ezmlm-browse 0.20.