OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Shader.h File Reference
#include <GLES3/gl3.h>
#include <cstdio>
#include <cstdlib>
#include <android/log.h>

Go to the source code of this file.

Classes

class  MaliSDK::Shader
 Functions for working with OpenGL ES shaders. More...
 

Namespaces

 MaliSDK
 

Macros

#define ASSERT(x)
 
#define GL_CHECK(x)
 

Macro Definition Documentation

#define ASSERT (   x)
Value:
if (!(x))\
{\
LOGD("Assertion failed at %s:%i\n", __FILE__, __LINE__); \
exit(1); \
}
#define LOGD(...)
Definition: AstcTextures.h:28
GLint GLint GLint GLint GLint x
Definition: gl2ext.h:574

Definition at line 29 of file Shader.h.

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

Definition at line 36 of file Shader.h.