From 63d02ecf6b82715c0c0f2af6c46303c5117d3bd8 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Thu, 25 May 2023 16:38:09 -0700 Subject: [PATCH] [Impeller] Switch back to shared buffer UI image uploading on iOS --- lib/ui/painting/image_decoder_impeller.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ui/painting/image_decoder_impeller.cc b/lib/ui/painting/image_decoder_impeller.cc index a2fce06f168d8..50482e2c32982 100644 --- a/lib/ui/painting/image_decoder_impeller.cc +++ b/lib/ui/painting/image_decoder_impeller.cc @@ -452,13 +452,8 @@ void ImageDecoderImpeller::Decode(fml::RefPtr descriptor, // texture is implemented on other platforms. sk_sp image; std::string decode_error; -#ifdef FML_OS_IOS - std::tie(image, decode_error) = UploadTextureToPrivate( - context, bitmap_result.device_buffer, bitmap_result.image_info); -#else std::tie(image, decode_error) = UploadTextureToShared(context, bitmap_result.sk_bitmap); -#endif result(image, decode_error); }; // TODO(jonahwilliams): https://github.com/flutter/flutter/issues/123058