Kaydet (Commit) 828d91ec authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin some no longer needed dbgutil code

It was used to initialize a virtual device pixel buffer to an
"interesting" pattern, in case actual rendering to it failed.

Change-Id: Iacdd86382dfa8c9ed1ea9d213fa489515b2b217d
üst 1ab835e0
...@@ -237,12 +237,6 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY ) ...@@ -237,12 +237,6 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
const int nBytesPerRow = (mnBitmapDepth * nDX + 7) / 8; const int nBytesPerRow = (mnBitmapDepth * nDX + 7) / 8;
void* pRawData = std::malloc( nBytesPerRow * nDY ); void* pRawData = std::malloc( nBytesPerRow * nDY );
#ifdef DBG_UTIL
for (ssize_t i = 0; i < nBytesPerRow * nDY; i++)
{
static_cast<sal_uInt8*>(pRawData)[i] = (i & 0xFF);
}
#endif
mxBitmapContext = CGBitmapContextCreate( pRawData, nDX, nDY, mxBitmapContext = CGBitmapContextCreate( pRawData, nDX, nDY,
mnBitmapDepth, nBytesPerRow, mnBitmapDepth, nBytesPerRow,
GetSalData()->mxGraySpace, kCGImageAlphaNone ); GetSalData()->mxGraySpace, kCGImageAlphaNone );
......
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