PDA

View Full Version : metrics for state change load



dmy
02-08-2000, 06:03 AM
how much opengl get loaded by wich state change?
is there a place where something like a graph or a scheme has been made yet?

i'd like to identify by a glance where a state change bottleneck can be.

paolom
02-08-2000, 06:59 AM
You can't tell: it depends on the hardware/driver in use.
You can profile, but again... on different systems you can have much different results.

As a general programming headline, it's always best to minimize state changes, and to group them in your code.

dmy
02-09-2000, 12:55 PM
yes, i know... i've also noticed different behaviours on different cards.

in fact, i was thinking to make such a scheme for the pourpose of comparing opengl systems.

mainly a personal research http://www.opengl.org/discussion_boards/ubb/smile.gif