Panda3D
Loading...
Searching...
No Matches
config_egldisplay.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file config_egldisplay.h
10 * @author cary
11 * @date 2009-05-21
12 */
13
14#ifndef CONFIG_EGLDISPLAY_H
15#define CONFIG_EGLDISPLAY_H
16
17#include "pandabase.h"
18#include "notifyCategoryProxy.h"
20#include "configVariableBool.h"
21#include "configVariableInt.h"
22
23#if defined(OPENGLES_1) && defined(OPENGLES_2)
24 #error OPENGLES_1 and OPENGLES_2 cannot be defined at the same time!
25#endif
26
27#ifdef OPENGLES_2
28 NotifyCategoryDecl(egldisplay, EXPCL_PANDAGLES2, EXPTP_PANDAGLES2);
29
30 extern EXPCL_PANDAGLES2 void init_libegldisplay();
31 extern EXPCL_PANDAGLES2 const std::string get_egl_error_string(int error);
32#elif defined(OPENGLES_1)
33 NotifyCategoryDecl(egldisplay, EXPCL_PANDAGLES, EXPTP_PANDAGLES);
34
35 extern EXPCL_PANDAGLES void init_libegldisplay();
36 extern EXPCL_PANDAGLES const std::string get_egl_error_string(int error);
37#else
38 NotifyCategoryDecl(egldisplay, EXPCL_PANDAGL, EXPTP_PANDAGL);
39
40 extern EXPCL_PANDAGL void init_libegldisplay();
41 extern EXPCL_PANDAGL const std::string get_egl_error_string(int error);
42#endif
43
44#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPCL_PANDAGL void init_libegldisplay()
Initializes the library.
EXPCL_PANDAGL const std::string get_egl_error_string(int error)
Returns the given EGL error as string.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.