This seems to be a corner-case in code generation.
The virtual-method and method signatures for processTextures in GLMixer don't match. One expects a GstGLMemory out_tex, and the other expects GstBuffer out_buf. This results in generated code using outTex without declaring it.
Despite having the same name, processTextures(Buffer outbuf) and the virtual method processTextures(GLMemory outtex) aren't the same method. The one taking the Buffer should call gst_gl_mixer_process_textures, while the one taking the GLMemory is called within gst_gl_mixer_process_textures and is implemented/overriden by subclasses.
Looking through gstreamer git, this was introduced 12 years ago: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/89569276c563d3343417ea5e34bddcd0714131d7