openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.88k stars 2.55k forks source link

iOS todo list #6968

Open dimitre opened 2 years ago

dimitre commented 2 years ago

List to a better iOS experience in OF:

danoli3 commented 2 years ago

Bitcode enabled for arm64 builds / appstore release builds

define GLES_SILENCE_DEPRECATION true

Change dependency libraries from fat .a libs to .xcframework system with version numbers - allowing simulator arm64 + arm64 device target (#6966 https://github.com/openframeworks/openFrameworks/issues/6966) Compile iOS dependency libraries with arm64 simulator (can use CMake / Testing on Apothecary for libxml2) Core dependencies compiled with arm64 device BITCODE = yes

danoli3 commented 2 years ago

I am also working on a Metal override for GLKit via MetalANGLE! Not sure if we want to slate that for 12 maybe 13 Looking promising in prototype. I have core linked to framework, compiling and confirmed override of GLKit render with Metal with automatic conversion of GL shaders and calls

In process of converting a new MLKit layer to target, this will be the future as GLKit and Open GLES can now be routed automatically into Metal

dimitre commented 2 years ago

Wow that's great news @danoli3 !

dorald commented 2 years ago

I would say : 1- Camera 2- Image Picker from iPhone/iPad Photos Library 3- Retina ( If I load image from Library or image taken directly from Camera and draw it,the image is downscaled) 4- The whole graphics are downscaled if you have the retina activated on main.mm

dimitre commented 2 years ago

Thanks! By camera you mean outdated examples? like plist permission files as in this issue? https://github.com/openframeworks/openFrameworks/issues/6723

dorald commented 2 years ago

I think the camera and photo album controller (UIImagePickerController) should appear/ dismiss with animation and/or if possible to use the native UIImagePickerControllerDelegate and UINavigationControllerDelegate to use the native iOS Camera ;)

dimitre commented 2 years ago

If you submit a PR for the changes (UIImagePickerControllerDelegate) I can help testing here in my side