Hello all,
I am developing an application on SA8155P on which QNX 7.0 runs. In the application, I want to render a basic cube via OpenGL ES 3 and display it using OpenWFD API.
Is there any way for this kind of architecture to work?
Up to now, I tried some methods listed below.
- I created an EGLImage via OpenWFD API ( wfdCreateWFDEGLImages(...) ), then feed the EGLImageHandle to OpenGLES as Renderbuffer storage using glEGLImageTargetRenderbufferStorageOES(...) funtion. However, it returns GL_INVALID_OPERATION.
- I created a framebuffer and renderbuffer(for off-screen rendering in OpenGLES), create an EGLImage from renderbuffer using EGL API ( eglCreateImage(...) ). Then try to create WFDSource from this EGLImage to be able to bind it to WFD Pipeline. However, wfdCreateSourceFromImage(...) function returns NULL for WFDSource.
- I tried to create a wfdwindow using the following struct definitions, and try to create an EGL surface by using this wfdWindow. However, eglCreateWindowSurface(...) gives error and does not accept the wfdWindow I provided.
4. I tried to query wfd devices via EGL API ( eglQueryDevicesEXT(..) ), however this extension is not available for me to use.
Right now, I am stuck, I am not sure this is the right place to ask this, but I appriciate any help
Thanks