to obtain GL textures backed by EGLImage (GL_OES_EGL_image_external extension).
Do I need to set some properties on the fakesink to have glupload make the texture EGLImage based, then just get a texture ID using gst_gl_memory_get_texture_id ?
Yes, if you pass a DMA buffer based GstMemory to glupload it will attempt to generate an EGL_image_external based texture from it, provided it’s supported on the platform of course. If you turn on LOG level output from glupload it will show output like
describing the eglCreateImage attributes being used.
I’ve annotated the attributes on the far right; the enum names are not shown, just the numeric values
I’m having some issues (driver errors, perhaps?) sampling the resultant texture with the particular platform I’m using, but it’s kind of working despite the problems. I get some of the image data I’m expecting.