vcl/quartz/salgdicommon.cxx | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 2a163c787b991c57e7e32ea6909cce5e38427974 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Apr 1 17:20:44 2014 +0300
Add some more CG_TRACEs Change-Id: I076fd5957cac62f047778e63a1336bd322f90683 diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index e0968e9..de28d5a 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -2002,6 +2002,7 @@ void AquaSalGraphics::SetVirDevGraphics( CGLayerRef xLayer, CGContextRef xContex // We will return early a few lines lower. // Undo the "stack initialization" done at the initial call of // this method, see end. + CG_TRACE( "CGContextRestoreGState(" << mrContext << ")" ); CGContextRestoreGState( mrContext ); } #endif @@ -2027,12 +2028,14 @@ void AquaSalGraphics::SetVirDevGraphics( CGLayerRef xLayer, CGContextRef xContex { mnWidth = CGBitmapContextGetWidth( mrContext ); mnHeight = CGBitmapContextGetHeight( mrContext ); + CG_TRACE( "CGBitmapContextGetWidth&Height(" << mrContext << ") = " << mnWidth << "x" << mnHeight ); } else { const CGSize aSize = CGLayerGetSize( mxLayer ); mnWidth = static_cast<int>(aSize.width); mnHeight = static_cast<int>(aSize.height); + CG_TRACE( "CGLayerGetSize(" << mxLayer << ") = " << aSize ); } // prepare graphics for drawing @@ -2049,6 +2052,7 @@ void AquaSalGraphics::SetVirDevGraphics( CGLayerRef xLayer, CGContextRef xContex } // initialize stack of CGContext states + CG_TRACE( "CGContextSaveGState(" << mrContext << ")" ); CGContextSaveGState( mrContext ); SetState(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits