LOK: Tiled Rendering only useable on Linux.

Change-Id: I90daddddb08c26c594109ecf926cb4ea64308770
This commit is contained in:
Andrzej Hunt
2014-06-25 14:30:28 +01:00
parent 6403f2b59b
commit e5fb98294a

View File

@@ -448,6 +448,7 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
Application::AcquireSolarMutex(1);
{
#if defined(UNX) && !defined(MACOSX)
ImplSVData* pSVData = ImplGetSVData();
SvpSalInstance* pSalInstance = static_cast< SvpSalInstance* >(pSVData->mpDefInst);
pSalInstance->setBitCountFormatMapping( 32, ::basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA );
@@ -465,6 +466,16 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
basebmp::BitmapDeviceSharedPtr pBmpDev = pSalDev->getBitmapDevice();
*pRowStride = pBmpDev->getScanlineStride();
#else
(void) pBuffer;
(void) nCanvasWidth;
(void) nCanvasHeight;
(void) pRowStride;
(void) nTilePosX;
(void) nTilePosY;
(void) nTileWidth;
(void) nTileHeight;
#endif
}
Application::ReleaseSolarMutex();
}