Rendering using OpenGL ES 2.0/3.0 in a zero copy mode on MALI T628

Hi

I am looking for example / articles on how to perform updates to an Open GL ES texture (without using low Performing glTexSubImage2D approach) in a zero copy approach.

I am currently focused on odroid XU3 with MALI  T628 running ubuntu.

I studied and tried eglcreateImageKHR approach without success (I cannot create an eglImage: error EGL_BAD_PARAMETER is returned when using EGL_NATIVE_PIXMAP_KHRas a target).

I read that MALI driver has support for UMP data transfer, but I still need a reference to the inner buffer in a openGL ES texture.

Any help needed

Andrea

Parents
  • Where can I find source code for libmali.so (ARM Mali Midgard GPU User Space Drivers Release r5p0-06rel0 MALI for T628)? I whould like to debug why I am not able to create an EGLImage.

  • Hi andrea.varesio,

    Regarding your sample code, thank you for providing that. I have created a ticket so we can begin investigating further. I cannot give you an ETA however, but will try to update you periodically on the progress.

    Regarding your source code question, although the kernel side component of the Mali driver is open source and under GPL, the user space side is not, and proprietary. As such, the source code is not accessible to anyone without legal contracts in place.

    Typically this is a standard procedure for our licensees and partners. If you are one of those, I would advise going through the proper ARM channels to secure the source code.

    However if you are not, and still would like access, we can begin talks regarding costs and licensing with the appropriate people.

    I hope that clarifies things for you.

    If you have any further questions, please do not hesitate to ask.

    Kind Regards,

    Michael McGeagh

  • Hi andrea.varesio,

    A colleague has pointed me to this thread: How to share texture memory between CPU/GPU for firefly's/rk3288 fbdev Mali-T764

    The required parts needed is currently not available in the driver version r5pX, but should be available to you in the next release.

    Please note that when we release new drivers, there may be a delay before our partners decide to update their BSPs such as HardKernel in your example, and this is out of our control. As such I am unable to give you an accurate estimate on how long it would take before the update is available to you.

    Kind Regards,

    Michael McGeagh

Reply
  • Hi andrea.varesio,

    A colleague has pointed me to this thread: How to share texture memory between CPU/GPU for firefly's/rk3288 fbdev Mali-T764

    The required parts needed is currently not available in the driver version r5pX, but should be available to you in the next release.

    Please note that when we release new drivers, there may be a delay before our partners decide to update their BSPs such as HardKernel in your example, and this is out of our control. As such I am unable to give you an accurate estimate on how long it would take before the update is available to you.

    Kind Regards,

    Michael McGeagh

Children
More questions in this forum