Native Pixmap structure for i.MX6/ Vivante GPU

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

Native Pixmap structure for i.MX6/ Vivante GPU

1,251件の閲覧回数
vvbinu
Contributor I

We are trying to port a client/ srever application from Pandaboard to i.MX6Q sabre AI. (I am using Yocto - gemini build)

Our logic is like client is using eglCopyBuffers to get the render buffer to native pixmap and sharing by shared memory (using shmat) with server. Server is using "eglCreateImageKHR" with the shared memory as buffer for client buffer.

We are stuck as we could not find pixmap structure that can be used with eglCopyBuffers for Vivante GPU.

Can somebody please share the structure for native pixmap or  guide us how to proceed with the same logic?

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

797件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Binoy,

had you checked gpu-samples-mx6 below ?

gpu-samples-mx6/lesson05/include/EGL/egl.h at master · rogeriorps/gpu-samples-mx6 · GitHub

Best regards

chip

0 件の賞賛
返信

797件の閲覧回数
vvbinu
Contributor I

Hi...

Sorry for the delayed reply... I was busy with another project.

egl.h do not define the pixmap structure... In fact I want the pixmap buffer as a pointer, so that I can share it manually.

I could find a structure in KHR/khrvivante.h:

struct _khrEGL_IMAGE_PIXMAP

{

gctUINT width;

gctUINT height;

gceSURF_FORMAT format;

gctINT stride;

gctPOINTER address;

} pixmap;


Can this structure  be passed as native_pixmap parameter to eglCopyBuffers? I think I should try it.


Thanks & Regards,

Binoy.

0 件の賞賛
返信