Graphics Performance: CPU / ARM NEON / OpenGL ES 2.0

209 views
asked May 27, 2019 in Platform Packages by Customer
Embedded Wizard supports different Generic Platform Packages with or without graphics acceleration.

Can you provide a graphics benchmark comparing the following scenarios:
- pure CPU graphics operations
- CPU graphics operations accelerated by NEON instructions
- OpenGL ES 2.0

1 Answer

0 votes
answered May 27, 2019 by Manfred Schweyer

Hello!

The following benchmark uses a modified version of our 'GraphicsAccelerator' example on a RaspberryPi 3 in order to compare the performance of the three mentioned scenarios.
The RaspberryPi 3 contains a Broadcom BCM2837 chip with a Cortex-A53 core @1200MHz (supporting ARM NEON instructions) and a VideoCore IV GPU supporting OpenGL ES 2.0.
The test application contains up to 64 items to test the following basic operations: Rectangle Copy, Bitmap Copy, Rectangle Blend, Bitmap Blend and Alpha8 Blend.

Within this graphics benchmark, 64 items of each category are permanently drawn while the resulting framerate (fps) and the resulting CPU load (using TOP) are measured.

These are the results:

1. Pure software rendering (CPU)
Rectangle Copy:  60 fps at 27% CPU load
Bitmap Copy:     60 fps at 42% CPU load
Rectangle Blend: 12 fps at 91% CPU load
Bitmap Blend:    20 fps at 81% CPU load
Alpha8 Blend:    20 fps at 69% CPU load

2. Software rendering using NEON instructions (CPU + NEON)
Rectangle Copy:  60 fps at 26% CPU load
Bitmap Copy:     60 fps at 42% CPU load
Rectangle Blend: 30 fps at 84% CPU load
Bitmap Blend:    30 fps at 64% CPU load
Alpha8 Blend:    30 fps at 61% CPU load

3. OpenGL ES 2.0 (GPU)
Rectangle Copy:  60 fps at  8% CPU load
Bitmap Copy:     60 fps at  7% CPU load
Rectangle Blend: 60 fps at  5% CPU load
Bitmap Blend:    60 fps at  5% CPU load
Alpha8 Blend:    60 fps at  5% CPU load

You can download the binary of the test application - prepared for RaspberryPi with original 7" touch display:

EmbeddedWizard-Generic-RGBA8888

EmbeddedWizard-Generic-RGBA8888-NEON

EmbeddedWizard-Generic-OpenGL

I hope this answers your question.

Best regards,

Manfred.

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

...