Henri Verbeet : wined3d: Don' t free D3D swapchains until the wined3d swapchain is destroyed.
Alexandre Julliard
julliard at winehq.org
Fri Apr 8 10:51:00 CDT 2011
Module: wine
Branch: master
Commit: dd2c7d0d8c61ab226789b860990095ff91c608fb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dd2c7d0d8c61ab226789b860990095ff91c608fb
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Apr 7 18:46:01 2011 +0200
wined3d: Don't free D3D swapchains until the wined3d swapchain is destroyed.
This will allow us the get rid of the swapchain refcounting hacks in d3d9 in
particular. This is similar to the way we handle resources that are still in
use by a stateblock, but aren't referenced anywhere by the application.
---
dlls/d3d8/swapchain.c | 31 +++++++++++++++++++++++++++----
dlls/d3d9/swapchain.c | 28 ++++++++++++++++++++++++----
dlls/ddraw/ddraw.c | 2 +-
dlls/dxgi/swapchain.c | 18 +++++++++++++++---
dlls/wined3d/device.c | 4 ++--
dlls/wined3d/swapchain.c | 5 ++++-
dlls/wined3d/wined3d_private.h | 4 +++-
include/wine/wined3d.idl | 1 +
8 files changed, 77 insertions(+), 16 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=dd2c7d0d8c61ab226789b860990095ff91c608fb
More information about the wine-cvs
mailing list