From 96adec2fd56d1ca09d679c0966567c674d812dfb Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 10 Oct 2014 22:50:44 +0300 Subject: Print out the timing results unconditionally Because that is after all what we are after here, and we want them even in a non-debug build. Change-Id: I4770f6b0420b2a65ccc813f0e400cbb39b0d44fe --- vcl/workben/icontest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx index 10253c79dde3..87f3897cfcc9 100644 --- a/vcl/workben/icontest.cxx +++ b/vcl/workben/icontest.cxx @@ -96,7 +96,7 @@ MyWorkWindow::MyWorkWindow( vcl::Window* pParent, WinBits nWinStyle ) : void MyWorkWindow::Paint( const Rectangle& rRect ) { - SAL_INFO("vcl.icontest", "==> Paint! " << nPaintCount++ << " (vcl) " << GetSizePixel() << " " << getTimeNow() - nStartTime); + std::cerr << "==> Paint! " << nPaintCount++ << " (vcl) " << GetSizePixel() << " " << getTimeNow() - nStartTime << std::endl; WorkWindow::Paint( rRect ); Invalidate( INVALIDATE_CHILDREN ); } @@ -199,7 +199,7 @@ void MyOpenGLWorkWindow::LoadTexture() void MyOpenGLWorkWindow::Paint( const Rectangle& ) { - SAL_INFO("vcl.icontest", "==> Paint! "<< nPaintCount++ << " (OpenGL) " << GetSizePixel() << " " << getTimeNow() - nStartTime); + std::cerr << "==> Paint! "<< nPaintCount++ << " (OpenGL) " << GetSizePixel() << " " << getTimeNow() - nStartTime << std::endl; OpenGLContext& aCtx = mpOpenGLWindow->getContext(); aCtx.requestLegacyContext(); CHECK_GL_ERROR(); -- cgit v1.2.3