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

Commit 33c544c4 authored by Jamie Gennis's avatar Jamie Gennis
Browse files

SurfaceFlinger: remove a driver bug workaround

Change-Id: I7478293e87899d6e467db8c2f9e295935c8b1d4e
parent c4fd05b1
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -539,9 +539,6 @@ void Layer::onPostComposition() {


        const HWComposer& hwc = mFlinger->getHwComposer();
        const HWComposer& hwc = mFlinger->getHwComposer();
        sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY);
        sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY);
        // XXX: Temporarily don't use the present fence from HWC to work
        // around a driver bug.
        presentFence.clear();
        if (presentFence != NULL) {
        if (presentFence != NULL) {
            mFrameTracker.setActualPresentFence(presentFence);
            mFrameTracker.setActualPresentFence(presentFence);
        } else {
        } else {