22 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDAGLES) && !defined(BUILDING_PANDAGLES2) 23 #error Buildsystem error: BUILDING_PANDAGLES(2) not defined 26 Configure(config_egldisplay);
27 NotifyCategoryDef(egldisplay,
"display");
29 ConfigureFn(config_egldisplay) {
41 static bool initialized =
false;
47 eglGraphicsPipe::init_type();
48 eglGraphicsWindow::init_type();
49 eglGraphicsStateGuardian::init_type();
53 eglGraphicsPipe::pipe_constructor);
68 case 0x3000:
return "EGL_SUCCESS";
break;
69 case 0x3001:
return "EGL_NOT_INITIALIZED";
break;
70 case 0x3002:
return "EGL_BAD_ACCESS";
break;
71 case 0x3003:
return "EGL_BAD_ALLOC";
break;
72 case 0x3004:
return "EGL_BAD_ATTRIBUTE";
break;
73 case 0x3005:
return "EGL_BAD_CONFIG";
break;
74 case 0x3006:
return "EGL_BAD_CONTEXT";
break;
75 case 0x3007:
return "EGL_BAD_CURRENT_SURFACE";
break;
76 case 0x3008:
return "EGL_BAD_DISPLAY";
break;
77 case 0x3009:
return "EGL_BAD_MATCH";
break;
78 case 0x300A:
return "EGL_BAD_NATIVE_PIXMAP";
break;
79 case 0x300B:
return "EGL_BAD_NATIVE_WINDOW";
break;
80 case 0x300C:
return "EGL_BAD_PARAMETER";
break;
81 case 0x300D:
return "EGL_BAD_SURFACE";
break;
82 case 0x300E:
return "EGL_CONTEXT_LOST";
break;
83 default:
return "Unknown error";
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
This class is used as a namespace to group several global properties of Panda.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This maintains a list of GraphicsPipes by type that are available for creation.
static GraphicsPipeSelection * get_global_ptr()
Returns a pointer to the one global GraphicsPipeSelection object.
const std::string get_egl_error_string(int error)
Returns the given EGL error as string.
void set_system_tag(const std::string &system, const std::string &tag, const std::string &value)
Intended for use by each subsystem to register its set of capabilities at startup.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool add_pipe_type(TypeHandle type, PipeConstructorFunc *func)
Adds a new kind of GraphicsPipe to the list of available pipes for creation.
void init_libegldisplay()
Initializes the library.