Re: [Mesa-dev] multi-planar tiled fourcc's in mesa and drm

2014-09-21 Thread Rob Clark
On Sat, Sep 20, 2014 at 11:40 AM, Ilia Mirkin wrote: > On Sat, Sep 20, 2014 at 11:34 AM, Rob Clark wrote: >> On Fri, Sep 19, 2014 at 3:16 PM, Rob Clark wrote: >>> For the mesa part, it looks like there is a bit of work needed to >>> teach egl about multi-planar buffers, buffers where offset[n] !

Re: [Mesa-dev] multi-planar tiled fourcc's in mesa and drm

2014-09-20 Thread Ilia Mirkin
On Sat, Sep 20, 2014 at 11:34 AM, Rob Clark wrote: > On Fri, Sep 19, 2014 at 3:16 PM, Rob Clark wrote: >> For the mesa part, it looks like there is a bit of work needed to >> teach egl about multi-planar buffers, buffers where offset[n] != 0, >> etc. I'll start with patches to teach egl how to i

Re: [Mesa-dev] multi-planar tiled fourcc's in mesa and drm

2014-09-20 Thread Rob Clark
On Fri, Sep 19, 2014 at 3:16 PM, Rob Clark wrote: > For the mesa part, it looks like there is a bit of work needed to > teach egl about multi-planar buffers, buffers where offset[n] != 0, > etc. I'll start with patches to teach egl how to import plain NV12 > buffers. But once that is done, for i

[Mesa-dev] multi-planar tiled fourcc's in mesa and drm

2014-09-19 Thread Rob Clark
So, lucky me, I have a scenario where I get to deal with NV12MT. Hurray! I know there has been some reluctance in the past to combine tiling and color format, since in theory that could lead to a combinatorial explosion in formats. And, as long as the buffer usage is entirely within a single dri