View Single Post
Old 01-30-2015, 06:00 PM   #488
RCGCoder
Junior Member
RCGCoder began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Onyx M96, Onyx Max 3
Hardware Acceletarion OpenVG, GLESv1_CM_VIVANTE

Hello Booxtor.

I´m coding an app for the M96 as a personal project to learn coding for android jni, asm for arm, etc etc.....
and when it madures a little more I will put it in github

Now I´m using OpenVG as high level api (https://code.google.com/p/androidvg/) it is a software library and works over gles1.1.

It works fine and is not too slow but I think it will be better with hardware acceleration. The onyx processor (imx6solo lite)
has a vivante gc355 that includes a openvg hardware support api (and GLES1.0)

Ok, I know that the eink and the epd of the M96 will never play video but if I spent minus time procesing frames the
app performance will be increased.

I spent some weeks trying to compile etna_viv and mesa3D... I get working the etnaviv 2d samples (bitblt, etc) but
(obviously) the mesa drivers not.... finally I noticed that GC355 and openvg is not supported
(or is not in the targets of the developers) and need much more work and knowledge than I have.

When I already gave me up then I found this: https://community.freescale.com/docs/DOC-101272

Is a set of patches for a ICS imx6(q,d,s,sl) board.... and includes the files:
device/fsl-proprietary/gpu-viv/lib/egl/libEGL_VIVANTE.so
device/fsl-proprietary/gpu-viv/lib/egl/libGLESv1_CM_VIVANTE.so
device/fsl-proprietary/gpu-viv/lib/egl/libGLESv2_VIVANTE.so
device/fsl-proprietary/gpu-viv/lib/libGAL.so
device/fsl-proprietary/gpu-viv/lib/libg2d.so
device/fsl-proprietary/gpu-viv/lib/libGLSLC.so
also includes
device/fsl-proprietary/gpu-viv/lib/hw/gralloc_viv.imx6.so
device/fsl-proprietary/gpu-viv/lib/hw/hwcomposer_viv.imx6.so

As the last 2 files are included in the system of the m96 I try to copy the first 6 to system/lib/egl and system/lib
(libGAL.so is not possible to copy because is always using by the system).... changes the egl.conf ;D ....as espected it did NOT work!! ...
and need to reinstall the firmware.

I have not needed knowledge to compile the m96 firmware as is... nor to apply the patches and test. although I would love to do it.

The doc of freescale says that the patches includes some performance improvements... it would be nice if m96 have.

Do you have any plans to include hardware acceleration for OpenGL 1.0 and OpenVG in future versions of firmware?
from my ignorance .... could I help you with something?

Best regards and excuse my bad English.
RCGCoder is offline   Reply With Quote