Board index FlightGear Development Canvas

Changelog & Progress

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Re: Changelog & Progress

Postby TheTom » Mon Jul 30, 2012 2:50 pm

Experiments with Canvas based windows (The appearance and mouse interaction has all been scripted using Nasal):
TheTom
 
Posts: 322
Joined: Sun Oct 09, 2011 11:20 am

Re: Changelog & Progress

Postby TheTom » Tue Aug 14, 2012 11:01 pm

Now window stacking and focus/raise behaviour is working and can be controlled with Nasal. Also recursive canvases are supported:
TheTom
 
Posts: 322
Joined: Sun Oct 09, 2011 11:20 am

Re: Changelog & Progress

Postby TheTom » Tue Apr 01, 2014 11:45 am

I've just pushed an update to git (simgear) which removes a lot of unneeded OpenGL state changes for Canvas paths. Depending on the GPU/driver this can lead to quite a noticable performance improvement. For example here I was able to get from ~120ms down to ~45ms.
TheTom
 
Posts: 322
Joined: Sun Oct 09, 2011 11:20 am

Previous

Return to Canvas

Who is online

Users browsing this forum: No registered users and 1 guest