nanogui: Full screen refresh in nanox


Previous by date: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai
Next by date: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai
Previous in thread: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai
Next in thread: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai

Subject: RE: [nanogui] Full screen refresh in nanox
From: "Martin Kajdas" ####@####.####
Date: 23 Mar 2006 18:45:10 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914F3@mkmail.MKPROD.COM>

Redrawing depends on your application.
I use FLTK and there I just call redraw() functions for each window.
If your screen does not change during video, you can save the
framebuffer and restore it at the end.
This is what double buffering does in FLTK.
Martin


-----Original Message-----
From: Durai ####@####.####
Sent: Thursday, March 23, 2006 10:37 AM
To: Martin Kajdas
Cc: ####@####.####
Subject: RE: [nanogui] Full screen refresh in nanox


On Thu, 2006-03-23 at 10:14 -0800, Martin Kajdas wrote:
> You can force everything to be redrawn, but I have a different
> idea/question.
> If you play your video in a new window and then close that window at
the
> end, nanox will repaint everything (under the window) automatically,
> right?.

Actually, playing video is not inside a window. I have two graphics
plane, one is meant for RGB window which is used for framebuffer, and
another plane is used for video. (A shell command is invoked to play the
video)

>You do not want to write to screen (play video) without letting nanox
> know about it.

You are correct. But playing a video on the other plane leaves the RGB
window corrupted. Here in this case I have to redraw the screen as it
was before. 

Please let me know how to forcefully redraw everything.

Regards
Durai


Previous by date: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai
Next by date: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai
Previous in thread: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai
Next in thread: 23 Mar 2006 18:45:10 +0000 Re: Full screen refresh in nanox, Durai


Powered by ezmlm-browse 0.20.