30-bit displaying with Krita?

Adrian Page adrian at pagenet.plus.com
Fri Dec 25 13:51:57 CET 2009


On 24 Dec 2009, at 1:38PM, Boudewijn Rempt wrote:

> On Thursday 24 December 2009, Kai-Uwe Behrmann wrote:
> 
>> I wrote in the hope that supporting GL_RGB16/GL_UNSIGNED_SHORT would be a
>> minor task given that Krita can already use the well supported industry
>> standard OpenGL API.
> 
> Oh, yes, that should be relatively easy, especially since we already used to 
> use GL_RGBA16F_ARB, GL_HALF_FLOAT_ARB, GLEW_ARB_texture_float or 
> GLEW_ATI_texture_float where necessary. There is some fixing to do as well, 
> since the deprecation of the old floating point colorspaces broke these as 
> well, and we might just as well add support for 16 bit integer to the opengl 
> canvas.

It will also be necessary to request a 10-bit visual when the OpenGL context is created. Without that, there's likely no benefit in storing the data in greater than 8 bits as it will just get converted to 8-bit when written to the frame buffer, unless the card opts to dither (my Nvidia card doesn't).

Adrian



More information about the kimageshop mailing list