Just to expand a bit more on the proposal using Evas terminology and
relating to X11. The retained drawing model can support the Xserver
drawing model if you wish.  X is not really direct drawing but message
based. A message based system would be a retained model that threw
away the object description each time.
Basically the same as X11 the only retained object is to fill the
window rect with the background color and draw the border.

Not that you would in general want to use the X11 drawing model under
directfb but this approach allows me to directly integrate the X
server into a directfb desktop for legacy support purposes and you get
basically the same performance for X11 rendering as you do for an
unintegrated X11 server.  Using structured mode generally gives much
better performance  than X11 since the drawing instructions are set up
once and you don't have a lot of ipc traffic.  Memory usage is
basically the same but the retained mode results in less fragmentation
efficient zone allocation can be used where on the X11 side you would
get a lot more allocation/deallocation cycles and depending on the
memory mgt approach you would get more expansion and contraction and
of course more chances for a malloc failure.
If X11 is using zone allocation then they are similar except  with X11
you would be writing the messages each time.

The current directfb model of buffering the windows in shared buffers
can be viewed as a simple version of structured drawing.

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

Reply via email to