[Mesa-dev] Propose: Add transform buffer in egl/drivers/dir2/platform_android.c

Rob Clark robdclark at gmail.com
Thu Sep 12 16:07:54 UTC 2019


On Wed, Sep 11, 2019 at 9:14 PM Cici Ruan <ruanc at chromium.org> wrote:
>
> Hi Mesa developers,
>
> I would like to add a feature in egl/drivers/dir2/platform_android.c to respect he transform hint and rotation in Android buffer and transform buffer to pre-rotated buffer, so display hardware can do a simple linear read from the buffer to scan it out.
>
> It's my first time to do something in Mesa repository here. According to the document, I need propose first. If anyone has a different opinion, please let me know. Or I will go ahead to work on it.
>

I think it is ok to go ahead and propose a patch.  I've added Fritz
who has been doing some work on y-flip extension, which I guess has
some overlap.  Although I'm not sure quite how it would work to
support arbitrary transformations (without an extra blit), since I
think this would have some effect on gl_FragCoord and some other
things like that.

BR,
-R


More information about the mesa-dev mailing list