zchee/go-mmal

Render on top of QT?

Opened this issue · 0 comments

Hi,

I've been banging my head against the wall for about 3 days now, and I cannot seem to figure this one out.
I have a QT application and using vcgencmd dispmanx_list I see that this is rendering on layer 1, while the camera preview example for your package is rendering on layer 0.

I really need to get this on top of the QT layer.

I have tried setting the mmal.DisplaySetLayer option and changing some code in the constructor of a DisplayRegion to try and set the layer to 2 (and various other values), but it always remains at 0 with vcgencmd dispmanx_list