nanogui: Confused with SCREENDEVICE


Previous by date: 31 Dec 2005 01:16:20 +0000 Confused with SCREENDEVICE, Robbie
Next by date: 31 Dec 2005 01:16:20 +0000 Re: Confused with SCREENDEVICE, Robbie
Previous in thread: 31 Dec 2005 01:16:20 +0000 Confused with SCREENDEVICE, Robbie
Next in thread: 31 Dec 2005 01:16:20 +0000 Re: Confused with SCREENDEVICE, Robbie

Subject: Re: [nanogui] Confused with SCREENDEVICE
From: "Greg Haerr" ####@####.####
Date: 31 Dec 2005 01:16:20 +0000
Message-Id: <032d01c60da8$0662c180$6401a8c0@gregnewport>

> I have a bit of confusion with the SCREENDEVICE scrdev.
> The file fb.c describes a SCREENDEVICE scrdev with several attributes,
fb_mapmemgc for example. However, there is access to a scrdev.xvirtres but
xvirtres is not in scrdev.??

That's incorrect, xvirtres is defined in the SCREENDEVICE structure,
see include/device.h.


>  Am I missing something here? Where is fb_mapmemgc calles?

The mapmemgc entry is typically called on driver init.  Grep for
calls to MapMemGC.


>
> Also, subdriver functions,where are they called? Say I use fblinear16,
when or/and where are its functions called? Could someone help me clear this
up?

The subdriver functions are called from the engine level, DrawPixel,
DrawLine, etc.  They are mapped to the subdriver entry points
with similar names.

Read the Architecture doc for more details.

Regards,

Greg





>
> Thanks and Happy New Year!!
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>


Previous by date: 31 Dec 2005 01:16:20 +0000 Confused with SCREENDEVICE, Robbie
Next by date: 31 Dec 2005 01:16:20 +0000 Re: Confused with SCREENDEVICE, Robbie
Previous in thread: 31 Dec 2005 01:16:20 +0000 Confused with SCREENDEVICE, Robbie
Next in thread: 31 Dec 2005 01:16:20 +0000 Re: Confused with SCREENDEVICE, Robbie


Powered by ezmlm-browse 0.20.