Panda3D
panda
src
androiddisplay
config_androiddisplay.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_androiddisplay.h
10
* @author rdb
11
* @date 2013-01-11
12
*/
13
14
#ifndef CONFIG_ANDROIDDISPLAY_H
15
#define CONFIG_ANDROIDDISPLAY_H
16
17
#include "
pandabase.h
"
18
#include "
notifyCategoryProxy.h
"
19
#include "
configVariableString.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
#if !defined(OPENGLES_1) && !defined(OPENGLES_2)
27
#error Either OPENGLES_1 or OPENGLES_2 must be defined when compiling androiddisplay!
28
#endif
29
30
#ifdef OPENGLES_2
31
NotifyCategoryDecl(androiddisplay, EXPCL_PANDAGLES2, EXPTP_PANDAGLES2);
32
33
extern
EXPCL_PANDAGLES2
void
init_libandroiddisplay
();
34
extern
EXPCL_PANDAGLES2
const
std::string
get_egl_error_string
(
int
error);
35
#else
36
NotifyCategoryDecl(androiddisplay, EXPCL_PANDAGLES, EXPTP_PANDAGLES);
37
38
extern
EXPCL_PANDAGLES
void
init_libandroiddisplay
();
39
extern
EXPCL_PANDAGLES
const
std::string
get_egl_error_string
(
int
error);
40
#endif
41
42
#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
notifyCategoryProxy.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableInt.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
init_libandroiddisplay
EXPCL_PANDAGLES void init_libandroiddisplay()
Initializes the library.
Definition:
config_androiddisplay.cxx:38
configVariableBool.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
configVariableString.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_egl_error_string
EXPCL_PANDAGLES const std::string get_egl_error_string(int error)
Returns the given EGL error as string.
Definition:
config_androiddisplay.cxx:67
Generated on Mon Sep 14 2020 15:06:43 for Panda3D by
1.8.20