15 #ifndef CONFIG_EGLDISPLAY_H 16 #define CONFIG_EGLDISPLAY_H 18 #include "pandabase.h" 19 #include "notifyCategoryProxy.h" 20 #include "configVariableString.h" 21 #include "configVariableBool.h" 22 #include "configVariableInt.h" 24 #if defined(OPENGLES_1) && defined(OPENGLES_2) 25 #error OPENGLES_1 and OPENGLES_2 cannot be defined at the same time! 27 #if !defined(OPENGLES_1) && !defined(OPENGLES_2) 28 #error Either OPENGLES_1 or OPENGLES_2 must be defined when compiling egldisplay! 32 NotifyCategoryDecl(egldisplay, EXPCL_PANDAGLES2, EXPTP_PANDAGLES2);
34 extern EXPCL_PANDAGLES2
void init_libegldisplay();
35 extern EXPCL_PANDAGLES2
const string get_egl_error_string(
int error);
37 NotifyCategoryDecl(egldisplay, EXPCL_PANDAGLES, EXPTP_PANDAGLES);
39 extern EXPCL_PANDAGLES
void init_libegldisplay();
40 extern EXPCL_PANDAGLES
const string get_egl_error_string(
int error);
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a string type.
This is a convenience class to specialize ConfigVariable as an integer type.