Christoph Bumiller написал Direct3D 9 state tracker и предоставил патчи в расылку месы.
Некоторые люди вспомнят что в месе уже был d3d1x стей трекер, который не так давно выкинули оттуда - он был не поддерживаемый и без полезный. Но текущий стей трекер имеет преимущества, говорит автор:
- the original author has not vanished [yet] (Luca, if you can hear me:
You cannot leave your children out to die like that !)
- it's written in C instead of C++ and not relying on horrific multiple
inheritance with templates hacks to make gcc generate COM-compatible
vtables (and I'm still not sure if that actually worked)
- gallium wasn't ready for D3D11, and still isn't (at least the pipe
drivers aren't), but it is ready for D3D9, and all the features required
from the pipe drivers are well tested via OpenGL
- there are no motivating applications using Direct3D 10/11 yet (at
least for me)
- and most importantly, contrary to d3d1x, d3d9/st already actually
works for real applications !
По поводу последнего пункта, сам автор говорит вот что:
So far I've tried Skyrim, Civilization 5, Anno 1404 and StarCraft 2 on
the nvc0 and r600g drivers, which work pretty well, at up to x2 the fps
I get with wined3d (NOTE: no thorough benchmarking done yet).
Civilization 4 works, too, but it still has a couple of (not too severe)
rendering issues because I didn't pay much attention to the fixed
function pipeline and its interaction with the earlier shader versions yet.
Для желающих попробывать:
Линк на бранч месы с сабжевым стей трекером.
https://github.com/chrisbmr/Mesa-3D/tree/gallium-nine
Патченная версия месы
https://github.com/chrisbmr/wine/tree/d3dadapter9-wip
(The wine modifications only affect { d3d9.dll.so, gdi32.dll.so,
user32.dll.so, wineps.drv.so and winex11.drv.so }, so you don't have to
replace all of it).
Описалово от автора
https://github.com/chrisbmr/Mesa-3D/blob/gallium-nine/src/gallium/state_track...
Сообщение в расылке
http://lists.freedesktop.org/archives/mesa-dev/2013-July/041900.html
Новость на форониксе
http://www.phoronix.com/scan.php?page=news_item&px=MTQxMjk
Сылка на фотки котиков
https://www.google.ru/search?q=котики&newwindow=1&client=firefox-a&am...