14 #ifndef WGLGRAPHICSWINDOW_H 15 #define WGLGRAPHICSWINDOW_H 26 const std::string &name,
42 virtual void close_window();
43 virtual bool open_window();
46 void setup_colormap(
const PIXELFORMATDESCRIPTOR &pixelformat);
49 static void print_pfd(PIXELFORMATDESCRIPTOR *pfd,
char *msg);
59 static void init_type() {
60 WinGraphicsWindow::init_type();
62 WinGraphicsWindow::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual void end_flip()
This function will be called within the draw thread after begin_flip() has been called on all windows...
virtual void begin_flip()
This function will be called within the draw thread after end_frame() has been called on all windows,...
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
An abstract base class for glGraphicsWindow and dxGraphicsWindow (and, in general,...
An object to create GraphicsOutputs that share a particular 3-D API.
A single graphics window for rendering OpenGL under Microsoft Windows.
This is a base class for the various different classes that represent the result of a frame of render...
virtual void ready_flip()
This function will be called within the draw thread after end_frame() has been called on all windows,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread; that is, a lightweight process.
Encapsulates all the communication with a particular instance of a given rendering backend.
This class is the main interface to controlling the render 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 frameBuffer before...
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.