1
Graphics / Re: mixing opengl and sfml2 calls (found speed drops when moving from sfml1.6 to 2)
« on: June 15, 2013, 06:09:51 pm »
Hi Mario, thanks for you input, but it seems there is issue in something else.
Here is my observation:
1) if i commented just drawing function in my project then fps still is ok
2) the benchmark i attached produse fps drop without using STL (never mind at #include <vector> in attached bench, this is overtyping, actually in bench i didn't use STL code at all)
Cheers, Alex
Here is my observation:
Are you using/changing some STL container quite a lot around the rendering code?yes i do in my project, but the problem totally is not in STL, as the:
1) if i commented just drawing function in my project then fps still is ok
2) the benchmark i attached produse fps drop without using STL (never mind at #include <vector> in attached bench, this is overtyping, actually in bench i didn't use STL code at all)
I remember doing something like that once and using sf::Text dropped performance by a huge margin.that's not my case either, as in bench i created sf::Text only once, out of game loop.
Cheers, Alex