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
  • Sorry for not answering sooner but the project is shipping and I had to abandon experimentation for safe stuff.

    FYI,we decided a one frame latency so that we can asynchronously glTexSubImage2D image n-1 when computing image n with a pthread. It doesn' give good parallelism (because it both needs massive CPU processing and GL context access) but gave us big benefits.

    More specific stuff in a private message to you

Reply
  • Sorry for not answering sooner but the project is shipping and I had to abandon experimentation for safe stuff.

    FYI,we decided a one frame latency so that we can asynchronously glTexSubImage2D image n-1 when computing image n with a pthread. It doesn' give good parallelism (because it both needs massive CPU processing and GL context access) but gave us big benefits.

    More specific stuff in a private message to you

Children
No data
More questions in this forum
There are no posts to show. This could be because there are no posts in this forum or due to a filter.