|
Blender V4.3
|
#include "GHOST_ContextWGL.hh"#include <tchar.h>#include <cassert>#include <cstdio>#include <vector>Go to the source code of this file.
Classes | |
| struct | DummyContextWGL |
Macros | |
| #define | _MAX_PIXEL_FORMATS 32 |
Functions | |
| static bool | is_crappy_intel_card () |
| static int | weight_pixel_format (PIXELFORMATDESCRIPTOR &pfd, PIXELFORMATDESCRIPTOR &preferredPFD) |
| static int | choose_pixel_format_legacy (HDC hDC, PIXELFORMATDESCRIPTOR &preferredPFD) |
| static HWND | clone_window (HWND hWnd, LPVOID lpParam) |
| static void | makeAttribList (std::vector< int > &out, bool stereoVisual, bool needAlpha) |
| static void | reportContextString (const char *name, const char *dummy, const char *context) |
Definition of GHOST_ContextWGL class.
Definition in file GHOST_ContextWGL.cc.
| #define _MAX_PIXEL_FORMATS 32 |
|
static |
Definition at line 170 of file GHOST_ContextWGL.cc.
References w(), and weight_pixel_format().
Referenced by DummyContextWGL::DummyContextWGL(), and GHOST_ContextWGL::initializeDrawingContext().
|
static |
Clone a window for the purpose of creating a temporary context to initialize WGL extensions. There is no generic way to clone the lpParam parameter, so the caller is responsible for cloning it themselves.
Definition at line 224 of file GHOST_ContextWGL.cc.
Referenced by DummyContextWGL::DummyContextWGL().
|
static |
Definition at line 23 of file GHOST_ContextWGL.cc.
Referenced by GHOST_ContextWGL::initializeDrawingContext().
|
static |
Definition at line 275 of file GHOST_ContextWGL.cc.
|
static |
Definition at line 513 of file GHOST_ContextWGL.cc.
Referenced by GHOST_ContextWGL::initializeDrawingContext().
|
static |
Definition at line 134 of file GHOST_ContextWGL.cc.
Referenced by choose_pixel_format_legacy().