react-native/Libraries/CameraRoll
Nick Lockwood 1d6d1189f0 Improved threading for image loader
Summary: public

The image loader was previously returning on the main thread, which could lead to poor performance due to various call sites doing further image processing (resizing, cropping, etc.) directly in the completion block.

This diff modifies the loader to return on a background thread (the same one used to load the image), and updates the call sites to dispatch to the explicit thread they need.

Reviewed By: javache

Differential Revision: D2549774

fb-gh-sync-id: fed73b7c163fdf67ff65bae72ab1986327e75815
2015-10-20 05:02:23 -07:00
..
RCTCameraRoll.xcodeproj Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
CameraRoll.js [ReactNative] CameraRoll docs 2015-07-27 09:46:35 -08:00
ImagePickerIOS.js Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
RCTAssetsLibraryImageLoader.h Improved threading for image loader 2015-10-20 05:02:23 -07:00
RCTAssetsLibraryImageLoader.m Improved threading for image loader 2015-10-20 05:02:23 -07:00
RCTCameraRollManager.h Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
RCTCameraRollManager.m Improved threading for image loader 2015-10-20 05:02:23 -07:00
RCTImagePickerManager.h Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
RCTImagePickerManager.m App Extension support 2015-09-22 10:46:26 -07:00
RCTPhotoLibraryImageLoader.h Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
RCTPhotoLibraryImageLoader.m Improved threading for image loader 2015-10-20 05:02:23 -07:00