Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CProfiler2GPUARB Class Reference
Collaboration diagram for CProfiler2GPUARB:

Classes

struct  SEvent
 
struct  SFrame
 

Public Member Functions

 CProfiler2GPUARB (CProfiler2 &profiler)
 
 ~CProfiler2GPUARB ()
 
void FrameStart ()
 
void FrameEnd ()
 
void RecordRegion (const char *id, bool isEnter)
 
void RegionEnter (const char *id)
 
void RegionLeave (const char *id)
 

Static Public Member Functions

static bool IsSupported ()
 

Private Member Functions

 NONCOPYABLE (CProfiler2GPUARB)
 
void ProcessFrames ()
 
void PopFrontFrame ()
 
GLuint NewQuery ()
 

Private Attributes

std::deque< SFramem_Frames
 
CProfiler2m_Profiler
 
CProfiler2::ThreadStoragem_Storage
 
std::vector< GLuint > m_FreeQueries
 

Constructor & Destructor Documentation

◆ CProfiler2GPUARB()

CProfiler2GPUARB::CProfiler2GPUARB ( CProfiler2 profiler)
inline

◆ ~CProfiler2GPUARB()

CProfiler2GPUARB::~CProfiler2GPUARB ( )
inline

Member Function Documentation

◆ FrameEnd()

void CProfiler2GPUARB::FrameEnd ( )
inline

◆ FrameStart()

void CProfiler2GPUARB::FrameStart ( )
inline

◆ IsSupported()

static bool CProfiler2GPUARB::IsSupported ( )
inlinestatic

◆ NewQuery()

GLuint CProfiler2GPUARB::NewQuery ( )
inlineprivate

◆ NONCOPYABLE()

CProfiler2GPUARB::NONCOPYABLE ( CProfiler2GPUARB  )
private

◆ PopFrontFrame()

void CProfiler2GPUARB::PopFrontFrame ( )
inlineprivate

◆ ProcessFrames()

void CProfiler2GPUARB::ProcessFrames ( )
inlineprivate

◆ RecordRegion()

void CProfiler2GPUARB::RecordRegion ( const char *  id,
bool  isEnter 
)
inline

◆ RegionEnter()

void CProfiler2GPUARB::RegionEnter ( const char *  id)
inline

◆ RegionLeave()

void CProfiler2GPUARB::RegionLeave ( const char *  id)
inline

Member Data Documentation

◆ m_Frames

std::deque<SFrame> CProfiler2GPUARB::m_Frames
private

◆ m_FreeQueries

std::vector<GLuint> CProfiler2GPUARB::m_FreeQueries
private

◆ m_Profiler

CProfiler2& CProfiler2GPUARB::m_Profiler
private

◆ m_Storage

CProfiler2::ThreadStorage& CProfiler2GPUARB::m_Storage
private

The documentation for this class was generated from the following file: