Hello everybody, I'm currently struggling with the said system.Is there somewhere a *full* sample code for Linux that does create an EGLImage for a texture and demonstrates how to update it with the CPU ?
Reference documentation seems ok but eglGetError keeps telling me I don't know what I'm doing
I won't post my various tries here because they don't work and therefore have no value for the reader, but I've been romaing the web and trying stuff for a while.
Cheers, Tramb
I'm not sure, I'll ask the system team but their first gut feeling is "I don't think so".
I still don't have the answer. We contacted our supplier, ie your partner, to get some answers.
When you're speaking about dma_buf vs UMP, you're thinking about the way to update device memory ?
Is there a way to query the driver to know how glTexImage2D does it ? I was thinking the upload was done through DMA, after the swizzling is done on the CPU, but EXT_image_dma_buf_import is not exposed.
UMP driver is usually built as a kernel module so if you look into your kernel whether its loaded or not. You will get an answer. I am actually trying to see if this technique mentioned How to share texture memory between CPU/GPU for firefly's/rk3288 fbdev Mali-T764 will work with UMP or not.
tramboi wrote:Is there a way to query the driver to know how glTexImage2D does it ?
tramboi wrote:
Is there a way to query the driver to know how glTexImage2D does it ?
I don't think so.