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/DisplayHardware/DisplayHardware.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/DisplayHardware/DisplayHardware.cpp')
| -rw-r--r-- | libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp index cc913cb..7bdf885 100644 --- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp +++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp @@ -297,9 +297,9 @@ uint32_t DisplayHardware::getPageFlipCount() const { return mPageFlipCount; } -/* - * "Flip" the front and back buffers. - */ +status_t DisplayHardware::compositionComplete() const { + return mNativeWindow->compositionComplete(); +} void DisplayHardware::flip(const Region& dirty) const { |
