|
Blender V5.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 192 of file GHOST_ContextWGL.cc.
References choose_pixel_format_legacy(), w(), and weight_pixel_format().
Referenced by choose_pixel_format_legacy(), 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 246 of file GHOST_ContextWGL.cc.
References clone_window(), and L.
Referenced by clone_window(), and DummyContextWGL::DummyContextWGL().
|
static |
Definition at line 25 of file GHOST_ContextWGL.cc.
References is_crappy_intel_card().
Referenced by GHOST_ContextWGL::initializeDrawingContext(), and is_crappy_intel_card().
|
static |
Definition at line 304 of file GHOST_ContextWGL.cc.
References makeAttribList(), and out.
Referenced by makeAttribList().
|
static |
Definition at line 518 of file GHOST_ContextWGL.cc.
References reportContextString().
Referenced by GHOST_ContextWGL::initializeDrawingContext(), and reportContextString().
|
static |
Definition at line 160 of file GHOST_ContextWGL.cc.
References weight_pixel_format().
Referenced by choose_pixel_format_legacy(), and weight_pixel_format().