diff options
| author | 2011-06-29 16:15:56 -0700 | |
|---|---|---|
| committer | 2011-06-29 16:15:56 -0700 | |
| commit | 272aaa382f95c38221739f2287c29e414523a5cc (patch) | |
| tree | 53b22ed4bd672af3edc9fc9d3e1c5d63661a37b1 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 5231b0af515db51c722d4764ecf9412c145c93b6 (diff) | |
| parent | 439863f3b3e725b5de1cba4940a21900369961c0 (diff) | |
Merge "SF transactions are now O(1) wrt IPC instead of O(N)."
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
| -rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 0acba8bc516b..ccd668d08192 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -213,9 +213,10 @@ status_t BootAnimation::readyToRun() { // create the native surface sp<SurfaceControl> control = session()->createSurface( 0, dinfo.w, dinfo.h, PIXEL_FORMAT_RGB_565); - session()->openTransaction(); + + SurfaceComposerClient::openGlobalTransaction(); control->setLayer(0x40000000); - session()->closeTransaction(); + SurfaceComposerClient::closeGlobalTransaction(); sp<Surface> s = control->getSurface(); |