diff options
| author | 2009-09-17 20:36:24 -0400 | |
|---|---|---|
| committer | 2009-09-17 20:36:24 -0400 | |
| commit | fd1f4261b7d22fd1077b5d6f1278aa63cc8a0427 (patch) | |
| tree | 4b990a9f0234ad504cce9e5734a978e940335945 /libs/ui/FramebufferNativeWindow.cpp | |
| parent | a70143db3a35f202e4f6376b3326787f3184cf7f (diff) | |
| parent | 74faca212e2675aa55a30235c77cb6403471a4b9 (diff) | |
Merge change 25629 into eclair
* changes:
Android side of the fix for [2121211] Sholes has stutter during animations
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
| -rw-r--r-- | libs/ui/FramebufferNativeWindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp index 90b51634c6..fc2e2f6507 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -158,6 +158,14 @@ status_t FramebufferNativeWindow::setUpdateRectangle(const Rect& r) return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height()); } +status_t FramebufferNativeWindow::compositionComplete() +{ + if (fbDev->compositionComplete) { + return fbDev->compositionComplete(fbDev); + } + return INVALID_OPERATION; +} + int FramebufferNativeWindow::setSwapInterval( android_native_window_t* window, int interval) { |