diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-10-16 16:00:46 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-27 09:55:08 +0100 |
commit | ef943999fbac70a28066093028e2192f8aba4c72 (patch) | |
tree | 1b2be9e201c41a749557b62924a2ae53fe89d968 /vcl/win | |
parent | b6cbf5dbd067c63f94872e31f2332e95edc201dd (diff) |
use SupportsBitmap32 also for Skia on Windows
Change-Id: Ic40b76f152767d25c3645de2cb013c3af4ae93a4
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/app/salinst.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index b490b34917b7..c0ec01595f9a 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -1066,4 +1066,14 @@ OUString WinSalInstance::getOSVersion() return aVer.makeStringAndClear(); } +std::shared_ptr<vcl::BackendCapabilities> WinSalInstance::GetBackendCapabilities() +{ + auto pBackendCapabilities = SalInstance::GetBackendCapabilities(); +#if HAVE_FEATURE_SKIA + if( SkiaHelper::isVCLSkiaEnabled()) + pBackendCapabilities->mbSupportsBitmap32 = true; +#endif + return pBackendCapabilities; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |