diff options
author | Patrick Rudolph <[email protected]> | 2015-09-30 16:42:10 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-02-04 22:12:17 +0100 |
commit | 1a893ac8869a0be08582f3b224d1a92ff37fc400 (patch) | |
tree | 6912bfddcb4c3f75a5b7343fd46dc1738d496ca5 /src/mesa/drivers/dri | |
parent | a961ec335d5f38c07181e4956341c9b4cca59fa4 (diff) |
st/nine: Implement NineDevice9_GetAvailableTextureMem
Implement a device private memory counter similar to Win 7.
Only textures and surfaces increment vidmem and may return
ERR_OUTOFVIDEOMEMORY. Vertexbuffers and indexbuffers creation always
succeedes, even when out of video memory.
Fixes "Vampire: The Masquerade - Bloodlines" allocating resources until crash.
Fixes "Age of Conan" allocating resources until crash.
Fixes failing WINE test device.c test_vidmem_accounting().
Signed-off-by: Patrick Rudolph <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
0 files changed, 0 insertions, 0 deletions