How to link to g2d.h resources? imx8

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to link to g2d.h resources? imx8

1,304件の閲覧回数
foxsquirrel
Contributor II

We have been unsuccessful at launching Vulkan so we decided to try the NXP g2d. Well, only thing that is on the imx8m image is a g2d.h header file and it is only function prototypes....So how are we supposed to use the graphics sdk without a file(s) to link to???

 

In the link to use the "framework", it references the lunarg sdk and that is broken (ubuntu 22.04), so we are unable to even use the sdk. Why do I need a "framework" for something simple like g2d?

Where can I down load the files needed to link g2d?

 

 

 

0 件の賞賛
返信
2 返答(返信)

1,297件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @foxsquirrel 

 

You can refer to:

i.MX_AA_Graphics_User's_Guide

In section 2 i.MX G2D API.

 

I hope this can helps to you.

 

Best regards.

 

Salas.

0 件の賞賛
返信

1,290件の閲覧回数
foxsquirrel
Contributor II

Thank you for responding, no it does not help.

I have looked that over and it is OVERLY complicated and is missing steps that in turn lead to nothing happening.

It appears to be very stale, just tried to find some of the files that are suppose to be downloaded???????????

Just clicked on the link on page 147 for the arm mali emulator, nothing their......

Please provide a link to the real documentation the we can actually use, I realize your intentions were to help. However, we are not testing the same code on many platforms and don't need this ball of yarn.

Can you provide some simple code that has been tested recently and works?

A simple "triangle or square" using Vulkan and opengles2 on a linux yocto build. Something complete, not code with snippets and voids along with "MysteryHeaders.h". An example that can be compiled from our IDE and linked -l<name> or .pc and utilize the gpu.

 

Did build the fsl-image-gui and it is fine if all we need to do is play demo code. That is not the case, we purchased your products based upon the gpu not frame buffer graphics as is noted in g2d setup.

 

Best Regards,

Fred

0 件の賞賛
返信