[cause] 1. Shared memory is used instead of pixmap,
but pixmap is being checked with OP_UPDATE event
2. UpdateRequestOnce does not take effect
while adaptor is not paused and thread is sleeping
Change-Id: I1407ab709ac98e7e2b7a2460a2d52b9593d37887
LOG_EVENT_TRACE;
LOG_EVENT( "UPDATE ONCE" );
+ // If we're sleeping then change state to running as this will also wake up the v-sync-thread
+ {
+ ConditionalWait::ScopedLock lock( mUpdateThreadWaitCondition );
+ if( mState == State::SLEEPING )
+ {
+ mState = State::RUNNING;
+ }
+ }
+
mUpdateThreadWaitCondition.Notify();
}
case OP_UPDATE:
{
DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "Indicator client received: OP_UPDATE\n" );
- if( mPixmap != 0 && mIsShowing )
+ if( mIsShowing )
{
mAdaptor->RequestUpdateOnce();
}