gl4es icon indicating copy to clipboard operation
gl4es copied to clipboard

Amigaos4 slowdown possibly with displaylists

Open davec555 opened this issue 2 years ago • 4 comments

Hello, I noticed with my program using gl4es prior to this commit:

https://github.com/ptitSeb/gl4es/commit/dfd54c5b939966d0c1885df6f3097446f68f4083

... everything ran fast, but since then it's extremely slow.

I've determined that the offending line in gl4es.c is (line 253 of newest version): glstate->list.active->use_vbo_array = 2;

If you comment that out (even on the newest commit), then everything runs at speed.

This is on AmigaOS4 with warp3dNova.

Dave

davec555 avatar Oct 02 '23 00:10 davec555

@davec555 Interesting, do you what are the side effects of removing this ?

Mathias-Boulay avatar Oct 13 '23 18:10 Mathias-Boulay

I haven't noticed anything on my program yet, but expect is was originally added for some purpose that I am not aware of

davec555 avatar Oct 13 '23 20:10 davec555

After checking in the codebase (like 2 weeks ago), it seems to just change whether real vbos are used internally. Perhaps there are cases where this isn't the greatest. What software did you to performance testing on ? @davec555

Mathias-Boulay avatar Nov 04 '23 23:11 Mathias-Boulay

After checking in the codebase (like 2 weeks ago), it seems to just change whether real vbos are used internally. Perhaps there are cases where this isn't the greatest. What software did you to performance testing on ? @davec555

It is software that I have been writing/dabbling with for the last 20 years, so it uses display lists exclusively and not vbos. Of course, on amiga os4, it is working with the opengles.library and warp3dnova so who knows what might be happening behind the scenes.

davec555 avatar Nov 07 '23 18:11 davec555