OSDN Git Service

make the boot animation 32-bits to avoid banding
authorMathias Agopian <mathias@google.com>
Mon, 11 Jun 2012 21:08:02 +0000 (14:08 -0700)
committerMathias Agopian <mathias@google.com>
Mon, 11 Jun 2012 21:52:32 +0000 (14:52 -0700)
Bug: 6611693

Change-Id: Id31b711ea755c89240eaea26f6403a031cd939e4

cmds/bootanimation/BootAnimation.cpp

index 1d5f207..225be9c 100644 (file)
@@ -160,7 +160,7 @@ status_t BootAnimation::initTexture(void* buffer, size_t len)
     codec->setDitherImage(false);
     if (codec) {
         codec->decode(&stream, &bitmap,
-                SkBitmap::kRGB_565_Config,
+                SkBitmap::kARGB_8888_Config,
                 SkImageDecoder::kDecodePixels_Mode);
         delete codec;
     }