Re: [PATCH v14 18/41] compositor-drm: Make alpha-to-opaque handling common

2018-01-23 Thread Pekka Paalanen
On Wed, 20 Dec 2017 12:26:35 + Daniel Stone wrote: > Rather than a hardcoded ARGB -> XRGB translation inside a > GBM-specific helper, just determine whether or not the view is opaque, > and use the generic helpers to implement the format translation. > > Signed-off-by: Daniel Stone

[PATCH v14 18/41] compositor-drm: Make alpha-to-opaque handling common

2017-12-20 Thread Daniel Stone
Rather than a hardcoded ARGB -> XRGB translation inside a GBM-specific helper, just determine whether or not the view is opaque, and use the generic helpers to implement the format translation. Signed-off-by: Daniel Stone --- libweston/compositor-drm.c | 111 +