This is a note for how this is supposed to be carried out:
GLXPixmap --> EGLSurface (or the appropriate equivalent)
GLXDrawable --> EGLSurface (or the appropriate equivalent)
TBD.
Links for reference:
https://registry.khronos.org/OpenGL/specs/gl/glx1.4.pdf
https://stackoverflow.com/questions/60795622/xlibs-window-vs-glxs-glxwindow-confusion