re: HAS_EGL around the rendering code, that sounds like the correct solution.
Only the part that is in gst decoder part, which creates the eglImage, is TI specific. And the extension is really just a stop-gap solution waiting for everything to work with dmabuf, and then GWG will implement a common dmabuf eglimg extension which could be implemented on multiple platforms.
re: HAS_EGL around the rendering code, that sounds like the correct solution.
Only the part that is in gst decoder part, which creates the eglImage, is TI specific. And the extension is really just a stop-gap solution waiting for everything to work with dmabuf, and then GWG will implement a common dmabuf eglimg extension which could be implemented on multiple platforms.