=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11: Implement d3d11_query_GetDataSize().
Alexandre Julliard
julliard at winehq.org
Wed Jul 6 09:57:31 CDT 2016
Module: wine
Branch: master
Commit: 7a756ad1b4ba639265cb8dac3d02fe285b979236
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a756ad1b4ba639265cb8dac3d02fe285b979236
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Wed Jul 6 12:02:32 2016 +0200
d3d11: Implement d3d11_query_GetDataSize().
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d11/async.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d11/async.c b/dlls/d3d11/async.c
index f91a053..38c8a28 100644
--- a/dlls/d3d11/async.c
+++ b/dlls/d3d11/async.c
@@ -136,9 +136,16 @@ static HRESULT STDMETHODCALLTYPE d3d11_query_SetPrivateDataInterface(ID3D11Query
static UINT STDMETHODCALLTYPE d3d11_query_GetDataSize(ID3D11Query *iface)
{
- FIXME("iface %p stub!\n", iface);
+ struct d3d_query *query = impl_from_ID3D11Query(iface);
+ unsigned int data_size;
- return 0;
+ TRACE("iface %p.\n", iface);
+
+ wined3d_mutex_lock();
+ data_size = wined3d_query_get_data_size(query->wined3d_query);
+ wined3d_mutex_unlock();
+
+ return data_size;
}
static void STDMETHODCALLTYPE d3d11_query_GetDesc(ID3D11Query *iface, D3D11_QUERY_DESC *desc)
More information about the wine-cvs
mailing list