Ocean is the in-house framework for Computer Vision (CV) and Augmented Reality (AR) applications at Meta. It is platform independent and is mainly implemented in C/C++.
This change silences compiler warnings about the deprecation of the OpenGL API on iOS. The warning are similar to this:
.../ocean/impl/ocean/rendering/glescenegraph/GLESShaderProgram.h:448:28: 'glGetUniformLocation' is deprecated: first deprecated in iOS 12.0 - OpenGLES API deprecated. (Define GLES_SILENCE_DEPRECATION to silence these warnings)
Test plan:
Follow the instructions for building iOS apps with XCode and repeat this for the following apps:
This change silences compiler warnings about the deprecation of the OpenGL API on iOS. The warning are similar to this:
Test plan:
Follow the instructions for building iOS apps with XCode and repeat this for the following apps:
application_ocean_demo_base_console_ios
application_ocean_demo_cv_detector_linedetector_ios
application_ocean_demo_cv_detector_messengercode_ios
application_ocean_demo_cv_detector_qrcodes_detector2d_ios
application_ocean_demo_media_videopreview_ios
application_ocean_demo_tracking_featuretracker_ios
application_ocean_demo_tracking_homographyimagealigner_ios
application_ocean_demo_tracking_homographytracker_ios
application_ocean_demo_tracking_pointtracker_ios
application_ocean_demo_tracking_similaritytracker_ios
application_ocean_shark_ios
Observe that there are no longer any deprecation warnings about OpenGL.