This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use fbdev_pixmap structure passed to eglCreatePixmapSurface create Surface

Hi,
I now use the fbdev window system, I assign a fbdev_pixmap structure configured corresponding content, pass it to eglCreatePixmapSurface function, but get to the error information 0x0000300A
Such as:
Error: eglCreatePixmapSurface failed Error: 0x0000300A
I will be how to configure fbdev_pixmap structure content, there is no successful example sent to me ah?

Thank you

Parents
  • Hi yueliu,

    *surfRet = eglCreatePixmapSurface(egl_dpy, config, winRet, attrib_list);

    I don't see in your code snippet where winRet is defined and setup. This is the problem, not the eglCreatePixmapSurface call. It is erroring stating your winRet is not valid.

    Can you double check your pixmap generation code and validate it to make sure that your pixmap 'winRet' is indeed valid?


    Thanks in advance,


    Michael McGeagh

Reply
  • Hi yueliu,

    *surfRet = eglCreatePixmapSurface(egl_dpy, config, winRet, attrib_list);

    I don't see in your code snippet where winRet is defined and setup. This is the problem, not the eglCreatePixmapSurface call. It is erroring stating your winRet is not valid.

    Can you double check your pixmap generation code and validate it to make sure that your pixmap 'winRet' is indeed valid?


    Thanks in advance,


    Michael McGeagh

Children
No data