summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-07-15 23:54:20 +0200
committerNiklas Haas <git@haasn.xyz>2017-07-15 23:54:20 +0200
commit8e20ef4292719233d4b249ab714433e845cf6da2 (patch)
tree9c720443b388fc7d7d5e770c7bcccbba91c65b16 /audio
parentb93bcce5df343de20096deb6d37e971bfa9a3072 (diff)
downloadmpv-8e20ef4292719233d4b249ab714433e845cf6da2.tar.bz2
mpv-8e20ef4292719233d4b249ab714433e845cf6da2.tar.xz
vo_opengl: update BufferData usage hints
STREAM is better than DYNAMIC because we're only using it once per frame. As for COPY vs DRAW, that was pretty much incorrect to begin with - but surprisngly, COPY is actually faster (sometimes significantly so, e.g. on my NUMA system). After testing, the best I can gather is that it has to do with the fact that COPY requires fewer redundant memcpy()s, and also 3x reduce RAM bandwidth (in theory). Anyway, that bit shouldn't introduce any regressions, it's just a documentation update. Maybe I'll change my mind about the comment again the future, it's really hard to tell. Vulkan, please save us!
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions