Dear all,
I want to set the transparency in Qt, my hardware have several layers and allowed hardware Pixel Alpha blending.
I found Qt is also supported ARGB, and set the background with it. It works! And the widget on the background can also set the alpha to mix the Alpha value in background.
But it need a lost of time to do the the Alpha blending algorithm, if resolution set to 1080p,when i move the widget transparent to the background it become very slowly and CPU loading is very high.
My question is,If it is possible to set the ARGB value in the widget,direct assign it to the framebuffer.
ie. Background(R,G,B,A(oxFF)) (not blending)
Widget(R,G,B,A(0x77))
When the widget in the top level, the value A(0x77) is direct set to the framebuffer.
And how to achieve it?
Bookmarks