Re:Zink (OpenGL on Vulkan) performance better than expected
by moonchild on Wednesday September 09, 2020 @07:37PM
(#24427242)
That sounds much worse. That's still global state, just encapsulated global state. Any time you say glBindWhatever(), you're assigning global state. And the state obj should be an opaque handle so you don't end up with stale pointers. Should be glEnable(state, GL_BLEND); glDepthTest(state, GL_LEQUAL);.
[ Parent
| on HN ]
There are no comments on this comment yet.