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

Commit 17b47c4f authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "[3095807] screen takes a long time to turn on" into gingerbread

parents 1c6c04a1 a6546e5a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1839,8 +1839,8 @@ status_t SurfaceFlinger::electronBeamOnAnimationImplLocked()
        }
    };

    // the full animation is 24 frames
    const int nbFrames = 12;
    // the full animation is 12 frames
    int nbFrames = 8;
    s_curve_interpolator itr(nbFrames, 7.5f);
    s_curve_interpolator itg(nbFrames, 8.0f);
    s_curve_interpolator itb(nbFrames, 8.5f);
@@ -1858,6 +1858,7 @@ status_t SurfaceFlinger::electronBeamOnAnimationImplLocked()
        hw.flip(screenBounds);
    }

    nbFrames = 4;
    v_stretch vverts(hw_w, hw_h);
    glEnable(GL_BLEND);
    glBlendFunc(GL_ONE, GL_ONE);