-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Migrate iOS and OS X from libuv to GCD #3434
Comments
This will be a high impact project for Android in terms of increasing reliability across a range of devices since it would allow MapView to be implemented as a GLSurfaceView and get rid of all the calls to eglCreateContext, eglSwapBuffers etc. Please refer to the following issue for more details. Given the high impact, it makes more sense to do this project for Android first instead of iOS. |
Corresponding Android effort ticketed: #3440 |
Some additional context in #3139 and #2909 (comment). |
As a reference, this is how it was done for Qt: f5cb832 Note that on the |
I think @1ec5 Do you know particular reasons whether |
At a quick glance, the biggest difference between the two is that CFRunLoop is a C API that follows Core Foundation / Carbon memory management conventions, while NSRunLoop is an Objective-C API that follows Cocoa conventions. Since we’re able to write the adapter in Objective-C++, either would technically work. Much like the CFURL / NSURL choice, I’m guessing it comes down to configurability versus elegance. |
This is now included in #2909. |
We should move the iOS and OS X SDKs from libuv to GCD. We’ll need to reimplement
mbgl::util::RunLoop
,mbgl::util::Timer
, andmbgl::util::AsyncTask
./cc @tmpsantos
The text was updated successfully, but these errors were encountered: