Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - EvOlLuTiOn

Pages: [1]
1
Graphics / Question about sprite/rectangle shape performance
« on: April 05, 2014, 10:05:26 pm »
Hi,

while working on my game i noticed this. It looks like sprite gives better performance than rectangle shape.

Here is link to my example app https://dl.dropboxusercontent.com/u/21883169/Release.rar

When using sprites i'm getting stable 80 FPS, but with rectangle shapes it's only 20 FPS. I mean shouldn't be performance with shapes better? Four times slower is a lot actually. Code for booth ways is almost identical.

I know that you can use vertex array, but i'm just curious about sprites/shapes overall performance (attached application is just demonstrational).

My second question is: Is it known fact that ATI GPU + AMD/INTEL CPU gives better performance in SFML than NVIDIA GPU + AMD/INTEL CPU?

Pages: [1]