diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-22 20:53:27 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-07 04:32:32 -0300 |
commit | dc27252352a27f466c65e9008b3d56a2540ce224 (patch) | |
tree | 25d4004efe1b838e80a7892c86586235aa744bee /src/input_common/udp/udp.cpp | |
parent | 03fd5aa3849b6bb5c9e7e17c5d41eefec84db22d (diff) |
shader_cache: Implement a generic shader cache
Implement a generic shader cache for fast lookups and invalidations.
Invalidations are cheap but expensive when a shader is invalidated.
Use two mutexes instead of one to avoid locking invalidations for
lookups and vice versa. When a shader has to be removed, lookups are
locked as expected.
Diffstat (limited to 'src/input_common/udp/udp.cpp')
0 files changed, 0 insertions, 0 deletions