There is no "glEGLImageTargetTexture2DOES" API defined in "libGLESv2_nvidia.so"

Hi,

I need to use “glEGLImageTargetTexture2DOES” API in “libGLESv2_nvidia.so”. However, I notice that there is no that API in “libGLESv2_nvidia.so”.

My "libGLESv2_nvidia.so " is copied from “nvidia_drivers.tbz2”

[Note]: “nvidia_drivers.tbz2” is from “Jetson_Linux_R35.5.0_aarch64.tbz2”,
And Decompress the “Jetson_Linux_R35.5.0_aarch64.tbz2” file , we will obtain “Linux_for_Tegra” folder.
At last, the “nvidia_drivers.tbz2” is from “…/Linux_for_Tegra/nv_tegra”

[Typing the following Command]
yf@yf:~/Downloads/tmp/usr/lib/aarch64-linux-gnu/tegra-egl$ strings libGLESv2_nvidia.so.2 | grep 2D
glCompressedTexImage2D
glCompressedTexSubImage2D
glCopyTexImage2D
glCopyTexSubImage2D
glFramebufferTexture2D
glTexImage2D
glTexSubImage2D
glTexStorage2D
glTexStorage2DMultisample
glCompressedTexImage2D
glCompressedTexSubImage2D
glCopyTexImage2D
glCopyTexSubImage2D
glFramebufferTexture2D
glTexImage2D
glTexSubImage2D
glTexStorage2D
glTexStorage2DMultisample

I notice that there is no “glEGLImageTargetTexture2DOES” defined in “libGLESv2_nvidia.so”

Hope any suggestions, many thanks

Hi,
The function is called in

/usr/src/jetson_multimedia_api/samples/common/classes/NvEglRenderer.cpp

You can run the sample to use NvEglRenderer class:

/usr/src/jetson_multimedia_api/samples/00_video_decode/

Please give it a try and check the code as reference.

1 Like

Thanks for your suggestion :))