Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf85d6ee authored by Tina Zhang's avatar Tina Zhang
Browse files

Enable display list updates with zero delta time



It's better not to cancel display lists updates. In the emulator, if we use
low precision clock source like refined-jiffies, the display list which
should be updated with a new frame, won't be updated due to the delta time
is 0 . And this makes all the hardware accelerated GUI out of order.

Change-Id: I41dba8965c96b6ad1b6d326ad1d6fa4a0a49173f
Signed-off-by: default avatarTina Zhang <tina.zhang@intel.com>
parent b7d7cbc9
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1555,10 +1555,6 @@ public abstract class HardwareRenderer {
        }

        private DisplayList buildDisplayList(View view, HardwareCanvas canvas) {
            if (mDrawDelta <= 0) {
                return view.mDisplayList;
            }

            view.mRecreateDisplayList = (view.mPrivateFlags & View.PFLAG_INVALIDATED)
                    == View.PFLAG_INVALIDATED;
            view.mPrivateFlags &= ~View.PFLAG_INVALIDATED;