summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-10-14 12:33:07 -0700
committerMathias Agopian <mathias@google.com>2010-10-14 15:39:21 -0700
commitdfa08fbfd8a5ebd013c122e391282b7f21f6342f (patch)
tree6a96919248446fc2767f976de50e4a8ff727e8b0 /services/surfaceflinger
parentd4e03f37423bee383d17f7292753a5f67e497a28 (diff)
downloadframeworks_base-dfa08fbfd8a5ebd013c122e391282b7f21f6342f.zip
frameworks_base-dfa08fbfd8a5ebd013c122e391282b7f21f6342f.tar.gz
frameworks_base-dfa08fbfd8a5ebd013c122e391282b7f21f6342f.tar.bz2
[3095807] screen takes a long time to turn on
turn on animation is now ~200 ms (12 frames). Change-Id: I49ca9e8d0afa566349d360b3b6c88f0d55aa6e75
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index e37e446..a9b3965 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -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);