diff options
| author | 2009-08-13 17:29:02 -0700 | |
|---|---|---|
| committer | 2009-08-13 18:19:32 -0700 | |
| commit | 317a6280cc109e873646e4652be1582d870eedfd (patch) | |
| tree | 3b6d41d465282970f498e172b81ed0ee83e3183e /cmds/bootanimation/BootAnimation.cpp | |
| parent | 81655243a6a373cfde1e689970eeb62af19622d1 (diff) | |
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/BootAnimation.cpp')
| -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 5b904cb27f8d..99e513cc0710 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(); |