Thread (13 messages) 13 messages, 6 authors, 2005-08-07

Re: Choosing the correct framebuffer configuration

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2005-08-07 11:00:49

Jon Smirl wrote:
If I understand things correctly the framebuffer config is supposed to
be controlled by the transp/red/blue/green fields of fb_var_screeninfo
during check_var. These fields are then combined to compute the
bits_per_pixel.

radeonfb is working from the other direction, it starts with bpp and
then computes ARGB. This looks wrong to me.
16bpp aIndex 88 = 8/8
Set argb.length = 8, rgb.offset = 0, t.offset = 8.
The transp.offset differentiates ARGB8 from A8_RGB8.

Tony


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help