Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-12 Thread Ilia Mirkin
On Thu, Apr 12, 2018 at 2:25 PM, Mario Kleiner wrote: > On 04/12/2018 07:43 PM, Ilia Mirkin wrote: >> >> On Thu, Apr 12, 2018 at 1:18 PM, Mario Kleiner >> wrote: >>> >>> X11 Prime renderoffload is another unsolved problem with nouveau depth

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-12 Thread Mario Kleiner
On 04/12/2018 07:43 PM, Ilia Mirkin wrote: On Thu, Apr 12, 2018 at 1:18 PM, Mario Kleiner wrote: X11 Prime renderoffload is another unsolved problem with nouveau depth 30. Currently we get swapped red-blue with intel + nvidia. We could extend the buffer creation

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-12 Thread Ilia Mirkin
On Thu, Apr 12, 2018 at 1:18 PM, Mario Kleiner wrote: > X11 Prime renderoffload is another unsolved problem with nouveau depth 30. > Currently we get swapped red-blue with intel + nvidia. We could extend the > buffer creation code to convert nouveau's rgba format into

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-12 Thread Mario Kleiner
On 04/10/2018 06:49 PM, Ilia Mirkin wrote: On Tue, Apr 10, 2018 at 4:42 AM, Michel Dänzer wrote: On 2018-04-10 10:22 AM, Mario Kleiner wrote: On 04/09/2018 12:12 PM, Michel Dänzer wrote: On 2018-04-06 08:56 PM, Mario Kleiner wrote: I'm interested in the full xdpyinfo *at

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-10 Thread Ilia Mirkin
On Tue, Apr 10, 2018 at 4:42 AM, Michel Dänzer wrote: > On 2018-04-10 10:22 AM, Mario Kleiner wrote: >> On 04/09/2018 12:12 PM, Michel Dänzer wrote: >>> On 2018-04-06 08:56 PM, Mario Kleiner wrote: >>> >>> I'm interested in the full xdpyinfo *at screen depth 30*, in particular

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-10 Thread Michel Dänzer
On 2018-04-10 10:22 AM, Mario Kleiner wrote: > On 04/09/2018 12:12 PM, Michel Dänzer wrote: >> On 2018-04-06 08:56 PM, Mario Kleiner wrote: >> >> I'm interested in the full xdpyinfo *at screen depth 30*, in particular >> whether it lists only one variant of depth 30 visuals. If so, one >>

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-10 Thread Mario Kleiner
On 04/09/2018 12:12 PM, Michel Dänzer wrote: On 2018-04-06 08:56 PM, Mario Kleiner wrote: On 04/06/2018 06:41 PM, Michel Dänzer wrote: On 2018-04-06 06:18 PM, Mario Kleiner wrote: On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: On 2018-03-27 07:53 PM, Daniel Stone

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-09 Thread Michel Dänzer
On 2018-04-06 08:56 PM, Mario Kleiner wrote: > On 04/06/2018 06:41 PM, Michel Dänzer wrote: >> On 2018-04-06 06:18 PM, Mario Kleiner wrote: >>> On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer >>> wrote: On 2018-03-27 07:53 PM, Daniel Stone wrote: > On 12 March 2018 at

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-06 Thread Mario Kleiner
On 04/06/2018 06:41 PM, Michel Dänzer wrote: On 2018-04-06 06:18 PM, Mario Kleiner wrote: On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: On 2018-03-27 07:53 PM, Daniel Stone wrote: On 12 March 2018 at 20:45, Mario Kleiner wrote: We

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-06 Thread Michel Dänzer
On 2018-04-06 06:18 PM, Mario Kleiner wrote: > On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: >> On 2018-03-27 07:53 PM, Daniel Stone wrote: >>> On 12 March 2018 at 20:45, Mario Kleiner wrote: We need to distinguish if a backing pixmap

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-06 Thread Mario Kleiner
On Fri, Apr 6, 2018 at 12:01 PM, Michel Dänzer wrote: > On 2018-03-27 07:53 PM, Daniel Stone wrote: >> On 12 March 2018 at 20:45, Mario Kleiner wrote: >>> We need to distinguish if a backing pixmap of a window is >>> XRGB2101010 or XBGR2101010, as

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-04-06 Thread Michel Dänzer
On 2018-03-27 07:53 PM, Daniel Stone wrote: > On 12 March 2018 at 20:45, Mario Kleiner wrote: >> We need to distinguish if a backing pixmap of a window is >> XRGB2101010 or XBGR2101010, as different gpu hw supports >> different formats. NVidia hw prefers XBGR, whereas

Re: [Mesa-dev] [PATCH 3/3] egl/x11: Handle both depth 30 formats for eglCreateImage().

2018-03-27 Thread Daniel Stone
Hi Mario, On 12 March 2018 at 20:45, Mario Kleiner wrote: > We need to distinguish if a backing pixmap of a window is > XRGB2101010 or XBGR2101010, as different gpu hw supports > different formats. NVidia hw prefers XBGR, whereas AMD and > Intel are happy with XRGB. >