[osg-users] Android: Survive Context Loss without complete reinitialization

Chris Djali krizdjali at gmail.com
Tue Jul 23 10:23:44 PDT 2019


Hi,

This is almost certainly due to one of the issues I've outlined here: http://forum.openscenegraph.org/viewtopic.php?p=76471#76471

The standard viewer definitely doesn't clean everything up that it's supposed to, as demonstrated by the examples I gave in that thread. Specifically, this example shows that the static default font isn't released: http://forum.openscenegraph.org/viewtopic.php?p=76365#76365, and this example shows that loaded fonts living in the object cache aren't released: http://forum.openscenegraph.org/viewtopic.php?p=76345#76345.

You'll need to run these examples through an OpenGL debugger like CodeXL that tells you when things aren't released.

Cheers,
Chris

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76472#76472







More information about the osg-users mailing list