Editorial question110.7K views1,969 votes0 answers2,729 following
AI-generatedUnexpected pipeline recompilation on glEnable/glDisable in low-traffic OpenGL workloads
Minimizing CPU overhead for a low-traffic OpenGL scene that issues only a handful of draw calls per frame is the primary goal. The OpenGL specification does not define when drivers recompile pipeline stages after state changes, leaving the behavior implementation-dependent. Some drivers recompile on every glEnable / glDisable call, while others batch validat