For testing high bit depths. Can probably be done easily enough using opengl.
We'll need to make sure the low bits are used so we can visually see the difference. (running the test application at normal bit depth and high bit depth)
r16301 adds a plain GTK example, which shows color banding, especially in the darker shades of grey.
It shows less banding on a 30 bit display, and identical results when running through xpra with
Tested OK with Linux clients, but ms windows seems to be unable to render at 30 bit. We use the exact same code to upload the "r210" pixel data, yet the result shows banding.
This may be a GTK limitation: running the examples (opengl or not) fails miserably on win32.
The type of pixel data being uploaded to the graphics card can also be inspected via logging: with
-d opengl client side, or see ticket:1309#comment:8
@maxmylin: feel free to just close.
Test app looks neat.
tool shown with clipping at 3bpc
r16331 adds manual clipping of the bit depth we use for painting: hit any key to change it, it goes from 16 bpc down to 0 and warps. With this change and the improvements in ticket:1309#comment:8, it is now very easy to visually verify what bit depth is being rendered on the display (at least on Linux...) and easy to compare local and remote.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1553