Kaydet (Commit) 2dd20b47 authored tarafından Michael Meeks's avatar Michael Meeks

Comment the quartz off-screen buffering code.

Change-Id: Ie9a52745a83ca6e4281faa4f1dc8b8ea7411badf
Reviewed-on: https://gerrit.libreoffice.org/19805Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst d7144b71
......@@ -89,6 +89,10 @@ void AquaSalGraphics::UnsetState()
}
}
/**
* (re-)create the off-screen mxLayer we render everything to if
* necessary: eg. not initialized yet, or it has an incorrect size.
*/
bool AquaSalGraphics::CheckContext()
{
if( mbWindow && mpFrame && mpFrame->getNSWindow() )
......@@ -174,6 +178,11 @@ CGContextRef AquaSalGraphics::GetContext()
return mrContext;
}
/**
* Blit the contents of our internal mxLayer state to the
* associated window, if any; cf. drawRect event handling
* on the frame.
*/
void AquaSalGraphics::UpdateWindow( NSRect& )
{
if( !mpFrame )
......
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