LibreOffice Module vcl (master)
1
|
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>
Public Member Functions | |
OpenGLZone () | |
~OpenGLZone () | |
Static Public Member Functions | |
static bool | isInZone () |
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 () |
Private Types | |
using | AtomicCounter = std::atomic< std::make_unsigned_t< std::sig_atomic_t >> |
Static Private Member Functions | |
static void | enter () |
static void | leave () |
Static Private Attributes | |
static AtomicCounter | gnEnterCount = 0 |
how many times have we entered a GL zone More... | |
static AtomicCounter | gnLeaveCount = 0 |
how many times have we left a new GL zone More... | |
Friends | |
class | OpenGLWatchdogThread |
class | OpenGLSalGraphicsImpl |
We want to be able to detect if a given crash came from the OpenGL code, so use this helper to track that.
|
private |
|
static |
Called from a signal handler or watchdog thread if we get a crash or hang in some GL code.
Definition at line 915 of file OpenGLHelper.cxx.
References comphelper::ConfigurationChanges::create(), comphelper::getProcessComponentContext(), and OpenGLWatchdogThread::stop().
Referenced by OpenGLWatchdogThread::execute(), and VCLExceptionSignal_impl().
|
inlinestatic |
Definition at line 55 of file zone.hxx.
Referenced by OpenGLWatchdogThread::execute(), and VCLExceptionSignal_impl().
|
static |
Definition at line 939 of file OpenGLHelper.cxx.
Referenced by OpenGLHelper::isDeviceBlacklisted().
|
friend |
|
friend |
|
staticprivate |
how many times have we entered a GL zone
Definition at line 40 of file zone.hxx.
Referenced by OpenGLWatchdogThread::execute().
|
staticprivate |