Loading libs/hwui/utils/TestWindowContext.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ public: // Move the pixels into the destination SkBitmap SK_ALWAYSBREAK(nativeBuffer.format == android::PIXEL_FORMAT_RGBA_8888 && LOG_ALWAYS_FATAL_IF(nativeBuffer.format != android::PIXEL_FORMAT_RGBA_8888, "Native buffer not RGBA!"); SkImageInfo nativeConfig = SkImageInfo::Make(nativeBuffer.width, nativeBuffer.height, Loading @@ -153,7 +153,7 @@ public: return false; } SK_ALWAYSBREAK(bmp->colorType() == kRGBA_8888_SkColorType && LOG_ALWAYS_FATAL_IF(bmp->colorType() != kRGBA_8888_SkColorType, "Destination buffer not RGBA!"); success = nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0); Loading Loading
libs/hwui/utils/TestWindowContext.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ public: // Move the pixels into the destination SkBitmap SK_ALWAYSBREAK(nativeBuffer.format == android::PIXEL_FORMAT_RGBA_8888 && LOG_ALWAYS_FATAL_IF(nativeBuffer.format != android::PIXEL_FORMAT_RGBA_8888, "Native buffer not RGBA!"); SkImageInfo nativeConfig = SkImageInfo::Make(nativeBuffer.width, nativeBuffer.height, Loading @@ -153,7 +153,7 @@ public: return false; } SK_ALWAYSBREAK(bmp->colorType() == kRGBA_8888_SkColorType && LOG_ALWAYS_FATAL_IF(bmp->colorType() != kRGBA_8888_SkColorType, "Destination buffer not RGBA!"); success = nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0); Loading