#include <GlobalUtil.h>
Static Public Member Functions | |
static void | CheckErrorsGL (const char *location=NULL) |
static bool | CheckFramebufferStatus () |
static void | CleanupOpenGL () |
static double | CLOCK () |
static int | CreateWindowEZ () |
static int | CreateWindowEZ (LiteWindow *window) |
static void | FitViewPort (int width, int height) |
static float | GetElapsedTime () |
static void | InitGLParam (int NotTargetGL=0) |
static void | SetDeviceParam (int argc, char **argv) |
static void | SetGLParam () |
static void | SetTextureParameter () |
static void | SetTextureParameterUS () |
static void | StartTimer (const char *event) |
static void | StopTimer () |
Static Private Attributes | |
static ClockTimer | _globalTimer |
Definition at line 118 of file GlobalUtil.h.
static void GlobalUtil::CheckErrorsGL | ( | const char * | location = NULL | ) | [inline, static] |
Definition at line 133 of file GlobalUtil.h.
bool GlobalUtil::CheckFramebufferStatus | ( | ) | [static] |
Definition at line 261 of file GlobalUtil.cpp.
void GlobalUtil::CleanupOpenGL | ( | ) | [static] |
Definition at line 167 of file GlobalUtil.cpp.
static double GlobalUtil::CLOCK | ( | ) | [inline, static] |
Definition at line 122 of file GlobalUtil.h.
int GlobalUtil::CreateWindowEZ | ( | ) | [static] |
Definition at line 456 of file GlobalUtil.cpp.
int GlobalUtil::CreateWindowEZ | ( | LiteWindow * | window | ) | [static] |
Definition at line 439 of file GlobalUtil.cpp.
void GlobalUtil::FitViewPort | ( | int | width, |
int | height | ||
) | [static] |
Definition at line 245 of file GlobalUtil.cpp.
static float GlobalUtil::GetElapsedTime | ( | ) | [inline, static] |
Definition at line 125 of file GlobalUtil.h.
void GlobalUtil::InitGLParam | ( | int | NotTargetGL = 0 | ) | [static] |
Definition at line 370 of file GlobalUtil.cpp.
void GlobalUtil::SetDeviceParam | ( | int | argc, |
char ** | argv | ||
) | [static] |
Definition at line 172 of file GlobalUtil.cpp.
void GlobalUtil::SetGLParam | ( | ) | [static] |
Definition at line 362 of file GlobalUtil.cpp.
void GlobalUtil::SetTextureParameter | ( | ) | [static] |
Definition at line 222 of file GlobalUtil.cpp.
void GlobalUtil::SetTextureParameterUS | ( | ) | [static] |
Definition at line 234 of file GlobalUtil.cpp.
static void GlobalUtil::StartTimer | ( | const char * | event | ) | [inline, static] |
Definition at line 124 of file GlobalUtil.h.
static void GlobalUtil::StopTimer | ( | ) | [inline, static] |
Definition at line 123 of file GlobalUtil.h.
ClockTimer GlobalUtil::_globalTimer [static, private] |
Definition at line 120 of file GlobalUtil.h.