Is the demo SimpleCUDA2GL also valid for GLES?

My opengles application running on jetson nano need to stream 4 camera data to GPU. the glMapBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB,)is no longer available then (they are for openGL4.x).
So I followed the tegra samples/3_imaging/simpleCUDA2GL to CUDAMemcpy video frame into a texture.(But without glutinit(), so that the glinfo showed I was using gles3.2.) Then I always saw empty green textures. I guess CUDA 2 GL should work for GLES, right? what could be reason I fail?
if not, what would you suggest me to use when streaming video frame to the 4 textures?

Hi,

GL and GLES might have some differences.

There are lots of samples that can be found on the web.
Could you try one to see if GLES can work correctly on Nano?

Thanks.

I could not find one gles sample with CUDA to GL texture. do you happen to know a link to such?

Hi,

Could you check the below sample?

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.