Lionel Ulmer wrote:
Hi all,
This patch should not be dependant of any others... But to prevent line number errors, better to commit it after the 5 -> 9 series (yeah, the attachements are numbered to ease tracking :-) ).
Changelog:
start of support for device locking / unlocking via glReadPixels / glDrawPixels interface (slow but should be enough for a start)
implement one vertex case for the D3D3/7 DrawPrimitive functions
fix a missing \n in a TRACE call
Lionel
This patch breaks the TWIST demo that was working fine. I think the changes in d3ddevice_create are responsible of that.
This patch breaks the TWIST demo that was working fine. I think the changes in d3ddevice_create are responsible of that.
Strange, it works fine here.. A bit slow when statistics are displayed (due to the locking of the D3DEVICE surface and thus needing a slow GL call like glReadPixels / glDrawPixels) but as fast as before when disabling them.
But well, my tree has patches up to number 13 so maybe I broke something that was fixed later on (although I wonder what).
Do you have more precise debug output ?
Lionel
Lionel Ulmer wrote:
This patch breaks the TWIST demo that was working fine. I think the changes in d3ddevice_create are responsible of that.
Strange, it works fine here.. A bit slow when statistics are displayed (due to the locking of the D3DEVICE surface and thus needing a slow GL call like glReadPixels / glDrawPixels) but as fast as before when disabling them.
But well, my tree has patches up to number 13 so maybe I broke something that was fixed later on (although I wonder what).
I applied your next patches (until 13) and it has been fixed. Cool... :-) Statistics are not displayed for me and the 565 texture format looks strange. But appart from that it's fine. Thanks.