FlightGear Newsletter March 2017: Difference between revisions

Jump to navigation Jump to search
Line 34: Line 34:


[[File:Blackout shaders.png|640px|Blackout shaders in effect]]
[[File:Blackout shaders.png|640px|Blackout shaders in effect]]
=== Faster canvas text drawing ===
The [[Canvas_Nasal_API#updateText | updateText()]] method is now available in the canvas API. This is intended to reduce property I/O and improve performance in situations where a display item changes only rarely rather than per frame (like AP mode strings or a course selection). The updateText() method only writes the property if the text string has actually changed from the last update cycle.


== In the hangar ==
== In the hangar ==
1,360

edits

Navigation menu