summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/basetexture9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-05-08 16:54:53 +0200
committerAxel Davy <[email protected]>2015-08-21 22:21:46 +0200
commitc57f777b095fbbb6273fccfe7ea2d1ced5fbc0a4 (patch)
treeca1ef1707fcc09b77129b431bae2e7342e89ac6e /src/gallium/state_trackers/nine/basetexture9.h
parent4c126f0b5837227d93e481fb04e43c96b3316413 (diff)
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 <[email protected]>
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 9489824299f..b19a62195fc 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,