Revert "[Impeller] use host image upload path on simulator" (flutter/engine#42212)

Reverts flutter/engine#42161

As reported by uses, this did not help with the issue.
This commit is contained in:
Jonah Williams
2023-05-23 11:22:47 -07:00
committed by GitHub
parent d28219a3b1
commit 52b5bc5340

View File

@@ -452,7 +452,7 @@ void ImageDecoderImpeller::Decode(fml::RefPtr<ImageDescriptor> descriptor,
// texture is implemented on other platforms.
sk_sp<DlImage> image;
std::string decode_error;
#if (FML_OS_IOS && !TARGET_IPHONE_SIMULATOR)
#ifdef FML_OS_IOS
std::tie(image, decode_error) = UploadTextureToPrivate(
context, bitmap_result.device_buffer, bitmap_result.image_info);
#else