OpenGL ES SDK for Android
ARM Developer Center
|
A sample which prints out the list of available EGL configurations on the current platform. More...
#include <EGL/egl.h>
#include <cstdlib>
#include <cstdio>
#include <jni.h>
#include <android/log.h>
#include "Platform.h"
#include "AndroidPlatform.h"
Go to the source code of this file.
Classes | |
struct | query |
Typedefs | |
typedef const char *(* | decodeToken )(EGLint) |
Functions | |
const char * | decodeColorBuffer (EGLint value) |
const char * | decodeCaveat (EGLint value) |
const char * | decodeSurface (EGLint value) |
const char * | decodeAPISupport (EGLint value) |
void | describeConfig (EGLDisplay display, EGLConfig *configs, int configIndex) |
bool | listConfigs (void) |
JNIEXPORT void JNICALL | Java_com_arm_malideveloper_openglessdk_listeglconfigs_ListEGLConfigs_init (JNIEnv *env, jclass jcls, jint width, jint height) |
JNIEXPORT void JNICALL | Java_com_arm_malideveloper_openglessdk_listeglconfigs_ListEGLConfigs_step (JNIEnv *env, jclass jcls) |
JNIEXPORT void JNICALL | Java_com_arm_malideveloper_openglessdk_listeglconfigs_ListEGLConfigs_uninit (JNIEnv *, jclass) |
Variables | |
query | queryList [] |
const char * | decodeSurfaceStrings [] |
const char * | decodeAPISupportStrings [] |
A sample which prints out the list of available EGL configurations on the current platform.
Shows how to use eglGetConfigs to view the availiable configurations on a system.
Definition in file ListEGLConfigs.cpp.
typedef const char*(* decodeToken)(EGLint) |
Definition at line 46 of file ListEGLConfigs.cpp.
const char * decodeAPISupport | ( | EGLint | value | ) |
Definition at line 200 of file ListEGLConfigs.cpp.
const char * decodeCaveat | ( | EGLint | value | ) |
Definition at line 152 of file ListEGLConfigs.cpp.
const char * decodeColorBuffer | ( | EGLint | value | ) |
Definition at line 172 of file ListEGLConfigs.cpp.
const char * decodeSurface | ( | EGLint | value | ) |
Definition at line 145 of file ListEGLConfigs.cpp.
Definition at line 95 of file ListEGLConfigs.cpp.
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_listeglconfigs_ListEGLConfigs_init | ( | JNIEnv * | env, |
jclass | jcls, | ||
jint | width, | ||
jint | height | ||
) |
Definition at line 278 of file ListEGLConfigs.cpp.
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_listeglconfigs_ListEGLConfigs_step | ( | JNIEnv * | env, |
jclass | jcls | ||
) |
Definition at line 284 of file ListEGLConfigs.cpp.
JNIEXPORT void JNICALL Java_com_arm_malideveloper_openglessdk_listeglconfigs_ListEGLConfigs_uninit | ( | JNIEnv * | , |
jclass | |||
) |
Definition at line 290 of file ListEGLConfigs.cpp.
bool listConfigs | ( | void | ) |
Definition at line 206 of file ListEGLConfigs.cpp.
const char* decodeAPISupportStrings[] |
Definition at line 189 of file ListEGLConfigs.cpp.
const char* decodeSurfaceStrings[] |
Definition at line 134 of file ListEGLConfigs.cpp.
query queryList[] |
Definition at line 73 of file ListEGLConfigs.cpp.