> Ok, so you need to distinguish between a complete switch and changes
> of the properties.

>> What I'm trying to achieve is some persistant state; so that for each
>> SurfaceBuffer the user creates I can associate a CMyBuffer.
>> Then on receiving the SMD_DESTINATION or SMF_SOURCE flags I no longer
need
>> to create a CMyBuffer; it's already available and ready to go.

> Each surface has a serial that is increased each time the object is
> notified, which happens mostly due to property changes. So you might
> want to do something similar to the serial handling code in state.c.

Ok, that looks good.

Thanks again,
Jason Barstow.



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

Reply via email to