From: Antoine M. <an...@na...> - 2017-07-28 10:27:30
|
Hi, Please find attached a patch that enhances VirtualGL to allow it to forward 10 bits per channel pixel data using RGB10_A2 / GL_UNSIGNED_INT_2_10_10_10_REV. The seemingly unofficial fourcc code that I have found for this is "r210" so that's what I've used. ("R210" is for big endian) The string "RGB10_A2" matches the OpenGL pixel format, but lacks the endianness distinction. You can find all you need for testing and visually verifying that the extra bits are being forwarded without any subsampling here: http://xpra.org/trac/ticket/1577#comment:2 Please let me know how you would like to proceed for merging this code, in particular any other required changes I might have missed, and where I should update the documentation, if anywhere. Thanks Antoine |