which opengl es apis are called in android by unity?

700 Views Asked by At

What are the openGL api's that are called by unity in android or does it use a different graphic architecture? I put logs in all the api's of openGL es at framework in android but none of the logs appear. It seems like it does not use any opengl api's. Any knowledge sharing regarding the call flow from unity to opengl in android is welcome.

1

There are 1 best solutions below

0
On

Just get the Adreno GPU Profiler and a phone with an Adreno GPU (ex: Galaxy S5) with a Unity based app installed on it then record a GPU trace.

You will then see that Unity is using GLES2 like most other game engines do (could also be GLES3, this depends on Unity version and Phone's GPU).

Note that you may have trouble to catch a glTexImage2D call in the trace because the profiler only records data for one single frame, so you need to be lucky to record a trace at the frame where some textures are created...