Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_ContextD3D.cpp
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| /** \file | /** \file | ||||
| * \ingroup GHOST | * \ingroup GHOST | ||||
| * | * | ||||
| * For testing purposes, it can be useful to do some DirectX only drawing. A patch for this can be | * For testing purposes, it can be useful to do some DirectX only drawing. A patch for this can be | ||||
| * found here: https://developer.blender.org/P1284 | * found here: https://developer.blender.org/P1284 | ||||
| */ | */ | ||||
| #include <iostream> | #include <iostream> | ||||
| #include <string> | #include <string> | ||||
| #include <GL/glew.h> | #include <epoxy/wgl.h> | ||||
| #include <GL/wglew.h> | |||||
| #include "GHOST_ContextD3D.h" | #include "GHOST_ContextD3D.h" | ||||
| #include "GHOST_ContextWGL.h" /* For shared drawing */ | #include "GHOST_ContextWGL.h" /* For shared drawing */ | ||||
| HMODULE GHOST_ContextD3D::s_d3d_lib = NULL; | HMODULE GHOST_ContextD3D::s_d3d_lib = NULL; | ||||
| PFN_D3D11_CREATE_DEVICE GHOST_ContextD3D::s_D3D11CreateDeviceFn = NULL; | PFN_D3D11_CREATE_DEVICE GHOST_ContextD3D::s_D3D11CreateDeviceFn = NULL; | ||||
| GHOST_ContextD3D::GHOST_ContextD3D(bool stereoVisual, HWND hWnd) | GHOST_ContextD3D::GHOST_ContextD3D(bool stereoVisual, HWND hWnd) | ||||
| ▲ Show 20 Lines • Show All 374 Lines • Show Last 20 Lines | |||||