summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared/stw_tls.c
AgeCommit message (Collapse)Author
2009-09-23wgl: Flatten the source tree.José Fonseca
It is easier to have the WGL API on top of the ICD callbacks as Microsoft's own implementation does, than to have a seperate shared entity. This source reorganization is in antecipation of that.
2009-06-18wgl: Move all thread related code together.José Fonseca
Not only for cosmetic reasons, but also because we need to set the SetWindowsHookEx hook for threads created before the DllMain is called (threads for each we don't get the DLL_THREAD_ATTACH notification).
2009-05-30wgl: Use the right pixel format.José Fonseca
There is no current pixel format. Each HDC has its pixelformat which is kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions. Now the HDC's pixelformat is kept in the stw_framebuffer, which is created during the SetPixelFormat.
2009-04-27wgl: Cope with pre-existing threads.José Fonseca
DllMain is called with DLL_THREAD_ATTACH only by threads created after the DLL is loaded by the process.
2009-03-20stw: Keep per-thread storage for current context and pixel format.Michal Krol