Denis Oliver Kropp wrote:
> Claudio Ciccani via CVS schrieb:
>> CVSROOT:     /cvs/directfb
>> Module name: DirectFB
>> Changes by:  klan    20061206 15:10:13
>>
>> Modified files:
>>      src/core       : surfaces.c 
>>
>> Log message:
>> Dispatch surface's notifications asynchronously.
> 
> synchronously I guess :)

For asynchronous I mean that local notification are not in sync with
global notifications (say "not in chronological order" if you like).
I understand that the name fusion_reactor_sync() is a bit odd, but I
couldn't find a better name for what it does
(fusion_recator_set_chronological()!? It doesn't sound good..).

> 
>> This change fixes an assertion failure that happens in the following case:
>> 1. Resize (Downsize) Surface
>> ... and immediatly after ...
>> 2. Blit to Surface
> 
> Maybe we should make synchronous the default again.
> 

I made the change because with the notification dispatched by "Fusion
Dispatch", the resizement takes more time to be notified, therefore
the IDirectFBSurface may still use outdated information.
Indeed, in the bug I explained in the log, the IDirectFBSurface is still
using the old clipping region when it issues the blit, thus the
destination rectangle exceeds the surface's size.

Change what you whant but at least surface's notifications should be
dispatched immediatly (to local reactions) to avoid these kind of bugs.

-- 
Regards,
     Claudio Ciccani

[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb

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

Reply via email to