More work on performance measuring in imgui

This commit is contained in:
Alexander Bock
2014-12-09 15:49:54 +01:00
parent 90eac194dc
commit 01e71f2fc0
9 changed files with 190 additions and 105 deletions
+14
View File
@@ -34,6 +34,10 @@
#include <string>
#include <vector>
namespace ghoul {
class SharedMemory;
}
namespace openspace {
namespace properties {
@@ -67,10 +71,20 @@ public:
static scripting::ScriptEngine::LuaLibrary luaLibrary();
private:
void renderMainWindow();
void renderPropertyWindow();
void renderPerformanceWindow();
bool _isEnabled;
bool _showPropertyWindow;
bool _showPerformanceWindow;
bool _showHelp;
ghoul::SharedMemory* _performanceMemory;
float _minMaxValues[2];
std::set<properties::Property*> _boolProperties;
std::set<properties::Property*> _intProperties;
std::set<properties::Property*> _floatProperties;