LibreOffice Module vcl (master) 1
Functions | Variables
win/context.cxx File Reference
#include <memory>
#include <string_view>
#include <thread>
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
#include <vcl/syschild.hxx>
#include <sal/log.hxx>
#include <comphelper/windowserrorstring.hxx>
#include <opengl/zone.hxx>
#include <win/wincomp.hxx>
#include <win/saldata.hxx>
#include <win/salframe.h>
#include <win/salinst.h>
#include <epoxy/wgl.h>
#include <ControlCacheKey.hxx>
Include dependency graph for win/context.cxx:

Go to the source code of this file.

Functions

static void ensureDispatchTable ()
 
static LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
 
static bool InitTempWindow (HWND &hwnd, int width, int height, const PIXELFORMATDESCRIPTOR &inPfd, GLWinWindow &glWin)
 
static bool WGLisExtensionSupported (const char *extension)
 
static bool InitMultisample (const PIXELFORMATDESCRIPTOR &pfd, int &rPixelFormat, bool bUseDoubleBufferedRendering, bool bRequestVirtualDevice)
 

Variables

static std::vector< HGLRC > g_vShareList
 
static bool g_bAnyCurrent
 

Function Documentation

◆ ensureDispatchTable()

static void ensureDispatchTable ( )
static

Definition at line 90 of file win/context.cxx.

◆ InitMultisample()

static bool InitMultisample ( const PIXELFORMATDESCRIPTOR &  pfd,
int rPixelFormat,
bool  bUseDoubleBufferedRendering,
bool  bRequestVirtualDevice 
)
static

◆ InitTempWindow()

static bool InitTempWindow ( HWND &  hwnd,
int  width,
int  height,
const PIXELFORMATDESCRIPTOR &  inPfd,
GLWinWindow &  glWin 
)
static

Definition at line 198 of file win/context.cxx.

References g_bAnyCurrent, GetDC, and WndProc().

Referenced by InitMultisample().

◆ WGLisExtensionSupported()

static bool WGLisExtensionSupported ( const char *  extension)
static

Definition at line 254 of file win/context.cxx.

References p.

Referenced by InitMultisample().

◆ WndProc()

static LRESULT CALLBACK WndProc ( HWND  hwnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 182 of file win/context.cxx.

References CALLBACK.

Referenced by InitTempWindow().

Variable Documentation

◆ g_bAnyCurrent

bool g_bAnyCurrent
static

Definition at line 28 of file win/context.cxx.

Referenced by InitMultisample(), and InitTempWindow().

◆ g_vShareList

std::vector<HGLRC> g_vShareList
static

Definition at line 27 of file win/context.cxx.