I have tried several custom Roms (including building my own from AOSP) for sony Xperia X Performance f8131 (android 7.1.1 kernel 3.18) and I am getting poor GPU performances. OpenCl is ~5 times slower and openGL ~2.5 times slower than on the official rom. I have tried to copy the vendor libraries from the official rom but it is making no difference.
Can someone help me move in the right direction?
Thanks a lot