SuperTuxKart
Public Member Functions | Private Attributes | Friends | List of all members
GPUTimer Class Reference

Public Member Functions

 GPUTimer (const char *name)
 
unsigned elapsedTimeus ()
 
const char * getName () const
 
void reset ()
 

Private Attributes

GLuint query
 
bool initialised
 
unsigned lastResult
 
bool canSubmitQuery
 
const char * m_name
 

Friends

class ScopedGPUTimer
 

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