nanogui: nanox double buffering


Previous by date: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Aaron J. Grier
Next by date: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Greg Haerr
Previous in thread: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Aaron J. Grier
Next in thread: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Greg Haerr

Subject: Re: [nanogui] Re: nanox double buffering
From: Junior ####@####.####
Date: 13 Jun 2007 00:19:56 +0100
Message-Id: <B1C2258D294.00000560ejr@inbox.com>

> 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.
> 

I create offscreen pixmap with GrNewPixmap();
I do GrFillRect()
      GrText()
      GrCopyArea() 
in that order and I see undesired horiz lines.

I further do a a double buffer:
      GrFillRect()
      GrText()
      GrCopyArea() to inactive buffer
      GrFlip buffer()
and it did not make a difference.

If on the other hand I do:
      GrText()   without background color (effect writing over what there , look ugly)
      GrCopyArea()
It looks very clean.

Is there any potential problem with this sequence?

Thanks
Jr.

Previous by date: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Aaron J. Grier
Next by date: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Greg Haerr
Previous in thread: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Aaron J. Grier
Next in thread: 13 Jun 2007 00:19:56 +0100 Re: nanox double buffering, Greg Haerr


Powered by ezmlm-browse 0.20.