OK , since I am having no luck solving 2D stencil issue I will rephrase it in piece-parts.
glColorMask - " enable and disable writing of frame buffer color components"
This function basically disables ( parameters GL_FALSE or plain 0) or enables (paramaters GL_TRUE or 1 ) ALL colors in “color buffer”.
One documentation I have used said
“control ANY buffer…”) is that correct ??
In practice and in my case it “disables” any object to be subsequently displayed in window. Since I cannot “see” the object it does it stop the object to be "created " ?
Hence "writing " to what - frame or buffer ?
Is here a difference between “color buffer” and “frame buffer”?
OpenGL has many versions, so where is the best place to get basic, relatively version independent “help” ?
I have been using my “version 1.1 red book ! " and Linux “man” with some success.
The worst are variety of u-tube” videos…