PerformanceInfo.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Visualization
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeVisualization/Base.h"
16 
17 namespace cee {
18 namespace vis {
19 
20 //==================================================================================================
25 //==================================================================================================
26 class CEE_VIS_EXPORT PerformanceInfo
27 {
28 public:
29  double totalDrawTime;
31 
36  size_t renderingCount;
37 
40  size_t vertexCount;
41  size_t triangleCount;
45 
46  size_t vboCount;
48 };
49 
50 } // namespace vis
51 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
size_t visiblePartsCount
Number of visible parts.
Definition: PerformanceInfo.h:38
size_t triangleCount
Number of triangles (GL_TRIANGELS)
Definition: PerformanceInfo.h:41
double buildRenderQueueTime
Time (in seconds) used to build the rendering queue.
Definition: PerformanceInfo.h:33
size_t openGLPrimitiveCount
Total number of GL primitives drawn (lines, points, polygons, etc). For strips the number of resultin...
Definition: PerformanceInfo.h:42
size_t vboCount
Number of VBOs in use.
Definition: PerformanceInfo.h:46
double sortRenderQueueTime
Time (in seconds) used to sort the render queue.
Definition: PerformanceInfo.h:34
double averageTotalDrawTime
Average over the last 10 renderings.
Definition: PerformanceInfo.h:30
size_t applyRenderStateCount
Number of render state changes.
Definition: PerformanceInfo.h:43
double computeVisiblePartsTime
Time (in seconds) used to create the visible part collection.
Definition: PerformanceInfo.h:32
double renderEngineTime
Time (in seconds) used to render the pre-processed rendering queue.
Definition: PerformanceInfo.h:35
double vboMemoryUsageMB
Total memory used by VBOs (in megabytes)
Definition: PerformanceInfo.h:47
size_t renderedPartsCount
Number of parts that was drawn.
Definition: PerformanceInfo.h:39
size_t vertexCount
Number of vertices (nodes, points) used to draw.
Definition: PerformanceInfo.h:40
double totalDrawTime
Total amount of time (in seconds) used to draw the last frame.
Definition: PerformanceInfo.h:29
size_t shaderProgramChangesCount
Number of shader program changes.
Definition: PerformanceInfo.h:44
size_t renderingCount
Number of renderings.
Definition: PerformanceInfo.h:36
Class for storing performance info stats.
Definition: PerformanceInfo.h:26