{"action":"created","issue":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3941","repository_url":"https://api.github.com/repos/dolphin-emu/dolphin","labels_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3941/labels{/name}","comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3941/comments","events_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3941/events","html_url":"https://github.com/dolphin-emu/dolphin/pull/3941","id":162310576,"number":3941,"title":"Initial support for iOS.","user":{"login":"grp","id":163390,"avatar_url":"https://avatars.githubusercontent.com/u/163390?v=3","gravatar_id":"","url":"https://api.github.com/users/grp","html_url":"https://github.com/grp","followers_url":"https://api.github.com/users/grp/followers","following_url":"https://api.github.com/users/grp/following{/other_user}","gists_url":"https://api.github.com/users/grp/gists{/gist_id}","starred_url":"https://api.github.com/users/grp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grp/subscriptions","organizations_url":"https://api.github.com/users/grp/orgs","repos_url":"https://api.github.com/users/grp/repos","events_url":"https://api.github.com/users/grp/events{/privacy}","received_events_url":"https://api.github.com/users/grp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-06-26T03:33:22Z","updated_at":"2016-06-28T19:17:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/3941","html_url":"https://github.com/dolphin-emu/dolphin/pull/3941","diff_url":"https://github.com/dolphin-emu/dolphin/pull/3941.diff","patch_url":"https://github.com/dolphin-emu/dolphin/pull/3941.patch"},"body":"Interpreter runs and graphics work well enough to render in the simulator\r\nand on device. It's very slow on either, likely due to no JIT.\r\n\r\n - Add interface to EAGL, the iOS context for OpenGLES.\r\n - Disable CoreAudio, IOKit, Bluetooth features not available on iOS.\r\n - Add support for __APPLE__ targets on ARM CPUs.\r\n - Add UIKit wrapper app to test; will eventually host the UI. This includes\r\n   code signing support (via CMake) and a placeholder icon.\r\n - Fix rendering to target the iOS framebuffer. iOS doesn't render to\r\n   framebuffer 0, it renders to a framebuffer you create. (This is often\r\n   the first issue when getting GL to render in an existing app on iOS.)\r\n - Add build and deployment instructions.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/dolphin-emu/dolphin/3941)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/comments/229153212","html_url":"https://github.com/dolphin-emu/dolphin/pull/3941#issuecomment-229153212","issue_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/3941","id":229153212,"user":{"login":"WilliamLCobb","id":870904,"avatar_url":"https://avatars.githubusercontent.com/u/870904?v=3","gravatar_id":"","url":"https://api.github.com/users/WilliamLCobb","html_url":"https://github.com/WilliamLCobb","followers_url":"https://api.github.com/users/WilliamLCobb/followers","following_url":"https://api.github.com/users/WilliamLCobb/following{/other_user}","gists_url":"https://api.github.com/users/WilliamLCobb/gists{/gist_id}","starred_url":"https://api.github.com/users/WilliamLCobb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WilliamLCobb/subscriptions","organizations_url":"https://api.github.com/users/WilliamLCobb/orgs","repos_url":"https://api.github.com/users/WilliamLCobb/repos","events_url":"https://api.github.com/users/WilliamLCobb/events{/privacy}","received_events_url":"https://api.github.com/users/WilliamLCobb/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T19:17:20Z","updated_at":"2016-06-28T19:17:20Z","body":"Placing the ptrace call in applicationdidload seemed to fix the problem on my device. I'm not sure why though. \r\n\r\nI think building a new interface from scratch will be easier. We can keep it very minimal until the overall mobile design has been agreed upon like you said. I do have a helper class and touchscreen controller implementation I can merge in. \r\n\r\nI'm surprised JIT didn't bring a bigger speedup. Do you know if the overhead from calling mprotect is the reason?\r\n\r\n"}}
{"actor":{"display_login":"WilliamLCobb"}}