nanogui: DrawPixel


Previous by date: 18 Oct 2002 18:30:14 -0000 DrawPixel, David Muse
Next by date: 18 Oct 2002 18:30:14 -0000 Re: DrawPixel, Greg Haerr
Previous in thread: 18 Oct 2002 18:30:14 -0000 DrawPixel, David Muse
Next in thread: 18 Oct 2002 18:30:14 -0000 Re: DrawPixel, Greg Haerr

Subject: Re: [nanogui] DrawPixel
From: ####@####.####
Date: 18 Oct 2002 18:30:14 -0000
Message-Id: <OFAF25A1F7.96DBA551-ON80256C56.0064A8FC@diamond.philips.com>

Hi,

scr_fb.c is the generic framebuffer driver, but DrawImage is part
of the pixel-format-specific subdriver.  See genmem.c for the code
which initializes this field, based on the subdriver chosen by fb.c.
The actual implementation of DrawPixel is in fblin*.c (e.g fblin4.c
for 4bpp, fblin16.c for 16bpp).

Kind regards,

Jon Foster
--






I'm curious how a pixel gets drawn if I compile microwindows with linux framebuffer support.  The scr_fb.c driver doesn't appear to fill in the DrawPixel function in it's scrdev struct.  But the engine appears to call the DrawPixel function from the
scrdev struct.  So what function is it actually calling?

The reason I'm asking is that I'm attempting to interface with a Hantronix lcd panel that appears to require lots of nibble-flipping.  We got the kernel to write to it correctly, and are trying to get microwindows to do the same.

Thanks,

Dave Muse
####@####.####

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####






Previous by date: 18 Oct 2002 18:30:14 -0000 DrawPixel, David Muse
Next by date: 18 Oct 2002 18:30:14 -0000 Re: DrawPixel, Greg Haerr
Previous in thread: 18 Oct 2002 18:30:14 -0000 DrawPixel, David Muse
Next in thread: 18 Oct 2002 18:30:14 -0000 Re: DrawPixel, Greg Haerr


Powered by ezmlm-browse 0.20.