IMX356 Z160 OpenVG vgAppendPathData fails with VG_PATH_CAPABILITY_ERROR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX356 Z160 OpenVG vgAppendPathData fails with VG_PATH_CAPABILITY_ERROR

379 Views
danieltrevitz
Contributor I

Hello,

     I am currently working on building a fast boot & hard float version of the BSP for a custom board my company uses.

     I have found from http://repository.timesys.com/buildsources/a/amd-gpu-bin-mx35/amd-gpu-bin-mx35-10.12.01/amd-gpu-bin-... which appears to be the newest version of the libraries on the internet.

     The OpenVG library is capable of clearing the screen to any color and can draw an image to the screen, but the vgAppendPathData function fails consistently. Evaluation with GDB seems to indicate that the VGPathData structure within libOpenVG.so is not created correctly by vgCreatePath(). I say that because VGPathData->m_capabilities is set to 480 and not any of the constants that I give it.

     Is there a newer version of the library or is it possible to get the source under a NDA?

BR,

Daniel

P.S. I am using several examples - including the tiger example for the imx5 GPUSDK.

ps->m_paths[i].m_path = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, 1.0f, 0.f, 20, 20, VG_PATH_CAPABILITY_ALL);
vgAppendPathData(ps->m_paths[i].m_path, elements, cmd, points + startp);
0 Kudos
0 Replies