#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 | SelectDisplay () |
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 122 of file GlobalUtil.h.
static void GlobalUtil::CheckErrorsGL | ( | const char * | location = NULL | ) | [inline, static] |
Definition at line 137 of file GlobalUtil.h.
bool GlobalUtil::CheckFramebufferStatus | ( | ) | [static] |
Definition at line 260 of file GlobalUtil.cpp.
void GlobalUtil::CleanupOpenGL | ( | ) | [static] |
Definition at line 166 of file GlobalUtil.cpp.
static double GlobalUtil::CLOCK | ( | ) | [inline, static] |
Definition at line 126 of file GlobalUtil.h.
int GlobalUtil::CreateWindowEZ | ( | ) | [static] |
Definition at line 511 of file GlobalUtil.cpp.
int GlobalUtil::CreateWindowEZ | ( | LiteWindow * | window | ) | [static] |
Definition at line 493 of file GlobalUtil.cpp.
void GlobalUtil::FitViewPort | ( | int | width, |
int | height | ||
) | [static] |
Definition at line 244 of file GlobalUtil.cpp.
static float GlobalUtil::GetElapsedTime | ( | ) | [inline, static] |
Definition at line 129 of file GlobalUtil.h.
void GlobalUtil::InitGLParam | ( | int | NotTargetGL = 0 | ) | [static] |
Definition at line 371 of file GlobalUtil.cpp.
void GlobalUtil::SelectDisplay | ( | ) | [static] |
Definition at line 469 of file GlobalUtil.cpp.
void GlobalUtil::SetDeviceParam | ( | int | argc, |
char ** | argv | ||
) | [static] |
Definition at line 171 of file GlobalUtil.cpp.
void GlobalUtil::SetGLParam | ( | ) | [static] |
Definition at line 363 of file GlobalUtil.cpp.
void GlobalUtil::SetTextureParameter | ( | ) | [static] |
Definition at line 221 of file GlobalUtil.cpp.
void GlobalUtil::SetTextureParameterUS | ( | ) | [static] |
Definition at line 233 of file GlobalUtil.cpp.
static void GlobalUtil::StartTimer | ( | const char * | event | ) | [inline, static] |
Definition at line 128 of file GlobalUtil.h.
static void GlobalUtil::StopTimer | ( | ) | [inline, static] |
Definition at line 127 of file GlobalUtil.h.
ClockTimer GlobalUtil::_globalTimer [static, private] |
Definition at line 124 of file GlobalUtil.h.