23 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDA_WGLDISPLAY) 24 #error Buildsystem error: BUILDING_PANDA_WGLDISPLAY not defined 27 Configure(config_wgldisplay);
28 NotifyCategoryDef(wgldisplay,
"display");
30 ConfigureFn(config_wgldisplay) {
35 (
"gl-force-pixfmt", 0);
38 (
"gl-force-invalid",
false,
39 PRC_DESC(
"Set this true to force all GL windows to fail to open " 40 "correctly (for debugging)."));
43 (
"gl-do-vidmemsize-check",
true,
44 PRC_DESC(
"This is true to insist that low-memory cards open only 640x480 " 45 "fullscreen windows, no matter what resolution of window was " 46 "requested. It only affects fullscreen windows."));
56 static bool initialized =
false;
62 wglGraphicsBuffer::init_type();
63 wglGraphicsPipe::init_type();
64 wglGraphicsStateGuardian::init_type();
65 wglGraphicsWindow::init_type();
69 wglGraphicsPipe::pipe_constructor);
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is used as a namespace to group several global properties of Panda.
This is a convenience class to specialize ConfigVariable as a boolean type.
void init_libwgldisplay()
Initializes the library.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.