add Skia crash zone checking

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 7 February 2020 08:13 UTC

Just like with OpenGL, mark zones where Skia code may call into graphics drivers in order to be able to detect cases where the driver has caused a crash or a lockup.

Change-Id: I0fdbcc2260e3ab7821a595e9960145ae1fc1adfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88011

8a2a9d2809ed add Skia crash zone checking
vcl/Library_vcl.mk | 1 +
vcl/inc/skia/zone.hxx | 30 +++++++++++++++++++++++
vcl/skia/SkiaHelper.cxx | 7 ++++++
vcl/skia/gdiimpl.cxx | 12 ++++++++++
vcl/skia/salbmp.cxx | 7 ++++++
vcl/skia/win/gdiimpl.cxx | 7 ++++++
vcl/skia/x11/gdiimpl.cxx | 4 ++++
vcl/skia/zone.cxx | 58 +++++++++++++++++++++++++++++++++++++++++++++
vcl/source/app/svmain.cxx | 5 ++++
vcl/source/app/watchdog.cxx | 7 ++++++
10 files changed, 138 insertions(+)

Upstream: cgit.freedesktop.org


  • Share