Re: [PATCH v5 08/16] drm/vkms: Avoid computing blending limits inside pre_mul_alpha_blend

2024-04-08 Thread Louis Chauvet
Le 27/03/24 - 13:48, Pekka Paalanen a écrit : > On Tue, 26 Mar 2024 16:57:00 +0100 > Louis Chauvet wrote: > > > Le 25/03/24 - 14:41, Pekka Paalanen a écrit : > > > On Wed, 13 Mar 2024 18:45:02 +0100 > > > Louis Chauvet wrote: > > > > > > > The pre_mul_alpha_blend is dedicated to blending, so

Re: [PATCH v5 08/16] drm/vkms: Avoid computing blending limits inside pre_mul_alpha_blend

2024-03-27 Thread Pekka Paalanen
On Tue, 26 Mar 2024 16:57:00 +0100 Louis Chauvet wrote: > Le 25/03/24 - 14:41, Pekka Paalanen a écrit : > > On Wed, 13 Mar 2024 18:45:02 +0100 > > Louis Chauvet wrote: > > > > > The pre_mul_alpha_blend is dedicated to blending, so to avoid mixing > > > different concepts (coordinate calculati

Re: [PATCH v5 08/16] drm/vkms: Avoid computing blending limits inside pre_mul_alpha_blend

2024-03-26 Thread Louis Chauvet
Le 25/03/24 - 14:41, Pekka Paalanen a écrit : > On Wed, 13 Mar 2024 18:45:02 +0100 > Louis Chauvet wrote: > > > The pre_mul_alpha_blend is dedicated to blending, so to avoid mixing > > different concepts (coordinate calculation and color management), extract > > the x_limit and x_dst computation

Re: [PATCH v5 08/16] drm/vkms: Avoid computing blending limits inside pre_mul_alpha_blend

2024-03-25 Thread Pekka Paalanen
On Wed, 13 Mar 2024 18:45:02 +0100 Louis Chauvet wrote: > The pre_mul_alpha_blend is dedicated to blending, so to avoid mixing > different concepts (coordinate calculation and color management), extract > the x_limit and x_dst computation outside of this helper. > It also increases the maintainab

[PATCH v5 08/16] drm/vkms: Avoid computing blending limits inside pre_mul_alpha_blend

2024-03-13 Thread Louis Chauvet
The pre_mul_alpha_blend is dedicated to blending, so to avoid mixing different concepts (coordinate calculation and color management), extract the x_limit and x_dst computation outside of this helper. It also increases the maintainability by grouping the computation related to coordinates in the sa