1 #ifndef __RE_OGLErrorChecker__
2 #define __RE_OGLErrorChecker__
41 #ifndef RE_CHECK_STATE
44 # define RE_CHECK_STATE 4
46 # define RE_CHECK_STATE 0
49 # define RE_CHECK_STATE 0
54 #if (RE_CHECK_STATE >= 1)
55 #define RE_VerifyState()
56 #define RE_CheckForErrorsOnSwap() REcheckForErrorsOnSwap()
57 #define RE_CheckValidContext() REcheckValidContext()
58 #define RE_CheckNoErrors(string) REcheckNoErrors( \
59 __FILE__, __LINE__, string)
60 #define RE_CheckContextErrors(r, string) REcheckContextErrors(r, \
61 __FILE__, __LINE__, string)
62 #define RE_SetLockedContext(render) REsetLockedContext(render)
64 #define RE_EnableDebugMode( enable ) REenableDebugMode(enable)
65 #define RE_DebugModeEnabled() REdebugModeEnabled()
66 #define RE_CHECK_ERRORS() REcheckNoErrors( \
67 __FILE__, __LINE__, 0)
69 #define RE_VerifyState
70 #define RE_CheckForErrorsOnSwap()
71 #define RE_CheckValidContext()
72 #define RE_CheckNoErrors(string)
73 #define RE_CheckContextErrors(r, string)
74 #define RE_SetLockedContext(render)
75 #define RE_EnableDebugMode( enable )
76 #define RE_DebugModeEnabled() false
77 #define RE_CHECK_ERRORS()
86 const char *file,
int line,
GLuint GLsizei const GLchar * message
RE_API void REcheckContextErrors(const RE_OGLRender *r, const char *file, int line, const char *message)
RE_API bool REdebugModeEnabled()
IFDmantra you can see code vm_image_mplay_direction endcode When SOHO starts a render
RE_API void REcheckValidContext()
RE_API void REcheckNoErrors(const char *file, int line, const char *message)
RE_API void REcheckForErrorsOnSwap()
RE_API void REsetLockedContext(const RE_OGLRender *render)
RE_API void REenableDebugMode(bool enable)