#include <jni.h>
#include <android/log.h>
#include <unistd.h>
Go to the source code of this file.
|
#define | LOG_TAG "libNative" |
|
#define | LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) |
|
#define | LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |
|
#define LOG_TAG "libNative" |
#define LOGE |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |
#define LOGI |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) |
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_graphicssetup_NativeLibrary_init |
( |
JNIEnv * |
env, |
|
|
jobject |
obj, |
|
|
jint |
width, |
|
|
jint |
height |
|
) |
| |
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_graphicssetup_NativeLibrary_step |
( |
JNIEnv * |
env, |
|
|
jobject |
obj |
|
) |
| |