Part Number: SK-TDA4VM
Other Parts Discussed in Thread: TDA4VM
HI
I have a problem about the continuous reduction of memory when drawing picture texture in OpenGL.
The following is my test demo program code
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.
Part Number: SK-TDA4VM
Other Parts Discussed in Thread: TDA4VM
HI
I have a problem about the continuous reduction of memory when drawing picture texture in OpenGL.
The following is my test demo program code
Hello Xin,
There may be some resources not released correctly, such as the EGL context. I would recommend referencing the OpenEGL Wayland example in the PowerVR SDK for releasing and destroying resources to see if there is a step that was missed: https://github.com/powervr-graphics/Native_SDK/blob/master/examples/OpenGLES/01_HelloAPI/OpenGLESHelloAPI_LinuxWayland.cpp
In parallel, we will check internally whether there is a memory leak due to our implementation of OpenGL.
Regards,
Takuma
Hi Xin,
To confirm, this is using Edge AI SDK (Processor SDK Linux for Edge AI): https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-SK-TDA4VM?
Regards,
Takuma
Hi Xin,
I will share some code and resulting binaries for PC and TDA4VM board that I used to test your use case, which was to create a texture and delete the texture repeatedly. Could you run these on your board and see if the memory reduction can be seen with this binary?
Regards,
Takuma