[haiku-development] Re: A tale of two accelerant API's

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 12 Feb 2013 15:30:25 +0100

Am 12/02/2013 09:14, schrieb looncraz:
Textures have the property of being static - never/rarely changing.

That is simply not true, I'm afraid. Modern compositing works exactly this way.

are dynamic and and can change quite quickly.  You COULD treat windows
like textures as Compiz appears to do and have all manner of fancy
effects by applying textures to objects, but this really doesn't offer
many advantages you can't achieve with simpler 2d in a sensible
environment.

Sure, it allows you do to 3-dimensional projections of windows. If that's needed or not is another topic, but whatever you come up with, you need to separate the actual compositing from the upper layer logic.

IOW the higher levels will only allocate and work on buffers. The compositing itself needs to be a module that does this in 2D, but can easily be replaced with one that does it via 3D if the graphics driver
supports this.

Bye,
   Axel.


Other related posts: