Re: [Mesa-dev] [PATCH 1/3] mesa: add xbgr support adjacent to xrgb

2018-02-09 Thread Ilia Mirkin
On Tue, Feb 6, 2018 at 12:05 AM, Ilia Mirkin wrote: > On Mon, Feb 5, 2018 at 6:42 AM, Ilia Mirkin wrote: >> On Mon, Feb 5, 2018 at 6:24 AM, Daniel Stone wrote: >>> Hi Ilia, >>> >>> On 4 February 2018 at 19:09, Ilia Mirkin wrote: One might have split this up into multiple patches, but it's

Re: [Mesa-dev] [PATCH 1/3] mesa: add xbgr support adjacent to xrgb

2018-02-05 Thread Ilia Mirkin
On Mon, Feb 5, 2018 at 6:42 AM, Ilia Mirkin wrote: > On Mon, Feb 5, 2018 at 6:24 AM, Daniel Stone wrote: >> Hi Ilia, >> >> On 4 February 2018 at 19:09, Ilia Mirkin wrote: >>> One might have split this up into multiple patches, but it's just very >>> repetitive and similar code. >> >> You probabl

Re: [Mesa-dev] [PATCH 1/3] mesa: add xbgr support adjacent to xrgb

2018-02-05 Thread Ilia Mirkin
On Mon, Feb 5, 2018 at 6:24 AM, Daniel Stone wrote: > Hi Ilia, > > On 4 February 2018 at 19:09, Ilia Mirkin wrote: >> One might have split this up into multiple patches, but it's just very >> repetitive and similar code. > > You probably want to add this into gbm_to_dri_image_formats[] inside > s

Re: [Mesa-dev] [PATCH 1/3] mesa: add xbgr support adjacent to xrgb

2018-02-05 Thread Daniel Stone
Hi Ilia, On 4 February 2018 at 19:09, Ilia Mirkin wrote: > One might have split this up into multiple patches, but it's just very > repetitive and similar code. You probably want to add this into gbm_to_dri_image_formats[] inside src/gbm/backends/dri/gbm_dri.c, so Wayland compositors running on

[Mesa-dev] [PATCH 1/3] mesa: add xbgr support adjacent to xrgb

2018-02-04 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- One might have split this up into multiple patches, but it's just very repetitive and similar code. include/GL/internal/dri_interface.h | 2 ++ src/gallium/state_trackers/dri/dri2.c | 36 +++ src/gallium/state_trackers/dr