Xpra: Ticket #1496: show pointer using opengl texture overlay

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.



Wed, 12 Apr 2017 14:04:51 GMT - Antoine Martin: status, description changed; resolution set

Horrid fix in r15576, will follow up with #1497 instead.

On the plus side, the opengl code is now cleaner and more readable.


Sat, 23 Jan 2021 05:25:53 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1496