Re: [AD] fbcon backgrounding

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-09-28, Grzegorz <gradha@xxxxxxxxxx> wrote:
> The attached patch is a stupid approach to this: whenever a SWITCH_OUT
> event comes, it creates a /dev/null like mapping and substitutes the
> fbaddr. However, it just doesn't work, because fbaddr is not used at all,
> but the BITMAP created with _make_bitmap and returned through fb_init.

Thanks for the explanation.

> 
> I don't see any way this could be fixed at the driver level, because
> it's Allegro one level up which controls the screen pointer. Suggestions?

Maybe modify the screen's line[] pointers to point elsewhere while
switched away, and also the pointers of any of its sub-bitmaps?  I don't
know if it would work, and it would be hairy.  Maybe it's being done
somewhere already.

-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/