This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am using PSDK 2.0.0.0 and my target platform is am572x. I observe that glTexImage2D is very slow (takes approx 390ms for a 1920x1080 image) . In contrast, I see that loading the image using the KHR_image extensions (eglCreateImageKHR and glEGLImageTargetTexture2DOES) takes less than 1ms. According to my understanding, the KHR_image extensions support YUYV, NV12, YV12 and I420 formats. How do a I load an RGB image in real time?
Regards,
Apoorva
Traditionally, glTexImage2D is expected to be slow. This involves a copy of memory from MPU space to GPU space. On the other hand, EGLImage, by design, is meant to be used for texture streaming use cases.
Does your application require texture streaming?
Regards,
Anand
Hi - Was this resolved? Is it possible to load an RGB image in real time with EGLImage?
You can use the following extension to create a native pixmap with RGB surface and load it as an EGLImage.
https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_image_pixmap.txt
Regards,
Anand