mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 07:15:09 +00:00
725f4bfeb1
Instead of creating a converted declaration each time SetFVF is called, exactly one declaration is created for each FVF(on demand) and stored for the lifetime of the device. This avoids memory leaks and makes keeping track of converted declarations easier. Wether a declaration is converted from a fvf or not is now a static information inside the declaration. Those declarations are not destroyed in VertexDeclaration::Release, they stay for the lifetime of the device. This keeps us free from tracking the declaration through stateblocks |
||
---|---|---|
.. | ||
tests | ||
basetexture.c | ||
cubetexture.c | ||
d3d9.spec | ||
d3d9_main.c | ||
d3d9_private.h | ||
device.c | ||
directx.c | ||
indexbuffer.c | ||
Makefile.in | ||
pixelshader.c | ||
query.c | ||
resource.c | ||
stateblock.c | ||
surface.c | ||
swapchain.c | ||
texture.c | ||
version.rc | ||
vertexbuffer.c | ||
vertexdeclaration.c | ||
vertexshader.c | ||
volume.c | ||
volumetexture.c |