Ville Syrjälä wrote:
> On Thu, May 11, 2006 at 10:24:35AM +0200, Denis Oliver Kropp wrote:
>> Ville Syrjälä wrote:
>>> On Wed, May 10, 2006 at 05:04:59PM +0100, Jason BARSTOW wrote:
>>>> What does it mean to SetLevel on the primary? (is it valid?)
>>> I suppose it depends on the hardware and driver. I don't have hardware 
>>> that supports layer levels so I haven't really thought about it. Now 
>>> that I do, I think the current code isn't quite sufficient for hardware 
>>> with more that one overlay or underlay. We can control how they relate 
>>> to the primary layer but their relation to each other is not handled...
>> Their levels define the order. All levels should be a fixed range of
>> values, e.g. -3 to +1 if you have five layers, the primary by default
>> on level 0. If one layer is moved, no matter if it's the primary, it
>> will be at the new level, possibly moving other layers one up or down.
>> That way all levels are unique and the set of levels is never changed.
> 
> I misread the code. I was under the impression that the new level got 
> stored somewhere in the layer core code and because I didn't see any 
> restacking being done I drew the wrong conclusion. Sorry for the 
> confusion :)

Right, the restacking happens in the driver.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
'------------------------------------------'

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

Reply via email to