[haiku-development] Re: Compositing window management

On 16.06.2011 01:06, François Revol wrote:
Le mercredi 15 juin 2011 à 14:35 +0200, Stephan Aßmus a écrit :
In the long run, the Painter classes should be moved into libbe.so, and drawing 
should then be possible client side as well (optionally, since older hardware 
will still want to benefit from acceleration, etc., but this could also be 
possible by cloning the accelerant into the client, just like some games 
currently do).

That is true, and is a subject I actually meant to touch before starting
[...]
never forget to call Sync() again after drawing in a BBitmap...

... but it opens a security can of worms :p

I don't quite see what you are seeing. Can you elaborate? Do you think Qt is less secure because it potentially/optionally draws client side? If anything, I would think one can make the drawing mechanism *more* secure. Or to put it in better words: The app_server drawing probably has heaps of holes right now. Moving most stuff client side makes it much easier to secure this aspect of Haiku than trying to do so while keeping so much server side. There are plainly much less points of failure then.

Best regards,
-Stephan

Other related posts: