Loading services/surfaceflinger/SurfaceFlinger.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -487,6 +487,13 @@ bool SurfaceFlinger::threadLoop() // pretend we did the post hw.compositionComplete(); usleep(16667); // 60 fps period #ifdef QCOM_HARDWARE //If the draw is skipped by any chance, we need to force //composition atleast once. HWComposer& hwc(hw.getHwComposer()); hwc.perform(EVENT_FORCE_COMPOSITION, 1); #endif } return true; } Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -487,6 +487,13 @@ bool SurfaceFlinger::threadLoop() // pretend we did the post hw.compositionComplete(); usleep(16667); // 60 fps period #ifdef QCOM_HARDWARE //If the draw is skipped by any chance, we need to force //composition atleast once. HWComposer& hwc(hw.getHwComposer()); hwc.perform(EVENT_FORCE_COMPOSITION, 1); #endif } return true; } Loading