am 04358138: Merge "[3095807] screen takes a long time to turn on" into gingerbread
Merge commit '043581382e43acbe29a8a62420bc765f49a9dd90' into gingerbread-plus-aosp * commit '043581382e43acbe29a8a62420bc765f49a9dd90': [3095807] screen takes a long time to turn on
This commit is contained in:
@@ -1839,8 +1839,8 @@ status_t SurfaceFlinger::electronBeamOnAnimationImplLocked()
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// the full animation is 24 frames
|
// the full animation is 12 frames
|
||||||
const int nbFrames = 12;
|
int nbFrames = 8;
|
||||||
s_curve_interpolator itr(nbFrames, 7.5f);
|
s_curve_interpolator itr(nbFrames, 7.5f);
|
||||||
s_curve_interpolator itg(nbFrames, 8.0f);
|
s_curve_interpolator itg(nbFrames, 8.0f);
|
||||||
s_curve_interpolator itb(nbFrames, 8.5f);
|
s_curve_interpolator itb(nbFrames, 8.5f);
|
||||||
@@ -1858,6 +1858,7 @@ status_t SurfaceFlinger::electronBeamOnAnimationImplLocked()
|
|||||||
hw.flip(screenBounds);
|
hw.flip(screenBounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nbFrames = 4;
|
||||||
v_stretch vverts(hw_w, hw_h);
|
v_stretch vverts(hw_w, hw_h);
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glBlendFunc(GL_ONE, GL_ONE);
|
glBlendFunc(GL_ONE, GL_ONE);
|
||||||
|
|||||||
Reference in New Issue
Block a user