• Stefan Dösinger's avatar
    d3d9: Rework the converted vertex declaration management. · 725f4bfe
    Stefan Dösinger authored
    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
    725f4bfe
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
basetexture.c Loading commit data...
cubetexture.c Loading commit data...
d3d9.spec Loading commit data...
d3d9_main.c Loading commit data...
d3d9_private.h Loading commit data...
device.c Loading commit data...
directx.c Loading commit data...
indexbuffer.c Loading commit data...
pixelshader.c Loading commit data...
query.c Loading commit data...
resource.c Loading commit data...
stateblock.c Loading commit data...
surface.c Loading commit data...
swapchain.c Loading commit data...
texture.c Loading commit data...
version.rc Loading commit data...
vertexbuffer.c Loading commit data...
vertexdeclaration.c Loading commit data...
vertexshader.c Loading commit data...
volume.c Loading commit data...
volumetexture.c Loading commit data...