mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Add EGL, GLES and GLES2 to the default Config.pp
This commit is contained in:
parent
a490fb2857
commit
169dee7515
@ -655,6 +655,26 @@
|
|||||||
// better).
|
// better).
|
||||||
#define HAVE_TINYDISPLAY 1
|
#define HAVE_TINYDISPLAY 1
|
||||||
|
|
||||||
|
// Is OpenGL ES 1.x installed, and where? This is a minimal subset of
|
||||||
|
// OpenGL for mobile devices.
|
||||||
|
#define GLES_IPATH
|
||||||
|
#define GLES_LPATH
|
||||||
|
#define GLES_LIBS GLES_cm
|
||||||
|
#defer HAVE_GLES $[libtest $[GLES_LPATH],$[GLES_LIBS]]
|
||||||
|
|
||||||
|
// OpenGL ES 2.x is a version of OpenGL ES but without fixed-function
|
||||||
|
// pipeline - everything is programmable there.
|
||||||
|
#define GLES2_IPATH
|
||||||
|
#define GLES2_LPATH
|
||||||
|
#define GLES2_LIBS GLESv2
|
||||||
|
#defer HAVE_GLES2 $[libtest $[GLES2_LPATH],$[GLES2_LIBS]]
|
||||||
|
|
||||||
|
// EGL is like GLX, but for OpenGL ES.
|
||||||
|
#defer EGL_IPATH
|
||||||
|
#defer EGL_LPATH
|
||||||
|
#defer EGL_LIBS EGL
|
||||||
|
#defer HAVE_EGL $[libtest $[EGL_LPATH],$[EGL_LIBS]]
|
||||||
|
|
||||||
// The SDL library is useful only for tinydisplay, and is not even
|
// The SDL library is useful only for tinydisplay, and is not even
|
||||||
// required for that, as tinydisplay is also supported natively on
|
// required for that, as tinydisplay is also supported natively on
|
||||||
// each supported platform.
|
// each supported platform.
|
||||||
|
@ -226,6 +226,7 @@
|
|||||||
|
|
||||||
#set EGL_IPATH $[unixfilename $[EGL_IPATH]]
|
#set EGL_IPATH $[unixfilename $[EGL_IPATH]]
|
||||||
#set EGL_LPATH $[unixfilename $[EGL_LPATH]]
|
#set EGL_LPATH $[unixfilename $[EGL_LPATH]]
|
||||||
|
#set EGL_LIBS $[unixfilename $[EGL_LIBS]]
|
||||||
#set HAVE_EGL $[HAVE_EGL]
|
#set HAVE_EGL $[HAVE_EGL]
|
||||||
|
|
||||||
#set HAVE_WGL $[HAVE_WGL]
|
#set HAVE_WGL $[HAVE_WGL]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user