I want to use the native filters for my app, the function works but I want to avoid methods that will be removed from the documentation. I search over the whole internet and
You do NOT strictly need to switch to Metal.
If you just want to avoid these warnings without but you don't want to switch to Metal because it could be an overkill (like my case) or a big time investment, you can always set the flags in the compiler to avoid these warnings.
If you pass the mouse over the warning itself it will let you know which is the specific flag to activate (i.e. CI_SILENCE_GL_DEPRECATION).
Then you just go to your Project File > Build Settings > Select 'All' and search for 'flags' > Apple Clang - Custom Compiler flags > Insert the Flag. Also check for Swift Compiler - Custom Flags.
EAGLContext is part of OpenGL, which is deprecated. You should switch to Metal at this stage.