summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2021-10-31 14:41:22 +0100
committerNiklas Haas <github-daiK1o@haasn.dev>2021-10-31 19:39:58 +0100
commitc82ffb667077cc9e03f82461e5f753c39d0c633d (patch)
tree8361807878c5eaaa1153d6b625c283180414ce9c /player
parent4a80de90d299ca4986945939e5b1bada057b26b3 (diff)
downloadmpv-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 'player')
0 files changed, 0 insertions, 0 deletions