Hello simonvanveerdeghem, Rodrigue
Using the following image:
Linux imx6dlsabresd 3.14.28-1.0.0_ga+g91cf351 #1 SMP PREEMPT Mon Jun 15 12:13:50 MST 2015 armv7l GNU/Linux
I can get up to 40FPS on the i.MX6DL Sabre SD board using a single or multibuffer approach and using also the barco-wallpaper example.
1
99 frames in 5 seconds: 39.799999 fps200 frames in 5 seconds: 40.000000 fps
200 frames in 5 seconds: 40.000000 fps
200 frames in 5 seconds: 40.000000 fps
200 frames in 5 seconds: 40.000000 fps
200 frames in 5 seconds: 40.000000 fps
I am attaching the application, as I made a slight modification on it: (Perhaps it won't work in your end as I used the poky 1.7 toolchain to generate ut)
On Function:
void SquircleRenderer::paint()
I modified the texture filtering scheme to nearest to avoid unnecessary texel operations.
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
Also for the VPU stuff, I am still waiting for the Barco recipes to test, but in the meantime, can you please try changing the VPU frequency to make it higher?
Enable the MX6_VPU_352M on the menuconfig
Select the MX6_VPU_352M to be YES on the menucongif.
In order to enter the menuconfig from Yocto enter
bitbake linux-imx -c menuconfig.
Symbol: MX6_VPU_352M [=n] │
│ Type : boolean │
│ Prompt: MX6 VPU 352M │
│ Location: │
│ -> Device Drivers │
│ -> MXC support drivers │
│ -> MXC VPU(Video Processing Unit) support │
│ (3) -> Support for MXC VPU(Video Processing Unit) (MXC_VPU [=y]) │
│ Defined at drivers/mxc/vpu/Kconfig:22 │
│ Depends on: ARCH_MXC [=y] && MXC_VPU [=y]
