summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-06-16 11:06:06 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-06-16 11:06:06 +0200
commit32eec07a9e6343f87c7767b0087648fd6a8c4b58 (patch)
tree501a7f80bd6f4e34a3c732239565172d5d845f00
parentconfigure.ac: Update kf5 include/lib check to work with KF5 >= 5.91 (diff)
downloadcore-32eec07a9e6343f87c7767b0087648fd6a8c4b58.tar.gz
core-32eec07a9e6343f87c7767b0087648fd6a8c4b58.zip
Revert "vcl: add some WinSalGraphics debug logging"
This reverts commit 89612b363f3f11248beea6fa98071c80e8ea7a9c.
-rw-r--r--vcl/source/window/window.cxx4
-rw-r--r--vcl/win/gdi/salvd.cxx1
-rw-r--r--vcl/win/window/salframe.cxx10
3 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index cbd93e3e44bf..9a5a6cde533b 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -86,7 +86,6 @@ Window::Window( WindowType nType )
: OutputDevice(OUTDEV_WINDOW)
, mpWindowImpl(new WindowImpl( nType ))
{
- SAL_INFO("vcl.temp", "Window::Window: " << this);
// true: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active
mbEnableRTL = AllSettings::GetLayoutRTL();
}
@@ -95,7 +94,6 @@ Window::Window( vcl::Window* pParent, WinBits nStyle )
: OutputDevice(OUTDEV_WINDOW)
, mpWindowImpl(new WindowImpl( WindowType::WINDOW ))
{
- SAL_INFO("vcl.temp", "Window::Window: " << this);
// true: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active
mbEnableRTL = AllSettings::GetLayoutRTL();
@@ -142,7 +140,6 @@ bool Window::IsDisposed() const
void Window::dispose()
{
- SAL_INFO("vcl.temp", "Window::dispose: " << this << " mpFrame " << (mpWindowImpl ? mpWindowImpl->mpFrame : nullptr));
assert( mpWindowImpl );
assert( !mpWindowImpl->mbInDispose ); // should only be called from disposeOnce()
assert( (!mpWindowImpl->mpParent ||
@@ -1040,7 +1037,6 @@ void Window::ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* p
pFrame = pSVData->mpDefInst->CreateChildFrame( pSystemParentData, nFrameStyle | SalFrameStyleFlags::PLUG );
else
pFrame = pSVData->mpDefInst->CreateFrame( pParentFrame, nFrameStyle );
- SAL_INFO("vcl.temp", "Window::ImplInit: " << this << " pFrame " << pFrame);
if ( !pFrame )
{
// do not abort but throw an exception, may be the current thread terminates anyway (plugin-scenario)
diff --git a/vcl/win/gdi/salvd.cxx b/vcl/win/gdi/salvd.cxx
index b506fd4ea5cc..d06412bc6743 100644
--- a/vcl/win/gdi/salvd.cxx
+++ b/vcl/win/gdi/salvd.cxx
@@ -124,7 +124,6 @@ std::unique_ptr<SalVirtualDevice> WinSalInstance::CreateVirtualDevice( SalGraphi
WinSalGraphics* pVirGraphics = new WinSalGraphics(WinSalGraphics::VIRTUAL_DEVICE,
pGraphics->isScreen(), nullptr, pVDev);
- SAL_INFO("vcl.temp", "new WinSalGraphics: " << pVirGraphics << " for " << pVDev);
// by default no! mirroring for VirtualDevices, can be enabled with EnableRTL()
pVirGraphics->SetLayout( SalLayoutFlags::NONE );
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index aed15def4240..dd5f8fbb8533 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -828,7 +828,6 @@ void SetForegroundWindow_Impl(HWND hwnd)
WinSalFrame::WinSalFrame()
{
- SAL_INFO("vcl.temp", "new WinSalFrame: " << this);
SalData* pSalData = GetSalData();
mhWnd = nullptr;
@@ -930,7 +929,6 @@ bool WinSalFrame::ReleaseFrameGraphicsDC( WinSalGraphics* pGraphics )
WinSalFrame::~WinSalFrame()
{
- SAL_INFO("vcl.temp", "del WinSalFrame: " << this);
SalData* pSalData = GetSalData();
if( mpClipRgnData )
@@ -947,7 +945,6 @@ WinSalFrame::~WinSalFrame()
if ( mpThreadGraphics )
{
ReleaseFrameGraphicsDC( mpThreadGraphics );
- SAL_INFO("vcl.temp", "del WinSalGraphics: " << mpThreadGraphics << " on " << this);
delete mpThreadGraphics;
mpThreadGraphics = nullptr;
}
@@ -956,7 +953,6 @@ WinSalFrame::~WinSalFrame()
if ( mpLocalGraphics )
{
ReleaseFrameGraphicsDC( mpLocalGraphics );
- SAL_INFO("vcl.temp", "del WinSalGraphics: " << mpLocalGraphics << " on " << this);
delete mpLocalGraphics;
mpLocalGraphics = nullptr;
}
@@ -1032,10 +1028,7 @@ SalGraphics* WinSalFrame::AcquireGraphics()
return nullptr;
if ( !mpThreadGraphics )
- {
mpThreadGraphics = new WinSalGraphics(WinSalGraphics::WINDOW, true, mhWnd, this);
- SAL_INFO("vcl.temp", "new WinSalGraphics: " << mpThreadGraphics << " on " << this);
- }
pGraphics = mpThreadGraphics;
assert( !pGraphics->getHDC() );
hDC = reinterpret_cast<HDC>(static_cast<sal_IntPtr>(SendMessageW( pSalData->mpInstance->mhComWnd,
@@ -1044,10 +1037,7 @@ SalGraphics* WinSalFrame::AcquireGraphics()
else
{
if ( !mpLocalGraphics )
- {
mpLocalGraphics = new WinSalGraphics(WinSalGraphics::WINDOW, true, mhWnd, this);
- SAL_INFO("vcl.temp", "new WinSalGraphics: " << mpLocalGraphics << " on " << this);
- }
pGraphics = mpLocalGraphics;
hDC = pGraphics->getHDC();
if ( !hDC )