summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-01 17:20:44 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-01 17:22:09 +0300
commit2a163c787b991c57e7e32ea6909cce5e38427974 (patch)
tree795c7513fb7caee276ab738986c227d1e932eb80 /vcl
parentfecd4c53ffdb74881e88b8fc1707a58249e1a0a9 (diff)
Add some more CG_TRACEs
Change-Id: I076fd5957cac62f047778e63a1336bd322f90683
Diffstat (limited to 'vcl')
-rw-r--r--vcl/quartz/salgdicommon.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index e0968e99d232..de28d5a67994 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();
}