summaryrefslogtreecommitdiff
path: root/vcl/quartz/salgdi.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-06-07 08:41:26 +0300
committerTor Lillqvist <tml@collabora.com>2019-06-07 08:44:05 +0200
commit8d16f406e62854df093a7c44c82dff19b0dda130 (patch)
treef44d83e00bb6f10089936ad9b560a660e8677890 /vcl/quartz/salgdi.cxx
parent548f30f21b161e01607f523f65861f47fc78867a (diff)
Bin the much too verbose SAL_INFO() calls for the "vcl.cg" tag
Quikee agreed that they aren't really useful. Doing even the simplest things causes such a huge amount of logging that it is questionable whether anybody could have any use of it. Parts of it might be useful to restore later, if need arises. Like the mnContextStackDepth logging in vcl/inc/quartz/CGHelpers.hxx. Change-Id: If635e6492a50e5955c56c54fa310e7c0ab2986ae Reviewed-on: https://gerrit.libreoffice.org/73639 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl/quartz/salgdi.cxx')
-rw-r--r--vcl/quartz/salgdi.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index 9637966f9c63..f27047a116f4 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -219,7 +219,6 @@ AquaSalGraphics::~AquaSalGraphics()
if( mxClipPath )
{
- SAL_INFO("vcl.cg", "CGPathRelease(" << mxClipPath << ")" );
CGPathRelease( mxClipPath );
}
@@ -239,7 +238,6 @@ AquaSalGraphics::~AquaSalGraphics()
#endif
if (maLayer.isSet())
{
- SAL_INFO("vcl.cg", "CGLayerRelease(" << maLayer.get() << ")" );
CGLayerRelease(maLayer.get());
}
else if (maContextHolder.isSet()
@@ -249,7 +247,6 @@ AquaSalGraphics::~AquaSalGraphics()
)
{
// destroy backbuffer bitmap context that we created ourself
- SAL_INFO("vcl.cg", "CGContextRelease(" << maContextHolder.get() << ")" );
CGContextRelease(maContextHolder.get());
maContextHolder.set(nullptr);
}
@@ -448,10 +445,8 @@ void AquaSalGraphics::DrawTextLayout(const GenericSalLayout& rLayout)
maContextHolder.saveState();
// The view is vertically flipped (no idea why), flip it back.
- SAL_INFO("vcl.cg", "CGContextScaleCTM(" << maContextHolder.get() << ",1,-1)");
CGContextScaleCTM(maContextHolder.get(), 1.0, -1.0);
CGContextSetShouldAntialias(maContextHolder.get(), !mbNonAntialiasedText);
- SAL_INFO("vcl.cg", "CGContextSetFillColor(" << maContextHolder.get() << "," << maTextColor << ")");
CGContextSetFillColor(maContextHolder.get(), maTextColor.AsArray());
if (rStyle.mbFauxBold)
@@ -476,10 +471,8 @@ void AquaSalGraphics::DrawTextLayout(const GenericSalLayout& rLayout)
maContextHolder.saveState();
if (rStyle.mfFontRotation && !bUprightGlyph)
{
- SAL_INFO("vcl.cg", "CGContextRotateCTM(" << maContextHolder.get() << "," << rStyle.mfFontRotation << ")");
CGContextRotateCTM(maContextHolder.get(), rStyle.mfFontRotation);
}
- SAL_INFO("vcl.cg", "CTFontDrawGlyphs() @" << nStartIndex << ":" << nLen << "," << maContextHolder.get());
CTFontDrawGlyphs(pFont, &aGlyphIds[nStartIndex], &aGlyphPos[nStartIndex], nLen, maContextHolder.get());
maContextHolder.restoreState();