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

2019-09-12 Thread Rob Clark
On Wed, Sep 11, 2019 at 9:14 PM Cici Ruan  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
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2019-09-11 Thread Cici Ruan
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.

Best Regards!
Cici Ruan
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev