This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: DRA72XEVM
While trying to display a PNG file with transparency we have found that the transparency (via alpha blending) does not appear to be working when the image is placed on the layer that is configured to have the lowest zorder. Simply changing the zorder of that layer via the ATTRIBUTES register and leaving all other register settings the same the transparency/blending works as expected. We would expect to see the background color blended with the image as the format is ARGB-8888 and our test has only 1 layer active at a time.
Looking in the TRM at "Figure 11-76. DISPC Alpha Blending Architecture With Premultiplied Alpha Support" It shows both A & RGB available for all layers 2,3,4 but layer 1 only shows RGB. We'd like to know if this is the expected behavior of the HW or possibly something missed in our QNX display driver.
If you require more information please let me know.
Thanks
Mike
Hi Mike,
What you described is the expected DISPC HW behavior.
There is no blending between the background and lowest z-order layer (layer-1 according to the referenced TRM figure). In this case either the background or layer-1 will be seen. The blending would happen from layer-2 onwards.
Regards,
Kaloyan