I share here a patch for enabling i.MX6 hardware acceleration for chromium browser 72 release.
Environment is yocto thud and patch is based on GitHub - Freescale/chromium-imx.
In addition to modifications related to chromium 72, I had to force gpu decoder creation in /media/renderers/default_decoder_factory.cc, and force GLES extension detection in /media/gpu/imx_gl_viv_direct_texture.cc.
At that point when I play a video in chromium iMX6 vpu decode accelerator is called but it generates like underrun errors "No picture buffers have been provided yet - will try again later".
The result is video frame rate is worse than if I disable gpu in chromium command line.
Does anyone have suggestion that could help ?