14#ifndef GLXGRAPHICSBUFFER_H
15#define GLXGRAPHICSBUFFER_H
25class glxGraphicsBuffer :
public GraphicsBuffer {
27 glxGraphicsBuffer(GraphicsEngine *engine, GraphicsPipe *pipe,
28 const std::string &name,
33 GraphicsOutput *host);
34 virtual ~glxGraphicsBuffer();
40 virtual void close_buffer();
41 virtual bool open_buffer();
44 X11_Display *_display;
51 static void init_type() {
52 GraphicsBuffer::init_type();
54 GraphicsBuffer::get_class_type());
57 return get_class_type();
59 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 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.
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(),...