nanogui: Microwindows and non zero screenbase


Previous by date: 25 Mar 2002 21:13:25 -0000 Re: "Keyboard Initialize Error" when using on X11?, Simon Wood
Next by date: 25 Mar 2002 21:13:25 -0000 USB mouse and keyboard drivers, Ortega, Tanya
Previous in thread:
Next in thread: 25 Mar 2002 21:13:25 -0000 Re: Microwindows and non zero screenbase, Greg Haerr

Subject: Microwindows and non zero screenbase
From: Fabrice Gautier ####@####.####
Date: 25 Mar 2002 21:13:25 -0000
Message-Id: <B1F6452C89AFD411AE0800A0CC734C239DBB9D@EMAIL1>

Hi,

In the framebuffer driver (scr_fb.c) the framebuffer is mapped with :

psd->addr = mmap(NULL, psd->size, PROT_READ|PROT_WRITE,MAP_SHARED,fb,0);

In my case the video buffer doesnt start on a page boundary so the mmaped
memory start a few bytes earlier. In the linux framebuffer driver this
information is stored in screen_base in an fb_info struct, however it seems
that microwindows doesnt have this information so that when it want to draw
something on the screen, it start at offset 0 (which in my specific case is
not a pixel but something else)

I'm looking for a solution to this problem, any insight on this?

Thank you

-- 
Fabrice Gautier, 
####@####.####

Previous by date: 25 Mar 2002 21:13:25 -0000 Re: "Keyboard Initialize Error" when using on X11?, Simon Wood
Next by date: 25 Mar 2002 21:13:25 -0000 USB mouse and keyboard drivers, Ortega, Tanya
Previous in thread:
Next in thread: 25 Mar 2002 21:13:25 -0000 Re: Microwindows and non zero screenbase, Greg Haerr


Powered by ezmlm-browse 0.20.