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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user