Rockbox mail archive
Subject: multiple lcd framebuffers in rockbox
multiple lcd framebuffers in rockbox
I had an idea which I mentioned in IRC which would allow the skin
engine (or anything) to draw (using the existing lcd api) into a
different lcd framebuffer which could then be used as the backdrop
image for text/whatever which is finally drawn to the LCD.
The problem is though that every lcd driver currently uses a static
array as the lcd_framebuffer instead of a nice pointer which can be
http://www.rockbox.org/tracker/task/11615 started working on changing
this to allow dynamic screen sizes (for RaaA) and attached is a
stripped down copy of that which changes sdl,android and the ipod
video drivers to use a pointer (which currently just points to the
array anyway) as a proof-of-concept/base.
That patch only changes lcd_framebuffer for targets with
HAVE_DYNAMIC_LCD_SIZE but for my plan to work I need all drivers to
change. That patch will then be able to build on this quite easily.
Now, is this something which people would object to?
P.S Being able to use different images for viewport backdrops has been
requests quite a few times, and now we can draw images semi
transparent I think having the AA image as a backdrop would look sweet
(or at least be interesting!)
Received on 2011-11-22
Page was last modified "Jan 10 2012" The Rockbox Crew