In DirectX changing states lowers the performance. Is the same happening in OpenGL? If so, which states are the most/less resource consuming? :?