The pointer overlay feature is used when sharing is enabled or when connecting to a shadow server. It allows the user to see where the pointer actually is.
I thought it would be easy to paint it with opengl... I was wrong.
Changesets:
Remaining problem: with XPRA_OPENGL_TEXTURE_CURSOR=1
, the cursor is shown but it doesn't get blended with the PBO.
Changing the GL_TEXTURE_ENV_MODE
to use blending looks like it might work... but this affects the whole texture unit and messes up the rendering of the PBO.
Using another texture unit via glActiveTexture(GL_TEXTURE1)
makes it render as a white rectangle instead.
Horrid fix in r15576, will follow up with #1497 instead.
On the plus side, the opengl code is now cleaner and more readable.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1496