#include <android/log.h>
#include <cstdio>
#include <cstdlib>
#include <GLES3/gl31.h>
#include <string>
#include <vector>
#include "matrix.h"
Go to the source code of this file.
|
#define | LOG_TAG "libNative" |
|
#define | LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) |
|
#define | LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |
|
#define | LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) |
|
#define | ASSERT(x, s) |
|
#define | GL_CHECK(x) |
|
Value:
LOGE(
"Assertion failed at %s:%i\n%s\n", __FILE__, __LINE__, s); \
exit(1); \
}
GLint GLint GLint GLint GLint x
Definition at line 45 of file common.h.
Value:
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
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
Definition at line 52 of file common.h.
#define LOG_TAG "libNative" |
#define LOGD |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) |
#define LOGE |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |
#define LOGI |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) |
typedef signed short int16 |
typedef unsigned char uint8 |