nanogui: Thread: Driver for Indirect addressed framebuffer


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Driver for Indirect addressed framebuffer
From: Gobi ####@####.####
Date: 15 Jun 2010 06:48:30 -0000
Message-Id: <AANLkTimDq7xoxUE-VGIKrOUoRkJesrsZcE14djFuQerV@mail.gmail.com>

I am trying to use nano-X for my new hardware which has a LCD controller
with a indirect addressing.
The requirement is when ever if there is a modification in the framebuffer
memory an FB_REFRESH IOCTL has to be called with the coordinates.

My format is 565 so modified all the API's in fblin16.c to add the IOCTL
call.
The output window is not fully drawn. But if the mouse is moved only a
rectangular box is drawn.

Can anyone help me if there are any other files need to be modified.
Thank you.


With Regards
Gobi.C
Subject: Re: [nanogui] Driver for Indirect addressed framebuffer
From: "Greg Haerr" ####@####.####
Date: 15 Jun 2010 17:38:55 -0000
Message-Id: <132301cb0cb1$95079d40$0300a8c0@RDP>

: The output window is not fully drawn. But if the mouse is moved only a
: rectangular box is drawn.

Your modifications for every entry point in fblin16.c will
do the job, but some of those entry points are calling
"standard" routines like genfillrect which will also need to
be modified.  This is evidenced by the initial screen clear
not working (genfillrect), but the mouse coordinates working
(drawpixel).

Look at the SCREENDEVICE structure in fblin16.c, and
add your ioctl to the general routines called from there,
like genfillrect etc. 

Regards,

Greg
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.