14#ifndef GLXGRAPHICSWINDOW_H
15#define GLXGRAPHICSWINDOW_H
27class glxGraphicsWindow :
public x11GraphicsWindow {
29 glxGraphicsWindow(GraphicsEngine *engine, GraphicsPipe *pipe,
30 const std::string &name,
35 GraphicsOutput *host);
36 virtual ~glxGraphicsWindow() {};
43 virtual void close_window();
44 virtual bool open_window();
47 virtual void setup_colormap(GLXFBConfig fbconfig);
48 virtual void setup_colormap(XVisualInfo *visual);
54 static void init_type() {
55 x11GraphicsWindow::init_type();
57 x11GraphicsWindow::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...
Encapsulates all the communication with a particular instance of a given rendering backend.
A thread; that is, a lightweight process.
TypeHandle is the identifier used to differentiate C++ class types.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
virtual void end_flip()
This function will be called within the draw thread after begin_flip() has been called on all windows...
virtual bool begin_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread before beginning rendering for a given frame.
virtual void end_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread after rendering is completed for a given frame.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.