nanogui: Screen update methods
Subject:
Re: [nanogui] Screen update methods
From:
Junior ####@####.####
Date:
25 May 2007 16:36:16 +0100
Message-Id: <CB680953498.000001DCejr@inbox.com>
> Junior wrote:
>>> -----Original Message-----
>>> From: ####@####.####
>>> Sent: Fri, 25 May 2007 07:49:00 -0700
>>> To: ####@####.#### ####@####.####
>>> Subject: Re: [nanogui] Screen update methods
>>>
>>> Junior napsal(a):
>>>
>>>> Hi,
>>>> I'm wondering if there are any other methods that will update the main
>>>> active window.
>>>>
>>>> I've been using an offscreen pixmap and then do a copy and I recently
>>>> ran into a problem
>>>> that does not occur when I use QT.
>>>>
>>>> I'm considering the posibility that the frame being copied to the
>>>> framebuffer might be partially drawn and
>>>> some how produces flucturations in pixel intensity on a horizontal
>>>> line.
>>>> I haven't been able to explain these lines and I'm trying to
>>>> understand
>>>> how nano-X actually update the active buffer.
>>>>
>>>> Can someone who understands this better offer any help?
>>>>
>>>>
>>> No, but if it's any consolation, I've seen the same effect myself. I
>>> always thought it was an artifact of my hardware - as in my case it
>>> seems to occur in vertical lines.
>>>
>>> --Yan
>>>
>>
>> What did you do? Did you ever found a work around?
>>
>
> It's not critical to our use, so I've been ignoring it. No complaints
> so far. Sorry I can't be of more help. :-(
>
Thanks though.
I've done a bit of digging and I realize I'm not using the Blit finction in the linear16 driver.
For every pixel I seem to be actually drawing individual pixel instead of copying a chunk of memory.
Way back, I rember Gregg saying GrCopy actually does the screen blit. Unless I miss something, that doesn't seem to
be the case here.
I understood that the idea of using an offscreen pixmap is such that I can blit the entire screen and not draw
individual pixels. Is this not true?
--Jr.
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth