From 439863f3b3e725b5de1cba4940a21900369961c0 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 28 Jun 2011 19:09:31 -0700 Subject: SF transactions are now O(1) wrt IPC instead of O(N). Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43 --- cmds/bootanimation/BootAnimation.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cmds/bootanimation') diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 0acba8b..ccd668d 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -213,9 +213,10 @@ status_t BootAnimation::readyToRun() { // create the native surface sp control = session()->createSurface( 0, dinfo.w, dinfo.h, PIXEL_FORMAT_RGB_565); - session()->openTransaction(); + + SurfaceComposerClient::openGlobalTransaction(); control->setLayer(0x40000000); - session()->closeTransaction(); + SurfaceComposerClient::closeGlobalTransaction(); sp s = control->getSurface(); -- cgit v1.1