summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-08-30 09:27:28 +0200
committerDavid Tardon <dtardon@redhat.com>2012-09-07 10:07:00 +0200
commit9a6544bc9fd7be64b373c622ca2dbd54fbe0746d (patch)
tree13734d93a3d2faa2e55011a3d3578f4ba1d68f1c /slideshow
parent38b70b169ce132eadef9fc3bcb5acd9171ea84fe (diff)
add more timing code
Change-Id: I481e1acfee06e56932bf7ba7bbe7f89f35ff0435
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
index a2dd1deb2f70..2c2aac00417a 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx
@@ -589,6 +589,10 @@ bool OGLTransitionerImpl::initWindowFromSlideShowView( const Reference< presenta
if( !mxView.is() )
return false;
+#if OSL_DEBUG_LEVEL > 1
+ TimerContext aTimerContext("initWindowFromSlideShowView");
+#endif
+
/// take the XSlideShowView and extract the parent window from it. see viewmediashape.cxx
uno::Reference< rendering::XCanvas > xCanvas(mxView->getCanvas(), uno::UNO_QUERY_THROW);
uno::Sequence< uno::Any > aDeviceParams;