summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/basetexture9.h
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2015-05-08 16:54:53 +0200
committerAxel Davy <axel.davy@ens.fr>2015-08-21 22:21:46 +0200
commitc57f777b095fbbb6273fccfe7ea2d1ced5fbc0a4 (patch)
treeca1ef1707fcc09b77129b431bae2e7342e89ac6e /src/gallium/state_trackers/nine/basetexture9.h
parent4c126f0b5837227d93e481fb04e43c96b3316413 (diff)
downloadexternal_mesa3d-c57f777b095fbbb6273fccfe7ea2d1ced5fbc0a4.zip
external_mesa3d-c57f777b095fbbb6273fccfe7ea2d1ced5fbc0a4.tar.gz
external_mesa3d-c57f777b095fbbb6273fccfe7ea2d1ced5fbc0a4.tar.bz2
st/nine: Implement EvictManagedResources
EvictManagedResources is used by apps to free the gpu memory of MANAGED textures (which have a cpu memory backing) Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/gallium/state_trackers/nine/basetexture9.h')
-rw-r--r--src/gallium/state_trackers/nine/basetexture9.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/basetexture9.h b/src/gallium/state_trackers/nine/basetexture9.h
index 9489824..b19a621 100644
--- a/src/gallium/state_trackers/nine/basetexture9.h
+++ b/src/gallium/state_trackers/nine/basetexture9.h
@@ -95,6 +95,9 @@ NineBaseTexture9_GenerateMipSubLevels( struct NineBaseTexture9 *This );
void WINAPI
NineBaseTexture9_PreLoad( struct NineBaseTexture9 *This );
+void
+NineBaseTexture9_UnLoad( struct NineBaseTexture9 *This );
+
/* For D3DPOOL_MANAGED only (after SetLOD change): */
HRESULT
NineBaseTexture9_CreatePipeResource( struct NineBaseTexture9 *This,