[dx9-17] More code!

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Wed Dec 8 17:26:09 CST 2004


This patch adds in support for getting and setting viewports, index data
streams, and the very basics of drawing.

Note it has a lot of todo's in it because I have copied across the drawprim
code as-is and #ifdeffed out the code which is vertex or pixel shader, or
texture related. All of which needs to go back in eventually.

BTW The drawing code is untested until the EndScene and Present functions
are done. Most of the code left to do is either textures, shaders, or render
target related, plus the render state + initial setup code. Render targets
is what I am trying to aim towards as so much of the code needs to know
something about the front and back buffer. Note none of this impacts d3d8.

Changelog

Add {G,S}etIndices, {G,S}Viewport and enable the basic drawing functionality
into wined3d and call from d3d9.

Jason

Note this adds a new file, drawprim.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx9.17.patch
Type: application/octet-stream
Size: 102014 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041208/3438158c/dx9.17.obj


More information about the wine-patches mailing list