Kaydet (Commit) 0a5e6614 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

LOK: tiled rendering / svp includes are Linux only too for now.

Change-Id: Iacd8554698f309f79208fd8390800ae2c5fd8085
üst e5fb9829
...@@ -49,11 +49,14 @@ ...@@ -49,11 +49,14 @@
#include <salinst.hxx> #include <salinst.hxx>
// Tiled Rendering is Linux only for now.
#if defined(UNX) && !defined(MACOSX) && !defined(ENABLE_HEADLESS)
// And let's also grab the SvpSalInstance and SvpSalVirtualDevice // And let's also grab the SvpSalInstance and SvpSalVirtualDevice
#include <headless/svpinst.hxx> #include <headless/svpinst.hxx>
#include <headless/svpvd.hxx> #include <headless/svpvd.hxx>
#include <basebmp/bitmapdevice.hxx> #include <basebmp/bitmapdevice.hxx>
#endif
using namespace css; using namespace css;
using namespace utl; using namespace utl;
...@@ -448,7 +451,7 @@ void doc_paintTile (LibreOfficeKitDocument* pThis, ...@@ -448,7 +451,7 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
Application::AcquireSolarMutex(1); Application::AcquireSolarMutex(1);
{ {
#if defined(UNX) && !defined(MACOSX) #if defined(UNX) && !defined(MACOSX) && !defined(ENABLE_HEADLESS)
ImplSVData* pSVData = ImplGetSVData(); ImplSVData* pSVData = ImplGetSVData();
SvpSalInstance* pSalInstance = static_cast< SvpSalInstance* >(pSVData->mpDefInst); SvpSalInstance* pSalInstance = static_cast< SvpSalInstance* >(pSVData->mpDefInst);
pSalInstance->setBitCountFormatMapping( 32, ::basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA ); pSalInstance->setBitCountFormatMapping( 32, ::basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment