diff options
| author | Mathias Agopian <mathias@google.com> | 2009-09-17 16:18:16 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2009-09-17 16:18:16 -0700 |
| commit | b1a1874625a6aca967601fcda53a82d8d712df45 (patch) | |
| tree | 3cf96bf9cc4bf734da47e58cab3c5421e7698139 /libs/surfaceflinger/SurfaceFlinger.cpp | |
| parent | d55de40481c6ec7d8fbd1a38c80a6c66bf462a71 (diff) | |
| download | frameworks_base-b1a1874625a6aca967601fcda53a82d8d712df45.zip frameworks_base-b1a1874625a6aca967601fcda53a82d8d712df45.tar.gz frameworks_base-b1a1874625a6aca967601fcda53a82d8d712df45.tar.bz2 | |
Android side of the fix for [2121211] Sholes has stutter during animations
a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to
Diffstat (limited to 'libs/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | libs/surfaceflinger/SurfaceFlinger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaceflinger/SurfaceFlinger.cpp b/libs/surfaceflinger/SurfaceFlinger.cpp index 31b5128..e87b563 100644 --- a/libs/surfaceflinger/SurfaceFlinger.cpp +++ b/libs/surfaceflinger/SurfaceFlinger.cpp @@ -495,6 +495,9 @@ bool SurfaceFlinger::threadLoop() // repaint the framebuffer (if needed) handleRepaint(); + // inform the h/w that we're done compositing + hw.compositionComplete(); + // release the clients before we flip ('cause flip might block) unlockClients(); |
