diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-11-25 17:10:39 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-26 11:28:58 +0000 |
commit | 97474cae830524fe57887d26743760bd49bb47ec (patch) | |
tree | 4586df54d78ee42fe185bb2900cae40e33cc153f /vcl/opengl/win | |
parent | loplugin:unuseddefaultparam in include/vbahelper (diff) | |
download | core-97474cae830524fe57887d26743760bd49bb47ec.tar.gz core-97474cae830524fe57887d26743760bd49bb47ec.zip |
log some information about used OpenGL device
Change-Id: I0c050396e6b1efa7dd2f003a79a9dc506135197a
Reviewed-on: https://gerrit.libreoffice.org/22555
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/opengl/win')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 4f334539f490..e9278b144d18 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -22,6 +22,8 @@ #include <rtl/ustrbuf.hxx> #include <tools/stream.hxx> +#include <desktop/crashreport.hxx> + OUString* WinOpenGLDeviceInfo::mpDeviceVendors[wgl::DeviceVendorMax]; std::vector<wgl::DriverInfo> WinOpenGLDeviceInfo::maDriverInfo; @@ -519,6 +521,8 @@ void writeToLog(SvStream& rStrm, const char* pKey, const OUString rVal) bool WinOpenGLDeviceInfo::isDeviceBlocked() { + // CrashReporter::AddKeyAndValue("AdapterVendorId", maAdapterVendorID); + // CrashReporter::AddKeyAndValue("AdapterDeviceId", maAdapterDeviceID); SAL_INFO("vcl.opengl", maDriverVersion); SAL_INFO("vcl.opengl", maDriverDate); SAL_INFO("vcl.opengl", maDeviceID); |