Loading core/java/android/view/Choreographer.java +9 −5 Original line number Diff line number Diff line Loading @@ -1552,15 +1552,19 @@ public final class Choreographer { // Otherwise, messages that predate the vsync event will be handled first. long now = System.nanoTime(); if (timestampNanos > now) { if (DEBUG_JANK) { Log.w(TAG, "Frame time is " + ((timestampNanos - now) * 0.000001f) + " ms in the future! Check that graphics HAL is generating vsync " + "timestamps using the correct timebase."); } timestampNanos = now; } if (mHavePendingVsync) { if (DEBUG_JANK) { Log.w(TAG, "Already have a pending vsync event. There should only be " + "one at a time."); } } else { mHavePendingVsync = true; } Loading Loading
core/java/android/view/Choreographer.java +9 −5 Original line number Diff line number Diff line Loading @@ -1552,15 +1552,19 @@ public final class Choreographer { // Otherwise, messages that predate the vsync event will be handled first. long now = System.nanoTime(); if (timestampNanos > now) { if (DEBUG_JANK) { Log.w(TAG, "Frame time is " + ((timestampNanos - now) * 0.000001f) + " ms in the future! Check that graphics HAL is generating vsync " + "timestamps using the correct timebase."); } timestampNanos = now; } if (mHavePendingVsync) { if (DEBUG_JANK) { Log.w(TAG, "Already have a pending vsync event. There should only be " + "one at a time."); } } else { mHavePendingVsync = true; } Loading