private boolean needNewBitmap(@Nullable Bitmap bitmap, RectF bounds) {
    if (bitmap == null) {
      return true;
    }

    if (bounds.width() >= bitmap.getWidth() || bounds.height() >= bitmap.getHeight()) {
      return true;
    }

    // If the required area has reduced in size considerably, trigger a reallocation, since
    // we might be paying a large unnecessary penalty to work with a bitmap that big.
    return bounds.width() < bitmap.getWidth() * 0.75f || bounds.height() < bitmap.getHeight() * 0.75f;
  }
parentCanvas' pre-existing matrix when start() was called
lottie/src/main/java/com/airbnb/lottie/utils/OffscreenLayer.java