14#ifndef WGLGRAPHICSPIPE_H
15#define WGLGRAPHICSPIPE_H
26class EXPCL_PANDA_WGLDISPLAY wglGraphicsPipe :
public WinGraphicsPipe {
29 virtual ~wglGraphicsPipe();
32 static PT(GraphicsPipe) pipe_constructor();
39 GraphicsEngine *engine,
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();}
73 friend class wglGraphicsBuffer;
74 friend class wglGraphicsWindow;
75 friend class wglGraphicsStateGuardian;
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...
This is a base class for the various different classes that represent the result of a frame of render...
Encapsulates all the communication with a particular instance of a given rendering backend.
A lightweight class that represents a single element that may be timed and/or counted via stats.
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 std::string get_interface_name() const
Returns the name of the rendering interface associated with this GraphicsPipe.
A tiny specialization on GLGraphicsStateGuardian to add some wgl-specific information.
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.