summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-02-01 21:56:50 +0100
committerMarek Olšák <marek.olsak@amd.com>2016-02-05 17:29:38 +0100
commitd2e4c9e7371c108a7655f78ae77f55ced812aba8 (patch)
tree6aa0a1ed003b03bceeab7af09a85c275b1594709 /src/gallium/drivers/softpipe
parentc577f2843a0341be1091c0eec81704772e667786 (diff)
downloadexternal_mesa3d-d2e4c9e7371c108a7655f78ae77f55ced812aba8.zip
external_mesa3d-d2e4c9e7371c108a7655f78ae77f55ced812aba8.tar.gz
external_mesa3d-d2e4c9e7371c108a7655f78ae77f55ced812aba8.tar.bz2
gallium: add interface for querying memory usage and sizes (v2)
If you're worried about the duplication of some CAPs, we can remove them later. v2: add fields for memory eviction stats Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 1738cae..097ffe6 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -265,6 +265,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_STRING_MARKER:
case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS:
case PIPE_CAP_QUERY_BUFFER_OBJECT:
+ case PIPE_CAP_QUERY_MEMORY_INFO:
return 0;
}
/* should only get here on unhandled cases */