Am 23.03.2014 um 04:18 schrieb Markus Weiland mw@graph-ix.net:
This patch addresses bug http://bugs.winehq.org/show_bug.cgi?id=11114 I filed four years ago. It hardcodes the b3DAccelerationExists, b3DAccelerationEnabled, and bDDAccelerationEnabled properties to TRUE.
IDirect3D9::GetDeviceCaps with D3DDEVTYPE_HAL should do. If the call suceeds you have hardware acceleration.
Is this implementation ok?
On 14-03-23 07:20 PM, Stefan Dösinger wrote:
Am 23.03.2014 um 04:18 schrieb Markus Weiland mw@graph-ix.net:
This patch addresses bug http://bugs.winehq.org/show_bug.cgi?id=11114 I filed four years ago. It hardcodes the b3DAccelerationExists, b3DAccelerationEnabled, and bDDAccelerationEnabled properties to TRUE.
IDirect3D9::GetDeviceCaps with D3DDEVTYPE_HAL should do. If the call suceeds you have hardware acceleration.
Markus Weiland mw@graph-ix.net wrote:
BOOL hardware_accel;
Shouldn't this be VARIANT_BOOL and take appropriate value? Also, patches should be sent to wine-patches.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-03-24 02:24, schrieb Markus Weiland:
Is this implementation ok?
Looks good to me.
I guess there's a difference between those 3 flags and I guess at least bDDAccelerationEnabled should be queried from ddraw, but I think your patch is a reasonable first step.