summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-17 21:44:49 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-20 13:53:16 +0000
commit55bd0ac154a7118f7cce48ffd1e44a48d9099413 (patch)
tree4f627b0fde3324ecdb344e9b8af3ad8040530930
parent2286144f86a14463fd93145a533144f74fb0c0e9 (diff)
add some OpenGL info to the crash reporter
Change-Id: Id377bc3bd814fad822d577603b1f147b71ad9ae2 Reviewed-on: https://gerrit.libreoffice.org/26445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index e9278b144d18..b2d5bff31110 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -521,8 +521,10 @@ void writeToLog(SvStream& rStrm, const char* pKey, const OUString rVal)
bool WinOpenGLDeviceInfo::isDeviceBlocked()
{
- // CrashReporter::AddKeyAndValue("AdapterVendorId", maAdapterVendorID);
- // CrashReporter::AddKeyAndValue("AdapterDeviceId", maAdapterDeviceID);
+ CrashReporter::AddKeyValue("OpenGLVendor", maAdapterVendorID);
+ CrashReporter::AddKeyValue("OpenGLDevice", maAdapterDeviceID);
+ CrashReporter::AddKeyValue("OpenGLDriver", maDriverVersion);
+
SAL_INFO("vcl.opengl", maDriverVersion);
SAL_INFO("vcl.opengl", maDriverDate);
SAL_INFO("vcl.opengl", maDeviceID);