diff options
author | Mathias Agopian <mathias@google.com> | 2009-08-13 17:29:02 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-08-13 18:19:32 -0700 |
commit | 317a6280cc109e873646e4652be1582d870eedfd (patch) | |
tree | 3b6d41d465282970f498e172b81ed0ee83e3183e /cmds/bootanimation | |
parent | 81655243a6a373cfde1e689970eeb62af19622d1 (diff) | |
download | frameworks_base-317a6280cc109e873646e4652be1582d870eedfd.zip frameworks_base-317a6280cc109e873646e4652be1582d870eedfd.tar.gz frameworks_base-317a6280cc109e873646e4652be1582d870eedfd.tar.bz2 |
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.
this also ripples into the window manager API by making some constant there deprecated as well.
Diffstat (limited to 'cmds/bootanimation')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 5b904cb..99e513c 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -130,8 +130,7 @@ status_t BootAnimation::readyToRun() { // create the native surface sp<SurfaceControl> control = session()->createSurface( - getpid(), 0, dinfo.w, dinfo.h, PIXEL_FORMAT_RGB_565, - ISurfaceComposer::eGPU); + getpid(), 0, dinfo.w, dinfo.h, PIXEL_FORMAT_RGB_565); session()->openTransaction(); control->setLayer(0x40000000); session()->closeTransaction(); |