~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to NuxGraphics/RunTimeStats.cpp

  • Committer: Jay Taoko
  • Date: 2011-10-21 23:49:15 UTC
  • mfrom: (508.1.2 nux-20)
  • Revision ID: jay.taoko@canonical.com-20111021234915-hnzakb5ndebica8i
* Removed custom Nux types: t_u32, t_s32, t_bool, ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
  NUX_IMPLEMENT_GLOBAL_OBJECT(RenderingStats);
36
36
 
37
 
  t_u32 RenderingStats::m_NumTex2D = 0;
38
 
  t_u32 RenderingStats::m_GPUSizeTex2D = 0;
39
 
  t_u32 RenderingStats::m_NumTexRectangle = 0;
40
 
  t_u32 RenderingStats::m_GPUSizeTexRectangle = 0;
41
 
  t_u32 RenderingStats::m_NumTexCube = 0;
42
 
  t_u32 RenderingStats::m_GPUSizeTexCube = 0;
43
 
  t_u32 RenderingStats::m_NumTexVolume = 0;
44
 
  t_u32 RenderingStats::m_GPUSizeTexVolume = 0;
45
 
 
46
 
  t_u32 RenderingStats::m_NumTexAnimated = 0;
47
 
  t_u32 RenderingStats::m_GPUSizeTexAnimated = 0;
48
 
 
49
 
  t_u32 RenderingStats::m_NumPBO = 0; // Counted as Vertex Buffer
50
 
  t_u32 RenderingStats::m_GPUSizePBO = 0; // Counted as Vertex Buffer
51
 
  t_u32 RenderingStats::m_NumQueryObject = 0;
52
 
  t_u32 RenderingStats::m_NumFrameBufferObject = 0;
53
 
  t_u32 RenderingStats::m_NumVertexBuffer = 0;
54
 
  t_u32 RenderingStats::m_GPUSizeVertexBuffer = 0;
55
 
  t_u32 RenderingStats::m_NumIndexBuffer = 0;
56
 
  t_u32 RenderingStats::m_GPUSizeIndexBuffer = 0;
57
 
  t_u32 RenderingStats::m_NumVertexShader = 0;
58
 
  t_u32 RenderingStats::m_NumPixelShader = 0;
59
 
  t_u32 RenderingStats::m_NumShaderProgram = 0;
60
 
 
61
 
  t_u32 RenderingStats::m_TotalGPUSize = 0;
 
37
  unsigned int RenderingStats::m_NumTex2D = 0;
 
38
  unsigned int RenderingStats::m_GPUSizeTex2D = 0;
 
39
  unsigned int RenderingStats::m_NumTexRectangle = 0;
 
40
  unsigned int RenderingStats::m_GPUSizeTexRectangle = 0;
 
41
  unsigned int RenderingStats::m_NumTexCube = 0;
 
42
  unsigned int RenderingStats::m_GPUSizeTexCube = 0;
 
43
  unsigned int RenderingStats::m_NumTexVolume = 0;
 
44
  unsigned int RenderingStats::m_GPUSizeTexVolume = 0;
 
45
 
 
46
  unsigned int RenderingStats::m_NumTexAnimated = 0;
 
47
  unsigned int RenderingStats::m_GPUSizeTexAnimated = 0;
 
48
 
 
49
  unsigned int RenderingStats::m_NumPBO = 0; // Counted as Vertex Buffer
 
50
  unsigned int RenderingStats::m_GPUSizePBO = 0; // Counted as Vertex Buffer
 
51
  unsigned int RenderingStats::m_NumQueryObject = 0;
 
52
  unsigned int RenderingStats::m_NumFrameBufferObject = 0;
 
53
  unsigned int RenderingStats::m_NumVertexBuffer = 0;
 
54
  unsigned int RenderingStats::m_GPUSizeVertexBuffer = 0;
 
55
  unsigned int RenderingStats::m_NumIndexBuffer = 0;
 
56
  unsigned int RenderingStats::m_GPUSizeIndexBuffer = 0;
 
57
  unsigned int RenderingStats::m_NumVertexShader = 0;
 
58
  unsigned int RenderingStats::m_NumPixelShader = 0;
 
59
  unsigned int RenderingStats::m_NumShaderProgram = 0;
 
60
 
 
61
  unsigned int RenderingStats::m_TotalGPUSize = 0;
62
62
 
63
63
  void RenderingStats::Constructor()
64
64
  {