28 #ifndef __OgreWin32GLSupport_H__
29 #define __OgreWin32GLSupport_H__
49 void setConfigOption(
const String &name,
const String &value);
56 virtual RenderWindow* createWindow(
bool autoCreateWindow, GL3PlusRenderSystem* renderSystem,
const String& windowTitle =
"OGRE Render Window");
59 virtual RenderWindow* newWindow(
const String &name,
unsigned int width,
unsigned int height,
75 void* getProcAddress(
const String& procname);
80 virtual void initialiseExtensions();
83 bool selectPixelFormat(HDC hdc,
int colourDepth,
int multisample,
bool hwGamma);
85 virtual unsigned int getDisplayMonitorCount()
const;
89 Win32Window *mInitialWindow;
91 bool mHasPixelFormatARB;
93 bool mHasHardwareGamma;
99 MONITORINFOEX monitorInfoEx;
107 void refreshConfig();
108 void initialiseWGL();
109 static LRESULT CALLBACK dummyWndProc(HWND hwnd, UINT umsg, WPARAM wp, LPARAM lp);
110 static BOOL CALLBACK sCreateMonitorsInfoEnumProc(HMONITOR hMonitor, HDC hdcMonitor,
111 LPRECT lprcMonitor, LPARAM dwData);
PFNWGLCHOOSEPIXELFORMATARBPROC mWglChoosePixelFormat
std::vector< DEVMODE, A > type
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
DisplayMonitorInfoList::iterator DisplayMonitorInfoIterator
#define _OgreGL3PlusExport
vector< DisplayMonitorInfo >::type DisplayMonitorInfoList