This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MALI-400 : eglCreateImageKHR, EGL_GL_TEXTURE_2D_KHR and updating textures with the CPU

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

Parents
  • Seems I can't PM you. Whatever. Here goes to the public place.

    _mali_convert_tex32_l_to_tex32_b would really need a bit of effort. Just replacing the swizzle tables with NEON code gave us 20% win for in-cache processing. And the original implementation doesn't output pixels in a linear way. I don't know much about write-combining for ARM SOCs (maybe there is documentation somewhere, next to the EGL sample ) but it seems that it's a bit risky regarding throughput.

Reply
  • Seems I can't PM you. Whatever. Here goes to the public place.

    _mali_convert_tex32_l_to_tex32_b would really need a bit of effort. Just replacing the swizzle tables with NEON code gave us 20% win for in-cache processing. And the original implementation doesn't output pixels in a linear way. I don't know much about write-combining for ARM SOCs (maybe there is documentation somewhere, next to the EGL sample ) but it seems that it's a bit risky regarding throughput.

Children