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,

    So your Native Pixmap is defined here:

    static struct fbdev_pixmap surface = {

           .width = 1920,

           .height = 1080,

           .bytes_per_pixel = 4,

           .buffer_size = 32,

           .red_size = 8,

           .green_size = 8,

           .blue_size = 8,

           .alpha_size = 8,

           .luminance_size = 0,

           .flags = FBDEV_PIXMAP_DEFAULT,//FBDEV_PIXMAP_SUPPORTS_UMP,

           .format = 1,

    };

    And on your device, it comes up as it being invalid.

    Can you let us know what device you are targetting, what OS you are running (including kernel version), and if you know it, what version of Mali you are using.

    Thanks

    Michael McGeagh

Reply
  • Hi,

    So your Native Pixmap is defined here:

    static struct fbdev_pixmap surface = {

           .width = 1920,

           .height = 1080,

           .bytes_per_pixel = 4,

           .buffer_size = 32,

           .red_size = 8,

           .green_size = 8,

           .blue_size = 8,

           .alpha_size = 8,

           .luminance_size = 0,

           .flags = FBDEV_PIXMAP_DEFAULT,//FBDEV_PIXMAP_SUPPORTS_UMP,

           .format = 1,

    };

    And on your device, it comes up as it being invalid.

    Can you let us know what device you are targetting, what OS you are running (including kernel version), and if you know it, what version of Mali you are using.

    Thanks

    Michael McGeagh

Children
No data