diff options
author | Adam Jackson <ajax@redhat.com> | 2018-05-15 12:55:55 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-05-17 12:03:33 -0400 |
commit | 707f50e680ab4f1861b1e54ca6e2907aaca56c12 (patch) | |
tree | 8f0872d826159920de6e0299c8cfe88c7f0d01f4 /meson.build | |
parent | c00c889e625164fc9507f84e57f40c9962e650bb (diff) | |
download | libepoxy-707f50e680ab4f1861b1e54ca6e2907aaca56c12.tar.gz |
dispatch: Try harder to avoid calling the resolver1.5.2
Our caller may load (eg) epoxy_glAlphaFunc, which is a function pointer,
and then call through that value multiple times. Until the caller
re-examines the value of that function pointer, which is a copy
relocation in the executable, repeated calls mean repeated work
resolving the GL function.
We can't make the caller reinspect the variable, but the resolver
function can avoid doing redundant work.
Fixes: anholt/libepoxy#171
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions