Hello
I wonder, why the OpenGL performance is so slow, but my slow gfx card is only 20% busy. So I started to debug:
With apitrace (nice tool, also working with d3d, try it), I sniffed all opengl calls while rendering one frame of the mario galaxy intro and save it here: http://markus.members.selfnet.de/dolphin/
There is also an short version with the typical rendering of some polygons.
In this typical rendering, 3 operations are done:
- overriding all texture parameters
- overriding all shader parameters
- rendering mostly 30 vertexes
Ok, I see, the last is importent. The shader parameters also often changes. But why changing the texture every 10 polygons to the same texture?
Is it possible only to set the texture parameters on changing the texture? I think this would speed up the opengl plugin enormously.
Markus
I wonder, why the OpenGL performance is so slow, but my slow gfx card is only 20% busy. So I started to debug:
With apitrace (nice tool, also working with d3d, try it), I sniffed all opengl calls while rendering one frame of the mario galaxy intro and save it here: http://markus.members.selfnet.de/dolphin/
There is also an short version with the typical rendering of some polygons.
In this typical rendering, 3 operations are done:
- overriding all texture parameters
- overriding all shader parameters
- rendering mostly 30 vertexes
Ok, I see, the last is importent. The shader parameters also often changes. But why changing the texture every 10 polygons to the same texture?
Is it possible only to set the texture parameters on changing the texture? I think this would speed up the opengl plugin enormously.
Markus