State cache for WebGL Rendering Context