From 4be98ed5fd23e42c19a20b322a0207326f834c64 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 20 Feb 2017 09:29:01 +1100 Subject: gallium: add get_disk_shader_cache() callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V2: Provide more detail in callback description and add description to screen.rst Reviewed-by: Nicolai Hähnle --- src/gallium/docs/source/screen.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gallium/docs') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 74c8ceca20f..858eb9f9100 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -763,6 +763,16 @@ The driver-specific query group is described with the pipe_driver_query_group_info structure. + +get_disk_shader_cache +^^^^^^^^^^^^^^^^^^^^^ + +Returns a pointer to a driver-specific on-disk shader cache. If the driver +failed to create the cache or does not support an on-disk shader cache NULL is +returned. The callback itself may also be NULL if the driver doesn't support +an on-disk shader cache. + + Thread safety ------------- -- cgit v1.2.3