nanogui: nanox double buffering


Previous by date: 13 Jun 2007 00:07:10 +0100 Re: segfault creating font from .fnt file, Junior
Next by date: 13 Jun 2007 00:07:10 +0100 Re: nanox double buffering, Junior
Previous in thread: 13 Jun 2007 00:07:10 +0100 Re: nanox double buffering, Junior
Next in thread: 13 Jun 2007 00:07:10 +0100 Re: nanox double buffering, Junior

Subject: Re: [nanogui] Re: nanox double buffering
From: "Aaron J. Grier" ####@####.####
Date: 13 Jun 2007 00:07:10 +0100
Message-Id: <20070612230650.GA26937@mordor.unix.fryenet>

On Tue, Jun 12, 2007 at 10:57:03AM -0800, Junior wrote:
> > I think your problems are with the implementation of the
> > FBIOPAN_DISPLAY, which is beyond the realm of microwindows.  are
> > things less flickery if you use GrCopyArea()?
> 
> Actually, no. That's why I went to double buffering.
> I still have this problem and this a bit unusual.
> I believe there is a bug somewhere in this package and I've been
> trying to track it down. So far I'm not there yet.
>
> The "flicker" only happends when I use the GrFillRect call. This
> should be done on my offscreen pixmap and my traces through the main
> aread show that it does, but for some reason, which I struggling to
> explain, using this function call causes these lines on the screen.

let me see if I understand correctly.

an _offscreen_ pixmap is created with GrNewPixmap().

calling GrFillRect on that pixmap causes undesired effects _onscreen_?

> I first tried this with manipulating a pixmap then do a GrCopyArea,
> but I see it.  I do double buffering and it's much less aparent but
> it's still there. If I take away the nanox package and write directly
> to my fb0 device, it's not there.  I'm trying to understand the
> package API internal as I pursue this.  If anyone have any ideas I
> would love to hear them.

I'm still not clear on your call sequence to nano-X.

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  ####@####.####

Previous by date: 13 Jun 2007 00:07:10 +0100 Re: segfault creating font from .fnt file, Junior
Next by date: 13 Jun 2007 00:07:10 +0100 Re: nanox double buffering, Junior
Previous in thread: 13 Jun 2007 00:07:10 +0100 Re: nanox double buffering, Junior
Next in thread: 13 Jun 2007 00:07:10 +0100 Re: nanox double buffering, Junior


Powered by ezmlm-browse 0.20.