nanogui: Screen update methods
Subject:
Re: [nanogui] Re: Screen update methods
From:
Junior ####@####.####
Date:
31 May 2007 22:12:50 +0100
Message-Id: <19C5CF9329C.00000606ejr@inbox.com>
> -----Original Message-----
> From: ####@####.####
> Sent: Tue, 29 May 2007 23:32:10 -0700
> To: ####@####.#### ####@####.####
> Subject: Re: [nanogui] Re: Screen update methods
>
>> I asked this because the address mmaped for the actural framebuffer (in
>> scr_fb.c)
> is the same address I'm drawing to everytime I draw to my pixmap. I
> expected
> this
> address to be different since this _SHOULD_ be a different memory
> location,
> correct?
>
> Pixmap addresses and the framebuffer address will always be
> different. Make sure you're looking at psd->addr, and that
> psd != &scrdev for pixmaps.
I think I see something.
In srvfunc.c I notice several drawing functions: GrCreateFont, GrLoadImageFromFile
actually draws to the &scrdev and not to the pixmap. Is this correct? Am I following this correctly?
It appeard to me that there is something happening to the actual framebuffer while I'm writing to
the pixmap and I think I getting closer.
--Jr.