diff options
author | Niklas Haas <git@haasn.dev> | 2021-10-31 14:41:22 +0100 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2021-10-31 19:39:58 +0100 |
commit | c82ffb667077cc9e03f82461e5f753c39d0c633d (patch) | |
tree | 8361807878c5eaaa1153d6b625c283180414ce9c /video/image_loader.c | |
parent | 4a80de90d299ca4986945939e5b1bada057b26b3 (diff) | |
download | mpv-c82ffb667077cc9e03f82461e5f753c39d0c633d.tar.bz2 mpv-c82ffb667077cc9e03f82461e5f753c39d0c633d.tar.xz |
vo_gpu: libplacebo: simplify tex transfers for libplacebo 168+
Upstream libplacebo got refactored to use byte-sized strides rather than
texel-sized strides. This commit makes mpv's ra_pl wrapper take
advantage of that, rather than forcing a stride-fixing memcpy.
Note that, technically, we would still need a stride fixing memcpy in
cases when the true stride is not a multiple of the format's texel
*alignment*, however this is a much rarer case and extremely unlikely to
occur in practice, since all relevant formats use power-of-two texel
alignments.
Diffstat (limited to 'video/image_loader.c')
0 files changed, 0 insertions, 0 deletions