AnsweredAssumed Answered

imx6: alpha-blending fb0 with an overlay buffer.

Question asked by Anders Rønningen on Jan 12, 2018
Latest reply on Jan 22, 2018 by Anders Rønningen

I have a Qt5-application using eglfs that uses fb0. I want to alpha-blend it with an overlay buffer filled with a color. What is the proper/best way to solve this?

 

I tried creating an ipu_task with /dev/fb0 as input, an overlay buffer, and /dev/fb1 as output. It does not work, however, and I'm unsure if I'm on the right track.

 

If I should use /dev/fb1 at all, what is the proper way of setting the same modes on /dev/fb0 and /dev/fb1? Based on the output from fbset on /dev/fb0 I ran "fbset -fb /dev/fb1 -g 800 480 800 1440 32", which seemed to work, but is that the proper way to do it? Is that what I should do if/when I want to switch to another display timing?

Outcomes