summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-10 22:50:44 +0300
committerTor Lillqvist <tml@collabora.com>2014-10-10 22:53:19 +0300
commit96adec2fd56d1ca09d679c0966567c674d812dfb (patch)
treeaefdb752662c48a0ac1092716ff096816db7f051
parentecf648b3a5881a5f24f5b26d51fb4823b225aed4 (diff)
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
-rw-r--r--vcl/workben/icontest.cxx4
1 files 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();