What you are describing is not possible with OpenGL.
However, given that you are new to OpenGL, maybe what you are describing is not exactly what you are after?
Mixing is a step that happens when you decide what color your current fragment should have (usually a triangle). This color must be combined with the previous color in the frame buffer. Are you sure you are after?
source share