mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Resolves https://github.com/flutter/flutter/issues/143891. This patch includes breaking changes, but this API is still in preview. * Breaking: Rename `Texture.GetBaseMipLevelSizeInBytes` to `Texture.getBaseMipLevelSizeInBytes`. * Breaking: Make `Texture.overwrite` throw exception instead of returning false. * Non-breaking: Make `DeviceBuffer`/`Texture` creation throw exceptions instead of returning nullables. We can incrementally add more specific exceptions for resource creation failure.