Re: [Development] Adding 10-bit OpenGL support in QML

2014-02-26 Thread Gunnar Sletta
On 26 Feb 2014, at 18:26, Kurt Pattyn wrote: > Thanks for the reply. > > On 25 Feb 2014, at 23:22, Gunnar Sletta wrote: > >> On 26 Feb 2014, at 00:42, Kurt Pattyn wrote: >> >>> We are currently looking into a way to render a 10-bit image in QML. >> >> I'm going to assume we're talking abou

Re: [Development] Adding 10-bit OpenGL support in QML

2014-02-26 Thread Kurt Pattyn
Thanks for the reply. On 25 Feb 2014, at 23:22, Gunnar Sletta wrote: > On 26 Feb 2014, at 00:42, Kurt Pattyn wrote: > >> We are currently looking into a way to render a 10-bit image in QML. > > I'm going to assume we're talking about Qt Quick 2.0. Yes, indeed. > > As in 10-bit grayscale or G

Re: [Development] Adding 10-bit OpenGL support in QML

2014-02-25 Thread Gunnar Sletta
On 26 Feb 2014, at 00:42, Kurt Pattyn wrote: > We are currently looking into a way to render a 10-bit image in QML. I'm going to assume we're talking about Qt Quick 2.0. As in 10-bit grayscale or GL_UNSIGNED_INT_10_10_10_2? In any case, you can create a custom QSGTexture class which defines th

[Development] Adding 10-bit OpenGL support in QML

2014-02-25 Thread Kurt Pattyn
We are currently looking into a way to render a 10-bit image in QML. Our first idea is to create an OpenGL context in C++ and use that in QML. QML must be able to overlay text on this 10-bit OpenGL context. What is the best approach for this? Is it possible at all? Can we expose a QGLWidget, or so