OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Platform.h File Reference
#include "EGLRuntime.h"
#include "VectorTypes.h"
#include <cstdio>

Go to the source code of this file.

Classes

class  MaliSDK::Platform
 Abstract class to hide the complexity of multiple build targets. More...
 

Namespaces

 MaliSDK
 

Macros

#define GL_CHECK(x)
 
#define LOGI   Platform::log
 
#define LOGE   fprintf (stderr, "Error: "); Platform::log
 
#define LOGD
 

Macro Definition Documentation

#define GL_CHECK (   x)
Value:
x; \
{ \
GLenum glError = glGetError(); \
if(glError != GL_NO_ERROR) { \
LOGD("glGetError() = %i (0x%.8x) at %s:%i\n", glError, glError, __FILE__, __LINE__); \
exit(1); \
} \
}
GLint GLint GLint GLint GLint x
Definition: gl2ext.h:574
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
#define LOGD
Definition: Platform.h:121

Definition at line 106 of file Platform.h.

#define LOGD

Definition at line 121 of file Platform.h.

#define LOGE   fprintf (stderr, "Error: "); Platform::log

Definition at line 117 of file Platform.h.

#define LOGI   Platform::log

Definition at line 116 of file Platform.h.