Henri Verbeet : wined3d: Explicitly document some more consequences of GL locking policy.

Alexandre Julliard julliard at winehq.org
Fri Sep 3 10:07:08 CDT 2010


Module: wine
Branch: master
Commit: bc2db78c3a659986d2f5e2b8e503ab5267cdf29c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bc2db78c3a659986d2f5e2b8e503ab5267cdf29c

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Sep  2 19:25:00 2010 +0200

wined3d: Explicitly document some more consequences of GL locking policy.

The basic rule is that you can't call anything that takes the user32 / gdi32
lock while under the GL (winex11) lock. As a consequence, you can't call
anything like context_acquire() or context_destroy() either.

---

 dlls/wined3d/buffer.c         |    3 ++
 dlls/wined3d/context.c        |   54 +++++-----------------------------------
 dlls/wined3d/cubetexture.c    |    4 +++
 dlls/wined3d/device.c         |    8 +++++-
 dlls/wined3d/directx.c        |    3 ++
 dlls/wined3d/shader.c         |    3 ++
 dlls/wined3d/surface.c        |    3 ++
 dlls/wined3d/swapchain.c      |    4 ++-
 dlls/wined3d/swapchain_base.c |    4 ++-
 dlls/wined3d/texture.c        |    4 +++
 dlls/wined3d/volume.c         |    3 ++
 dlls/wined3d/volumetexture.c  |    3 ++
 dlls/wined3d/wined3d_main.c   |    1 +
 13 files changed, 47 insertions(+), 50 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=bc2db78c3a659986d2f5e2b8e503ab5267cdf29c



More information about the wine-cvs mailing list