Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_ContextWGL.h
| Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | int _choose_pixel_format_arb_2(bool stereoVisual, | ||||
| int *numOfAASamples, | int *numOfAASamples, | ||||
| bool needAlpha, | bool needAlpha, | ||||
| bool needStencil, | bool needStencil, | ||||
| bool sRGB, | bool sRGB, | ||||
| int swapMethod); | int swapMethod); | ||||
| void initContextWGLEW(PIXELFORMATDESCRIPTOR &preferredPFD); | void initContextWGLEW(PIXELFORMATDESCRIPTOR &preferredPFD); | ||||
| /* offscreen buffer with size of 1x1 pixel, | |||||
| * kept here to release the device constext when closing the program. */ | |||||
| HPBUFFERARB m_dummyPbuffer; | |||||
| HWND m_hWnd; | HWND m_hWnd; | ||||
| HDC m_hDC; | HDC m_hDC; | ||||
| const int m_contextProfileMask; | const int m_contextProfileMask; | ||||
| const int m_contextMajorVersion; | const int m_contextMajorVersion; | ||||
| const int m_contextMinorVersion; | const int m_contextMinorVersion; | ||||
| const int m_contextFlags; | const int m_contextFlags; | ||||
| const bool m_alphaBackground; | const bool m_alphaBackground; | ||||
| Show All 17 Lines | |||||