24 Configure(config_androiddisplay);
25 NotifyCategoryDef(androiddisplay,
"display");
27 ConfigureFn(config_androiddisplay) {
39 static bool initialized =
false;
46 display_cat.get_safe_ptr();
48 AndroidGraphicsPipe::init_type();
49 AndroidGraphicsWindow::init_type();
50 AndroidGraphicsStateGuardian::init_type();
53 selection->
add_pipe_type(AndroidGraphicsPipe::get_class_type(),
54 AndroidGraphicsPipe::pipe_constructor);
69 case 0x3000:
return "EGL_SUCCESS";
break;
70 case 0x3001:
return "EGL_NOT_INITIALIZED";
break;
71 case 0x3002:
return "EGL_BAD_ACCESS";
break;
72 case 0x3003:
return "EGL_BAD_ALLOC";
break;
73 case 0x3004:
return "EGL_BAD_ATTRIBUTE";
break;
74 case 0x3005:
return "EGL_BAD_CONFIG";
break;
75 case 0x3006:
return "EGL_BAD_CONTEXT";
break;
76 case 0x3007:
return "EGL_BAD_CURRENT_SURFACE";
break;
77 case 0x3008:
return "EGL_BAD_DISPLAY";
break;
78 case 0x3009:
return "EGL_BAD_MATCH";
break;
79 case 0x300A:
return "EGL_BAD_NATIVE_PIXMAP";
break;
80 case 0x300B:
return "EGL_BAD_NATIVE_WINDOW";
break;
81 case 0x300C:
return "EGL_BAD_PARAMETER";
break;
82 case 0x300D:
return "EGL_BAD_SURFACE";
break;
83 case 0x300E:
return "EGL_CONTEXT_LOST";
break;
84 default:
return "Unknown error";
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.
void init_libdisplay()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const std::string get_egl_error_string(int error)
Returns the given EGL error as string.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void init_libandroiddisplay()
Initializes the library.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.