st/nine: Change a few advertised caps
authorAxel Davy <davyaxel0@gmail.com>
Mon, 4 Feb 2019 23:11:46 +0000 (00:11 +0100)
committerAxel Davy <davyaxel0@gmail.com>
Sat, 9 Mar 2019 12:57:49 +0000 (13:57 +0100)
commit597b5e27fa6d1662e01751aae7fde65896f7c8ef
treebe81dc79ca933229a928c3d5e4b5e3cb9def18ce
parent0d3c37e2f9f03dfb7349e380c425a0956182488f
st/nine: Change a few advertised caps

Most hw on the native platform advertise these
caps this way.

D3DCAPS_READ_SCANLINE: We don't really have hardware
support for that, but many games don't even check the
flag, and expect GetRasterStatus to work, which is
why we emulated it with a timer (like wine). So we
may as well advertise the cap.
D3DCURSORCAPS_LOWRES: I don't know what is the status
of this on X11, but I don't know of any dx9 game
running at height < 400 either.
D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE: The cap should
correspond to what the current generation of hw is doing.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
include/D3D9/d3d9caps.h
src/gallium/state_trackers/nine/adapter9.c