SL
Size: a a a
ВГ
I
I
ВГ
SL
ВГ
SL
SL
ВГ
SL
MG
ANativeWindow *window = nullptr;
Renderer *renderer = nullptr;
extern "C" JNIEXPORT void JNICALL Java_cube_NativeView_nativeOnCreate(JNIEnv *env, jclass clazz) {}
extern "C" JNIEXPORT void JNICALL Java_cube_NativeView_nativeOnStart(JNIEnv* jenv, jclass type) { renderer = new Renderer(); }
extern "C" JNIEXPORT void JNICALL Java_cube_NativeView_nativeOnResume(JNIEnv* jenv, jclass type) { renderer->start(); }
extern "C" JNIEXPORT void JNICALL Java_cube_NativeView_nativeOnPause(JNIEnv* jenv, jclass type) { renderer->stop(); }
extern "C" JNIEXPORT void JNICALL Java_cube_NativeView_nativeOnStop(JNIEnv* jenv, jclass type) { delete renderer; renderer = nullptr; }
extern "C" JNIEXPORT void JNICALL Java_cube_NativeView_nativeOnDestroy(JNIEnv *env, jclass clazz) {}
k
k
k
o
o