14#ifndef WGLGRAPHICSWINDOW_H
15#define WGLGRAPHICSWINDOW_H
23class EXPCL_PANDA_WGLDISPLAY wglGraphicsWindow :
public WinGraphicsWindow {
25 wglGraphicsWindow(GraphicsEngine *engine, GraphicsPipe *pipe,
26 const std::string &name,
31 GraphicsOutput *host);
32 virtual ~wglGraphicsWindow();
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();}
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...
virtual void ready_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.
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.
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.
virtual void begin_flip()
This function will be called within the draw thread after end_frame() has been called on all windows,...
A container for the various kinds of properties we might ask to have on a graphics window before we o...
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.