Does SGX530(TI AM3358) support blending ARGB8888 image into RGB888 framebuffer

Tagged: , ,

This topic contains 5 replies, has 2 voices, and was last updated by  CarlosSarria 5 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #55662

    linghua
    Member

    Hi,
    we want to blend ARGB8888 image into RGB888 framebuffer, when configuring the framebuffer as RGB888 format, the PVR2DGetDeviceInfo returned with error of -7(PVR2DERROR_GENERIC_ERROR).

    Does SGX530(TI AM3358) support 24bit(RGB888) framebuffer?
    if yes, how to solve the problem?

    software and version:
    — Linux kernel 3.2
    — PVR2d header revision:
    #define PVR2D_REV_MAJOR 3
    #define PVR2D_REV_MINOR 6

    Thanks.

    Best Regards,
    linghua

    #55670

    Hi Linghua,

    RGB888 is only supported as a destination format if the platform supports PTLA (Present and Texture Load Accelerator). Because you are receiving this error, I assume your platform does not have support for it, so you will need to use RGBA8888.

    Regards.

    Carlos.

    #55671

    linghua
    Member

    Hi Carlos,

    Thanks for your reply, maybe that’s the problem.

    PVR2DGetDeviceInfo’s return value could be:
    -9( PVR2DERROR_HW_FEATURE_NOT_SUPPORTED),
    -10( PVR2DERROR_NOT_YET_IMPLEMENTED )
    If SGX530 didn’t support this feature, returned with one of these two values is more proper than -7(PVR2DERROR_GENERIC_ERROR) when calling it.

    Best Regards,

    linghua

    #55675

    Hi Linghua,

    Yes, I agree the error message is not helpful at all. Sadly it is very old code so I doubt it will be updated.
    Let us know if you have any other issue. It is very difficult for us to support these old platforms, but we will try our best.

    Regards.

    Carlos.

    1 user thanked author for this post.
    #55705

    linghua
    Member

    Hi Carlos,

    I got, thank you!

    Another question, what’s the relationship between this two API libraries: pvr2d and openGL? can I got any document about pvr2d? what we have now is just the pvr2d.h.

    Thanks.

    Best Regards,

    linghua

    #55727

    Hi Linghua,

    As far as I know there is no public document (except the include file you mention) about the PVR2D API.
    PVR2D is a specific API to drive 2D hardware so it has only been used in some implementations of EGL for surface management. Its main purpose is to be used to accelerate windowed systems.

    Regards.

    Carlos.

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.