Android support, attempt-1 #8

Open
kornerr wants to merge 62 commits from and1 into master
pull from: and1
3 changed files with 35 additions and 0 deletions
Showing only changes of commit cc2748efb7 - Show all commits

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ bool raybriEGLInit(void) {
return true;
}
#endif // RAYBRI_EGL_IMPLEMENTATION
#endif // RAYBRI_EGL_H
+33
View File
@@ -0,0 +1,33 @@
#ifndef RAYBRI_EGL_CONST_H
#define RAYBRI_EGL_CONST_H
#include <libEGL/libEGL.h>
// Header
extern const EGLint RAYBRI_EGL_CFG[];
extern const EGLint RAYBRI_EGL_CTX[];
// Source
const EGLint RAYBRI_EGL_CFG[] = {
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT,
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_DEPTH_SIZE, 16,
EGL_NONE
};
const EGLint RAYBRI_EGL_CTX[] = {
EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE
};
#if defined(RAYBRI_EGL_CONST_IMPLEMENTATION)
#endif // RAYBRI_EGL_CONST_IMPLEMENTATION
#endif // RAYBRI_EGL_CONST_H
+1
View File
@@ -0,0 +1 @@
../../../../components/raybri/ios/raybriEGLConst.h