Re: New drawing/scrolling model



On Thu, May 2, 2013 at 2:40 PM, Alexander Larsson <alexl redhat com> wrote:

. Secondly, in a more "modern"
scene graph like in recent gtk3 most windows have alpha pixels and
render over the window background rather than each window rendering
its own opaque background, so scrolling via copy doesn't work.


which really touches on whether "simple-draw5" or some future WIP will just
use a scene graph for everything anyway ...

simple-draw4 targets 3.10, its not very large:
  23 files changed, 1274 insertions(+), 2212 deletions(-)

But, the long term for Gtk4 is to move to a scene graph based on clutter.
 
and finally, does simple-draw4 attempt to work hard on behalf of particular
widgets, or is complexity left to the widgets? i think it is far preferable
to go the latter route, although there may be a small cost of duplicated
effort.

All complexity is left to the individual widgets, although there is a helper
object to share code.


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