Re: GTK+ scene graph






On Mon, Aug 18, 2014 at 1:55 PM, Emmanuele Bassi <ebassi gmail com> wrote:
[ .. ]

realistically, by comparison with other platforms and with many home-grown GUI toolkits, there's really only one sane design for any toolkit in 2014:

   * recursively nested objects with a common "draw" virtual method that renders onto a surface (*) as the only way pixels get drawn
   * access to a GL surface when and if necessary
   * packing and layout orthogonal to drawing from the application code perspective

anything that moves GTK closer to this is good. anything that moves it further away or impedes motion towards it is bad.

(*) presumably cairo for 2D and GL for 3D but smart people can disagree about this.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]