diff options
author | Eric Anholt <eric@anholt.net> | 2014-03-19 14:18:26 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-28 16:45:26 -0700 |
commit | 3e09de7550cd901b8d3ecbf27e0128f0dc0f0b99 (patch) | |
tree | 07a11826a31ddba7a89b37e2de98def1859bbadb /README.md | |
parent | 370c49d5cdd8060ea2fee1e777311f86b495aa94 (diff) | |
download | libepoxy-3e09de7550cd901b8d3ecbf27e0128f0dc0f0b99.tar.gz |
win32: Delay using dispatch tables until the second MakeCurrent.
Fixes #11.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -120,12 +120,6 @@ epoxy (in a way that might change the device or pixel format), then epoxy needs to be notified of the change using the ```epoxy_handle_external_wglMakeCurrent()``` function. -The win32 dispatch layer is currently slower than it should be in the -single-context (or multi-context, but same device and pixel format) -case. We need to switch to using the linux-like function pointer -stubs, and detect when transitioning to multi-device/format and hook -in the per-thread dispatch table at that point. - -The win32 wglMakeCurrent () variants are slower than they should be, +The win32 wglMakeCurrent() variants are slower than they should be, because they should be caching the resolved dispatch tables instead of resetting an entire thread-local dispatch table every time. |