Cuda interoperate with opengles, how to update opengles texture data?

I decode video file using Nvidia Jetson Multimedia API, the decoded data is in dma, i want to map the dma id to one address pointer, and then use cuda map the opengl es texture id to another address pointer, then copy data. but i cannot find how to map opengles texuture id to one address pointer, i just find one cudaGraphicsGLRegisterImage function, which is used to opengl texture. Is there one for opengles ?

Hi,
In userspace, we can map NvBuffer/NvBufSurface with EGLImage and then get CUDA pointer. Please refer to cuda_postprocess() in

/usr/src/jetson_multimedia_api/samples/12_v4l2_camera_cuda