diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-06 19:36:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-07 01:13:36 +0300 |
commit | 49c3be89e826c78a163989ef3190ae9b1d6aba06 (patch) | |
tree | 8c94174dc0d8a4390d83cb39a03cb5157ae8c8ee /vcl/ios/iosinst.cxx | |
parent | 9e6afcf1624cbde7cc48c94d9062f91b4b1abbec (diff) |
Bin some not longer interesting NSLogging
Change-Id: I1afd93fc9a56e85a30991bce9ca2350764cf1ec2
Diffstat (limited to 'vcl/ios/iosinst.cxx')
-rw-r--r-- | vcl/ios/iosinst.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 4767c46e3e12..5b695f22bc95 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -283,15 +283,9 @@ IMPL_LINK( IosSalInstance, RenderWindows, RenderWindowsArg*, arg ) { int rc; - NSLog(@"RenderWindows: start"); - rc = pthread_mutex_lock( &m_aRenderMutex ); SAL_WARN_IF( rc != 0, "vcl.ios", "pthread_mutex_lock failed: " << strerror( rc ) ); - NSLog(@"RenderWindows: mutex locked"); - - NSDate *a = [NSDate date]; - for( std::list< SalFrame* >::const_iterator it = getFrames().begin(); it != getFrames().end(); it++ ) { @@ -325,13 +319,9 @@ IMPL_LINK( IosSalInstance, RenderWindows, RenderWindowsArg*, arg ) rc = pthread_cond_signal( &m_aRenderCond ); SAL_WARN_IF( rc != 0, "vcl.ios", "pthread_cond_signal failed:" << strerror( rc ) ); - NSLog(@"RenderWindows: took %f s", [[NSDate date] timeIntervalSinceDate: a]); - rc = pthread_mutex_unlock( &m_aRenderMutex ); SAL_WARN_IF( rc != 0, "vcl.ios", "pthread_mutex_unlock failed: " << strerror( rc ) ); - NSLog(@"RenderWindows: mutex unlocked"); - return 0; } @@ -344,16 +334,12 @@ void lo_render_windows( CGContextRef context, CGRect rect ) if ( pInstance == NULL ) return; - NSLog(@"lo_render_windows: start"); - rc = pthread_mutex_lock( &pInstance->m_aRenderMutex ); if (rc != 0) { SAL_WARN( "vcl.ios", "pthread_mutex_lock failed: " << strerror( rc ) ); return; } - NSLog(@"lo_render_windows: mutex locked"); - IosSalInstance::RenderWindowsArg arg = { false, context, rect }; Application::PostUserEvent( LINK( pInstance, IosSalInstance, RenderWindows), &arg ); @@ -362,12 +348,8 @@ void lo_render_windows( CGContextRef context, CGRect rect ) SAL_WARN_IF( rc != 0, "vcl.ios", "pthread_cond_wait failed: " << strerror( rc ) ); } - NSLog(@"lo_render_windows: mutex unlocked"); - rc = pthread_mutex_unlock( &pInstance->m_aRenderMutex ); SAL_WARN_IF( rc != 0, "vcl.ios", "pthread_mutex_unlock failed: " << strerror( rc ) ); - - NSLog(@"lo_render_windows: done"); } extern "C" |