diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-10-07 20:25:08 -0400 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-10-07 20:25:08 -0400 |
commit | a2de8e31c2693d009db1f9386406758874dd1d40 (patch) | |
tree | 6bfac2da40e70b93491b1a58319a3f2ae665cd6c /libs/surfaceflinger | |
parent | c15934f26a235a8218f9f673ebf8227acccefff2 (diff) | |
parent | e05f07dffa196d6403733b26317faa9f267d518f (diff) | |
download | frameworks_base-a2de8e31c2693d009db1f9386406758874dd1d40.zip frameworks_base-a2de8e31c2693d009db1f9386406758874dd1d40.tar.gz frameworks_base-a2de8e31c2693d009db1f9386406758874dd1d40.tar.bz2 |
Merge change Ie05f07df into eclair
* changes:
fix [2170319] gmail bulk operation checkbox latency on passion
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r-- | libs/surfaceflinger/Layer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index 0258cee..2a3e667 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -460,8 +460,10 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions) } } - // FIXME: signal an event if we have more buffers waiting - // mFlinger->signalEvent(); + if (lcblk->getQueuedCount()) { + // signal an event if we have more buffers waiting + mFlinger->signalEvent(); + } if (!mPostedDirtyRegion.isEmpty()) { reloadTexture( mPostedDirtyRegion ); |