Hi, EW team:
Recently I have been studying computer graphics to have a better understanding of the performance of VgLite and PXP platform package for RT1170.
In my understanding, there are some basic operations in CG that can be accelerated by graphic HW, as the table below. How the two platform packages support the operations is also listed.
| Blend | Transform | Filter | Vector Graphic | Fill |
VGLite | yes | yes | yes | yes | yes |
PXP | yes | no | no | no | yes |
My questions are :
1. Is my understanding right? Is there anything missing in the table?
2. If one operation is not supported by HW, SW simulation has to take the job, right?
3. SW simulation will introduce performance penalty, which is proportional to the pixel count of the involved image block. Because SW has to do the job pixel by pixel instead of HW paralleling, right?
4. In PXP platform package, 3 APIs is encapsulated in ew_bsp_graphic.c, which are EwBspGraphicsCopy(), EwBspGraphicsFill(), EwBspGraphicsCopyBlend(). But in application of blending, EwBspGraphicsCopyBlend() has never been used nor even been linked into the program. Why?
5. I made a simple demo that has one image keep changing its opacity over another image, the screen size is 280 * 280. I find that the function EwBspGraphicsCopy() is used to blend. It takes nearly 30ms to do blending, which seems to be of low performance. Does this result agree with the expectation of PXP?
I am looking forward to your answers.
Thank you very much.
Best regards.
Stephen