Module: wine
Branch: master
Commit: 422d71f630c8f90ca280494eaef8fda7674d1c77
URL: http://source.winehq.org/git/wine.git/?a=commit;h=422d71f630c8f90ca280494ea…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com>
Date: Wed Jul 2 20:08:10 2008 -0700
wined3d: Fix a deadlock that may occur during initialization.
---
dlls/wined3d/directx.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index acb147e..8811d0a 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -770,6 +770,9 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
}
}
}
+
+ LEAVE_GL();
+
/* Now work out what GL support this card really has */
#define USE_GL_FUNC(type, pfn, ext, replace) { \
DWORD ver = ver_for_ext(ext); \
@@ -784,6 +787,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
WGL_EXT_FUNCS_GEN;
#undef USE_GL_FUNC
+ ENTER_GL();
/* Now mark all the extensions supported which are included in the opengl core version. Do this *after*
* loading the functions, otherwise the code above will load the extension entry points instead of the
* core functions, which may not work
Module: wine
Branch: master
Commit: 4f77c29bcf58a88cea8fb833f770aa107960b34e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4f77c29bcf58a88cea8fb833f…
Author: H. Verbeet <hverbeet(a)gmail.com>
Date: Wed Jul 2 23:00:41 2008 +0200
wined3d: Track depth stencil location per-surface.
This gets rid of depth_copy_state in the device, and instead tracks
the most up to date location per-surface. This makes things a lot
easier to follow, and allows us to make a copy when switching depth
stencils in SetDepthStencilSurface().
---
dlls/wined3d/context.c | 3 -
dlls/wined3d/device.c | 47 ++++++++-----
dlls/wined3d/drawprim.c | 86 ++----------------------
dlls/wined3d/surface.c | 124 ++++++++++++++++++++++++++++++++++
dlls/wined3d/wined3d_private.h | 76 ++++++++++++---------
dlls/wined3d/wined3d_private_types.h | 7 --
6 files changed, 199 insertions(+), 144 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=4f77c29bcf58a88cea8fb…