15 #ifndef WGLGRAPHICSWINDOW_H
16 #define WGLGRAPHICSWINDOW_H
18 #include "pandabase.h"
19 #include "winGraphicsWindow.h"
45 virtual void close_window();
46 virtual bool open_window();
49 void setup_colormap(
const PIXELFORMATDESCRIPTOR &pixelformat);
52 static void print_pfd(PIXELFORMATDESCRIPTOR *pfd,
char *msg);
62 static void init_type() {
63 WinGraphicsWindow::init_type();
64 register_type(_type_handle,
"wglGraphicsWindow",
65 WinGraphicsWindow::get_class_type());
68 return get_class_type();
70 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
76 #include "wglGraphicsWindow.I"
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...
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, graphics windows that interface with the Microsoft Windows API).
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...
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...