iMX6 GPU driver - how to share GPU buffers between processes

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

iMX6 GPU driver - how to share GPU buffers between processes

719 Views
obigose
Contributor I

Currently using iMX6 running embedded Linux OS.

We are integrating Webkit where we are running 2 separate processes : UI process and Web process.

We are having problems with iMX5 GPU driver in sharing GPU buffers between processes.

We need to have GPU buffers allocated in WebProcess to be accessed in UI process.

Can you let us know how to do this?

Labels (2)
0 Kudos
1 Reply

379 Views
michaelc_kim
NXP Employee
NXP Employee

     I suppose obigo wants to make the render result as texture input for UI process,right?

     If so, I think obigo can refer to the implementation about unity 3d compositor.

     In X system, all GLES application(including webkit) will render the result into buffer allocated from xserver.

     The main idea is 3d compositor will get the render result from xserver through some x11 extension, then map it as texture through eglimage for rendering.

0 Kudos