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

View File

@@ -56,6 +56,7 @@ public:
virtual bool deinitialize() = 0;
virtual bool isReady() const = 0;
bool isEnabled() const;
void setBoundingSphere(const PowerScaledScalar& boundingSphere);
const PowerScaledScalar& getBoundingSphere();

View File

@@ -43,6 +43,8 @@ class ScreenLog;
class RenderEngine {
public:
static const std::string PerformanceMeasurementSharedData;
RenderEngine();
~RenderEngine();
@@ -64,6 +66,7 @@ public:
void toggleVisualizeABuffer(bool b);
void setPerformanceMeasurements(bool performanceMeasurements);
bool doesPerformanceMeasurements() const;
void serialize(SyncBuffer* syncBuffer);
void deserialize(SyncBuffer* syncBuffer);