H. Verbeet : wined3d: Track FBOs per-context.

Alexandre Julliard julliard at winehq.org
Fri Aug 22 04:43:44 CDT 2008


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Thu Aug 21 18:34:55 2008 +0200

wined3d: Track FBOs per-context.

Although sharing FBOs across contexts is allowed by EXT_framebuffer_object
(issue 76), it causes issues with nVidia drivers. Considering the GL 3 spec
explicitly disallows sharing of FBOs accross contexts (Appendix D), this
patch is probably the right thing to do.

---

 dlls/wined3d/context.c         |   28 ++++++++++-
 dlls/wined3d/device.c          |  102 ++++++++++++----------------------------
 dlls/wined3d/surface.c         |    6 +-
 dlls/wined3d/wined3d_private.h |   13 +++--
 4 files changed, 67 insertions(+), 82 deletions(-)

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



More information about the wine-cvs mailing list