Loading libs/hwui/renderthread/CanvasContext.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -290,7 +290,7 @@ bool CanvasContext::isSwapChainStuffed() { // If there's a multi-frameInterval gap we effectively already dropped a frame, // so consider the queue healthy. if (swapA.swapCompletedTime - swapB.swapCompletedTime > frameInterval * 3) { if (std::abs(swapA.swapCompletedTime - swapB.swapCompletedTime) > frameInterval * 3) { return false; } Loading Loading
libs/hwui/renderthread/CanvasContext.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -290,7 +290,7 @@ bool CanvasContext::isSwapChainStuffed() { // If there's a multi-frameInterval gap we effectively already dropped a frame, // so consider the queue healthy. if (swapA.swapCompletedTime - swapB.swapCompletedTime > frameInterval * 3) { if (std::abs(swapA.swapCompletedTime - swapB.swapCompletedTime) > frameInterval * 3) { return false; } Loading