commit | e2c2f9213f936f98db604dc9c126ff22f725a824 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Oct 05 15:00:22 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Oct 05 15:00:22 2011 -0700 |
tree | f5055b253e0dbd33a72ee9411b96b8815343dd27 | |
parent | 7162b539fffddfc497944696fb52b3c576c6e692 [diff] [blame] |
Force a repaint when hwc invalidate hook is called without this prepare() would be called but not set() since the dirty region is empty. Change-Id: I038acfbdad4c16015357ccde4d1949391d6f989d
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 879e858..be9b226 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp +++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -75,7 +75,7 @@ } void HWComposer::invalidate() { - mFlinger->signalEvent(); + mFlinger->repaintEverything(); } void HWComposer::setFrameBuffer(EGLDisplay dpy, EGLSurface sur) {