542 views
in System Integration by
Hi Support Team,

Rendering the Extern Bitmap will affects graphics accelerator API calls?
We are expecting that the graphics accelerator API(like EwBspGraphicsCopy, EwBspGraphicsCopyBlend) would be called when displaying the bitmap, which is created by EwLoadExternBitmap(). But it doesn't seem to be called. For your reference, we are using i.MX_RT platform package.

Let me ask another question.
Regardless of using the Extern Bitmap, what should we do if we try out above the API? Are there any examples you can give us?

Thank you for any help you can provide.

Best Regards,
Kangmin

1 Answer

0 votes
by
 
Best answer
Hello,

in case of iMX_RT platform the usage of the graphics accelerator (PXP) depends on the color format of the framebuffer (destination of the copy or blend operation) and on the color format of the bitmap (source of the copy or blend operation). As far as the combination of the source and destination is supported by the PXP, it will be used - otherwise a software copy operation is done.

Please note, that only a few combinations are supported by PXP.

As soon as the extern bitmap is loaded into memory, there is no difference to other bitmap resource - this means, they are drawn in the same manner.

I hope this helps....

Best regards,

Manfred.
by
Hi Manfred,

Thank you for your kindly explanation.

After further investigation, we found that the GfxCopyDriver API isn’t called at all. But the bitmap was shown at screen. Does it mean that there is no need to copy a content of bitmap to VRAM?

Please note that the bitmap is redrawn periodically, but not moved to.

Best Regards,

Kangmin
by
Hi Kangmin,

please let me know the color format of the Platform Package and the color format of the bitmap that you have created - then it will be very clear if this is drawn by software or by hardware.

Best reagards,

Manfred.
by
Hi Manfred,

Here is the information you asked me for:
Color Format of the platform package: RGB565
Color Format of the bitmap : EW_PIXEL_FORMAT_NATIVE

Best Regards,
Kangmin
by
Hi Manfred,

I'm wondering if the PXP supports the bitmap rotate operation. If it does not, the rotate operation is performed by software?
I have noticed that the following note and I suspect that it leads to poor performance.

From: https://doc.embedded-wizard.de/image-view?v=10.00#15
> Please note, if your target device doesn't provide any dedicated graphics hardware for bitmap rotate operation, the operations are performed by the CPU,
> which may impact the performance of your application significantly if you use this feature extensively.

Best Regards,
Kangmin
by
Hi Kangmin,

all bitmap rotate operations, bitmap scale operations and other perspective transformations have to be done by CPU - there is no adequate support within the PXP.

Best regards,

Manfred.
by
Hi Manfred,

Thank you for your insight and it helped me a lot to understand what we should do next.

Best Regards,

Kangmin

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...