I want use the stencil buffer for a reflection effect in a pure Win32 program, but when I enable the stencil buffer the performance low dramaticaly. 3 or 4 fps in window mode. I’ve try with 1, 8 and 16 in PIXELFORMATDESCRIPTOR.cStencilBits parameteter but I didn’t obtain any change.
I guess that the problem is in the OpenGL context creation.
And yes, it’s possible that this card doesn’t have stencil buffer with hardware support, but I’ve run glut examples with stencil buffer and them run well.