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

static void ensureDispatchTable ( )
static

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

static bool InitMultisample ( const PIXELFORMATDESCRIPTOR &  pfd,
int rPixelFormat,
bool  bUseDoubleBufferedRendering,
bool  bRequestVirtualDevice 
)
static
static bool InitTempWindow ( HWND &  hwnd,
int  width,
int  height,
const PIXELFORMATDESCRIPTOR &  inPfd,
GLWinWindow &  glWin 
)
static

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

References g_bAnyCurrent, GetDC, and WndProc().

Referenced by InitMultisample().

static bool WGLisExtensionSupported ( const char *  extension)
static

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

References p.

Referenced by InitMultisample().

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

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

References CALLBACK.

Referenced by InitTempWindow().

Variable Documentation

bool g_bAnyCurrent
static

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

Referenced by InitMultisample(), and InitTempWindow().

std::vector<HGLRC> g_vShareList
static

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