aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-22 20:53:27 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-06-07 04:32:32 -0300
commitdac859136866889dc208e32fafbf26430fbc90ab (patch)
tree25d4004efe1b838e80a7892c86586235aa744bee /src/video_core/buffer_cache/buffer_cache.h
parent2e71d38064e06cec4573562836824a1b518420fc (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/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions