About G2D API in i.MX6DQ.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

About G2D API in i.MX6DQ.

跳至解决方案
4,394 次查看
keitanagashima
Senior Contributor I

Dear All,

Hello. I have a question about G2D API.

Refer to Chapter 2 i.MX 6 G2D API in "i.MX_6_Graphics_User's_Guide.pdf".

Could you give me below information?

- Header file to include

- Library to link

Best Regards,

Keita

标签 (4)
0 项奖励
回复
1 解答
2,428 次查看
Yuri
NXP Employee
NXP Employee

Hello,

"There are two ways to see the g2d test source,

1. If you have the vivante license to have vivante gpu source code,  you can see the code in gpu-viv(5)/fsl_drv/g2d, there are scripts to build the g2d_test and g2d_overlay_test.

2. If you don't have the license to have vivante gpu source code,  the g2d_test and g2d_overlay_test have been integrated into new demo framework. It is the C++ framework, but g2d_test and g2d_overlay_test keeps the same as in driver,  they just have C++ wrap.  The code is in /your yocto directory build director something like

/yocto-ga-wayland/build-wayland/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/fsl-gpu-sdk/2.2.1-r0/fsl-gpu-sdk-2.2.1/DemoApps/G2D

There are detailed instruction to build these apps stand alone in yocto-ga-wayland/build-wayland/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/fsl-gpu-sdk/2.2.1-r0/fsl-gpu-sdk-2.2.1/Doc/Setup_guide_yocto.txt"


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,428 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Please refer to section 8 (Graphics) of "i.MX_Linux_User's_Guide.pdf".


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,428 次查看
keitanagashima
Senior Contributor I

Hi Yuri,

Thank you for your quick reply.

I referred to section 8 (Graphics) of "i.MX_Linux_User's_Guide.pdf".

Where are header file and linked library of G2D API?

Best Regards,

Keita

0 项奖励
回复
2,429 次查看
Yuri
NXP Employee
NXP Employee

Hello,

"There are two ways to see the g2d test source,

1. If you have the vivante license to have vivante gpu source code,  you can see the code in gpu-viv(5)/fsl_drv/g2d, there are scripts to build the g2d_test and g2d_overlay_test.

2. If you don't have the license to have vivante gpu source code,  the g2d_test and g2d_overlay_test have been integrated into new demo framework. It is the C++ framework, but g2d_test and g2d_overlay_test keeps the same as in driver,  they just have C++ wrap.  The code is in /your yocto directory build director something like

/yocto-ga-wayland/build-wayland/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/fsl-gpu-sdk/2.2.1-r0/fsl-gpu-sdk-2.2.1/DemoApps/G2D

There are detailed instruction to build these apps stand alone in yocto-ga-wayland/build-wayland/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/fsl-gpu-sdk/2.2.1-r0/fsl-gpu-sdk-2.2.1/Doc/Setup_guide_yocto.txt"


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,428 次查看
keitanagashima
Senior Contributor I

Dear Yuri,

Thank you for great information!

Best Regards,

Keita

0 项奖励
回复
2,428 次查看
Yuri
NXP Employee
NXP Employee

Hello,

I forwarded request to the team.

Regards,

Yuri.

Internal link (for me):

About G2D API in i.MX6DQ

0 项奖励
回复