CUsurfObject and CUtexObject which perform better? or which is more efficient ?

I used EGLstream to get the frames in real time. I found it has two objects to bind to the address : surface object and texture object. So I want to ask which is better or more efficient? And two of them use in what case ?


Texture object is read-only, and surface object support read and write.
Depends on your use-case to choose which one to use.