LibreOffice Module vcl (master) 1
Static Public Member Functions | List of all members
OpenGLZone Class Reference

We want to be able to detect if a given crash came from the OpenGL code, so use this helper to track that. More...

#include <zone.hxx>

Inheritance diagram for OpenGLZone:
[legend]
Collaboration diagram for OpenGLZone:
[legend]

Static Public Member Functions

static void hardDisable ()
 Called from a signal handler or watchdog thread if we get a crash or hang in some GL code. More...
 
static void relaxWatchdogTimings ()
 
static const CrashWatchdogTimingsValuesgetCrashWatchdogTimingsValues ()
 
static void checkDebug (int nUnchanged, const CrashWatchdogTimingsValues &aTimingValues)
 
static const char * name ()
 
- Static Public Member Functions inherited from CrashZone< OpenGLZone >
static bool isInZone ()
 
static const AtomicCounterenterCount ()
 
static void enter ()
 
static void leave ()
 

Additional Inherited Members

- Public Member Functions inherited from CrashZone< OpenGLZone >
 CrashZone ()
 
 ~CrashZone ()
 

Detailed Description

We want to be able to detect if a given crash came from the OpenGL code, so use this helper to track that.

Definition at line 22 of file opengl/zone.hxx.

Member Function Documentation

◆ checkDebug()

void OpenGLZone::checkDebug ( int  nUnchanged,
const CrashWatchdogTimingsValues aTimingValues 
)
static

◆ getCrashWatchdogTimingsValues()

const CrashWatchdogTimingsValues & OpenGLZone::getCrashWatchdogTimingsValues ( )
static

Definition at line 874 of file OpenGLHelper.cxx.

References eMode, and gbInShaderCompile.

◆ hardDisable()

void OpenGLZone::hardDisable ( )
static

Called from a signal handler or watchdog thread if we get a crash or hang in some GL code.

Definition at line 838 of file OpenGLHelper.cxx.

References comphelper::ConfigurationChanges::create(), and comphelper::getProcessComponentContext().

Referenced by VCLExceptionSignal_impl().

◆ name()

static const char * OpenGLZone::name ( )
inlinestatic

Definition at line 29 of file opengl/zone.hxx.

◆ relaxWatchdogTimings()

void OpenGLZone::relaxWatchdogTimings ( )
static

Definition at line 860 of file OpenGLHelper.cxx.

Referenced by OpenGLHelper::isDeviceDenylisted().


The documentation for this class was generated from the following files: