What are faster?

What are faster? IF() or glCallList(0,GL_INT,0)?
And what faster?
glPolygonMode(…) or glColor3d(…)?

Assuming you mean glCallLists with 0 lists, it’s definitely faster to do
“if (count != 0) glCallLists(count, …);” instead of “glCallLists(count, …);”

The other two don’t compare well, because glColor just sets the color, but glPolygonMode reconfigures the whole pipe.