Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make alpha configurable #496

Closed
badda71 opened this issue Jan 28, 2022 · 1 comment
Closed

Make alpha configurable #496

badda71 opened this issue Jan 28, 2022 · 1 comment

Comments

@badda71
Copy link
Contributor

badda71 commented Jan 28, 2022

When connecing a libvncserver-based client to a server and setting the pixel format to 32bit, the alpha channel of the pixels in the client framebuffer is always set to 0x00.
This is causing issues with my graphics libraries where an alpha of 0x00 is defined as fully transparent, thus not rendering to the screen. This means, I have to manually change all alpha-values in the framebuffer to 0xff before rendering to the screen, which in turn means a loss of performance. This probably applies to other bit depths as well.
It would be better to be able to configure the default opaque alpha value in linvncserver.

@bk138
Copy link
Member

bk138 commented Apr 10, 2022

This is actually a dupe of #277, me thinks. Please subscribe there.

@bk138 bk138 closed this as completed Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants