Hi Joan,
Thanks for input. You are correct, I have verified it and it is working as per your input.
Our QT GUI is running on FB0. Preview application running on FB1 and we set global alpha 0 so that default GUI is on top. Now I want to set transparency of GUI using color key or local alpha. So that on specified window only preview on FB1 is visible on LCD.
Currently only global alpha setting works for transparency using ioctl "MXCFB_SET_GBL_ALPHA".
I tried color key using following source code on FB0 layer to make black graphics pixel as transparent for overlay but it is not working.
struct mxcfb_color_key ckey;
ckey.enable = 1;
ckey.color_key = 0x000000;
result = ioctl( _fd, MXCFB_SET_CLR_KEY, & ckey );
Also I tried local alpha of graphics using following source code on FB0 layer but this also not working.
struct mxcfb_loc_alpha l_alpha;
l_alpha.enable = 1;
l_alpha.alpha_in_pixel = 1;
result = ioctl( _fd, MXCFB_SET_LOC_ALPHA, & l_alpha );
Can you please help us to enable local alpha and color key setting ?
Thanks,
Jignesh Patel