summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLouis Chauvet <louis.chauvet@bootlin.com>2024-11-18 21:28:21 +0300
committerLouis Chauvet <louis.chauvet@bootlin.com>2024-11-22 16:00:07 +0300
commitcb6de83faa9049bf40e7dc6821d903016bec2337 (patch)
tree82b5770c216230ef4819c60e33675ff7a4e4ea95 /tools/perf/scripts/python/stackcollapse.py
parentd6dc39e495678d54a8125e1ae08b3ca35c306426 (diff)
downloadlinux-cb6de83faa9049bf40e7dc6821d903016bec2337.tar.xz
drm/vkms: Avoid computing blending limits inside pre_mul_alpha_blend
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 same place: the loop in `blend`. Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com> Reviewed-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241118-yuv-v14-6-2dbc2f1e222c@bootlin.com Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions