adoptware / pinball

Emilia Pinball : A Libre pinball simulator for GNU Linux
https://purl.org/rzr/pinball
GNU General Public License v2.0
29 stars 15 forks source link

OpenGL ES: reworking the use of VBO to optimize performance #25

Closed caramelli closed 3 years ago

caramelli commented 3 years ago

This change improves the performance of the OpenGL ES port.

Nicolas Caramelli

caramelli commented 3 years ago

OK, delete[] is now used (I'm not a C++ expert!) About allocations, I would just like to remove the new/delete calls, the loop on indexIter, and point directly to the iterator data. But not ready, in a next commit I hope...

rzr commented 3 years ago

for the record:

./helper.mk check # fps: 26.3959

and 120 fps on regular gaming with: Version : OpenGL ES-CM 1.1 Mesa 20.2.6