diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-15 23:54:20 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-15 23:54:20 +0200 |
commit | 8e20ef4292719233d4b249ab714433e845cf6da2 (patch) | |
tree | 9c720443b388fc7d7d5e770c7bcccbba91c65b16 /osdep/macosx_events.m | |
parent | b93bcce5df343de20096deb6d37e971bfa9a3072 (diff) | |
download | mpv-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 'osdep/macosx_events.m')
0 files changed, 0 insertions, 0 deletions