[Libreoffice-commits] core.git: vcl/workben
Tor Lillqvist
tml at collabora.com
Fri Oct 10 12:54:05 PDT 2014
vcl/workben/icontest.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 96adec2fd56d1ca09d679c0966567c674d812dfb
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Oct 10 22:50:44 2014 +0300
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
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx
index 10253c7..87f3897 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();
More information about the Libreoffice-commits
mailing list