OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
main.cpp File Reference
#include <jni.h>
#include <android/log.h>
#include <stdlib.h>
#include <GLES3/gl3.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include "app.h"
#include "timer.h"
#include "common.h"

Go to the source code of this file.

Functions

const char * get_gl_error_msg (GLenum code)
 
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_init (JNIEnv *env, jclass jcls, jint width, jint height)
 
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_step (JNIEnv *env, jclass jcls)
 
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_uninit (JNIEnv *, jclass)
 
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_onpointerup (JNIEnv *env, jobject obj, jfloat x, jfloat y)
 
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_onpointerdown (JNIEnv *env, jobject obj, jfloat x, jfloat y)
 

Variables

float last_tick
 

Function Documentation

const char* get_gl_error_msg ( GLenum  code)

Definition at line 34 of file main.cpp.

JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_init ( JNIEnv *  env,
jclass  jcls,
jint  width,
jint  height 
)

Definition at line 53 of file main.cpp.

JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_onpointerdown ( JNIEnv *  env,
jobject  obj,
jfloat  x,
jfloat  y 
)

Definition at line 96 of file main.cpp.

JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_onpointerup ( JNIEnv *  env,
jobject  obj,
jfloat  x,
jfloat  y 
)

Definition at line 90 of file main.cpp.

JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_step ( JNIEnv *  env,
jclass  jcls 
)

Definition at line 63 of file main.cpp.

JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_computeparticles_ComputeParticles_uninit ( JNIEnv *  ,
jclass   
)

Definition at line 84 of file main.cpp.

Variable Documentation

float last_tick

Definition at line 32 of file main.cpp.