nanogui: Re: Screen Driver ans Subdriver
Subject:
Re: [nanogui] Re: Screen Driver ans Subdriver
From:
"Greg Haerr" ####@####.####
Date:
13 Jun 2001 03:21:15 -0000
Message-Id: <005301c0f3b7$a21f5120$3aba46a6@xmission.com>
: But I don't see any existing driver/engine function really query/depend
: on
: the flag (assert(xxx) does not count, right ??). The only place the flag
: is
: used is fb.c
Well, for reasons I forget, there's also a PSF_SCREEN
flag that means that the memory is not PSF_MEMORY.
This flag is used in more places, check out drivers/scr_x11.c,
for instance.
Normally, Microwindows nor its drivers don't care whether
the memory is memory-mapped framebuffer or malloc'd ram.
But the X11 driver and a few other places have to care,
since they can't draw in the normal fb fashion.
Regards,
Greg