| 1752 | |
| 1753 | |
| 1754 | bool checkForCompleteDownloads(void) { |
| 1755 | // check if we are waiting for initial texture downloading |
| 1756 | if (!Downloads::instance().requestFinalized()) { |
| 1757 | return false; |
| 1758 | } |
| 1759 | |
| 1760 | // downloading is terminated. go! |
| 1761 | Downloads::instance().finalizeDownloads(); |
| 1762 | if (downloadingData) { |
| 1763 | downloadingData = false; |
| 1764 | return true; |
| 1765 | } |
| 1766 | else { |
| 1767 | //setSceneDatabase(); |
| 1768 | } |
| 1769 | |
| 1770 | return false; |
| 1771 | } |
| 1772 | |
| 1773 | void doEnergySaver(void) { |
| 1774 | // always cap out at 200 fps unless a limit is set. |
no test coverage detected