summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-17 10:45:01 +0200
committerwm4 <wm4@nowhere>2016-05-17 10:45:01 +0200
commitf00040b9fcc1be42963c70cd772da2360f3d9585 (patch)
treeda9655a29e78673db28bc55d5840794001e2ead9 /ta
parent09763bef834785a0b3bfd7889daba4a5a54fde49 (diff)
downloadmpv-f00040b9fcc1be42963c70cd772da2360f3d9585.tar.bz2
mpv-f00040b9fcc1be42963c70cd772da2360f3d9585.tar.xz
vo_opengl: make number of cached shaders/uniform dynamic
Use dynamic memory allocation, as the static allocation is starting to get annoying. Currently, SC_MAX_ENTRIES is essentially still a static upper limit on the number of shaders. But in future we could try a more clever cache replacement strategy, which does not keep stale entries forever if the maximum happens not to be reached.
Diffstat (limited to 'ta')
0 files changed, 0 insertions, 0 deletions