summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared/stw_device.c
AgeCommit message (Collapse)Author
2009-07-06wgl: Make the stw_framebuffer destructions threadsafe.José Fonseca
Ensure no other thread is accessing a framebuffer when it is being destroyed by acquiring both the global and per-framebuffer mutexes. Normal access only needs the global lock to walk the linked list and acquire the per-framebuffer mutex.
2009-06-24wgl: Handle flush after a window is destroyed.José Fonseca
Fixes assertion failure with conform.
2009-06-18wgl: Fix window resizing in multithread applications.José Fonseca
In multithreading stw_call_window_proc can be called by a thread other than the thread where the context is bound.
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-05-30wgl: Rename function.José Fonseca
2009-04-09wgl: Use more stw_* names.José Fonseca
2009-04-09wgl: Use hooks instead of subclassing the window.José Fonseca
Subclassing the window is invasive: we might call an old window proc even after it was removed. Glut and another bug just in the wrong time was provoking this. Hooks don't have this problem.
2009-04-09wgl: Move the framebuffer list to the device. Avoid recursive locking.José Fonseca
2009-04-09stw: Normalize symbols prefix.José Fonseca
2009-04-08wgl: Integrate the trace driver on debug builds.José Fonseca
2009-03-25wgl: Use right integer type.José Fonseca
2009-03-20stw: Use u_handle_table to maintain context list.Michal Krol
2009-03-20stw: Keep per-thread storage for current context and pixel format.Michal Krol
2009-02-23wgl: Enable the use of Win32 threads.José Fonseca
2009-02-19wgl: debug_printf in the main entry/exit pointsJosé Fonseca
2009-02-19wgl: Call pipe_screen::destroy on exit.José Fonseca
2009-02-19wgl: Share more code between icd and standalone driver.José Fonseca
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-18wgl: Report memory leaks.José Fonseca
2009-02-02Merge branch 'gallium-wgl-rework' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/state_trackers/wgl/shared/stw_public.h
2009-01-28wgl: split device structs, move swapbuffers to sharedKeith Whitwell
Each of icd, shared and wgl now have the opportunity to maintain their own per-device structs, which should reduce the need for these modules to be looking into each others structures.
2009-01-28wgl: split into shared, (fake)wgl and icd directoriesKeith Whitwell