14 #ifndef WGLGRAPHICSPIPE_H 15 #define WGLGRAPHICSPIPE_H 31 virtual std::string get_interface_name()
const;
48 static std::string format_pfd_flags(DWORD pfd_flags);
49 static bool wgl_make_current(HDC hdc, HGLRC hglrc,
PStatCollector *collector);
51 static bool _current_valid;
52 static HDC _current_hdc;
53 static HGLRC _current_hglrc;
54 static Thread *_current_thread;
60 static void init_type() {
61 WinGraphicsPipe::init_type();
63 WinGraphicsPipe::get_class_type());
66 return get_class_type();
68 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
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.
A tiny specialization on GLGraphicsStateGuardian to add some wgl-specific information.
A lightweight class that represents a single element that may be timed and/or counted via stats.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
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...
This graphics pipe represents the interface for creating OpenGL graphics windows on the various Windo...
This is an abstract base class for wglGraphicsPipe and wdxGraphicsPipe; that is, those graphics pipes...
An offscreen render buffer.
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...