I've been examining the source code to DirectFB, but I can't figure out what
mechanism DirectFB uses to support multiple layers.

I have a framebuffer driver for our hardware, which supports three buffers. 
The hardware merges the data from all three buffers into one image.  It uses 
the alpha channel on the 2nd and 3rd planes to determine how to merge.

The driver currently creates three devices, /dev/fb0, /dev/fb1, and /dev/fb2. 
  I'm beginning to think that this is the wrong approach, however, since fb1 
and fb2 are tied to fb0 but the framebuffer API does not appear to have any 
mechanism for enforcing that connection.

So I was wondering what is the best way to implement these three buffers in my 
driver so that DirectFB's layer feature will work well.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to