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

Pixel format support for EGLImage/GraphicBuffer?

I am using EGLImage in combination with Android GraphicBuffers to remove the need to copy to/from GPU memory. The problem is it seems only one format is supported (RGBA8888). I would like to confirm this, either by quering the driver or if you have the answer here.

1. Is there a way to get this information from the driver?

2. Is there a list of supported GraphicBuffer formats?

Parents
  • Hi emilwesterngren,

    thank you for your post. Certainly more than one format you have pointed out should be supported. However it is quite difficult to tell which formats are supported in your gralloc implementaion as it depends on specific vendor integration. Would you be able to share more details what device you are trying this on?

    Maybe you could try to select your desired format first and then tell us what is going wrong and we may be able to help you.

    HTH,

    Sylwester

Reply
  • Hi emilwesterngren,

    thank you for your post. Certainly more than one format you have pointed out should be supported. However it is quite difficult to tell which formats are supported in your gralloc implementaion as it depends on specific vendor integration. Would you be able to share more details what device you are trying this on?

    Maybe you could try to select your desired format first and then tell us what is going wrong and we may be able to help you.

    HTH,

    Sylwester

Children