[Mesa-dev] [PATCH 1/8] gallium: add get_driver_name to pipe_screen

Vadim Girlin vadimgirlin at gmail.com
Mon Apr 9 08:32:32 PDT 2012


Returned string will be used as the driver name for driconf lookup.

Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---
 src/gallium/include/pipe/p_screen.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index 45c441b..9467157 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -67,6 +67,7 @@ struct pipe_transfer;
 struct pipe_screen {
    void (*destroy)( struct pipe_screen * );
 
+   const char *(*get_driver_name)( struct pipe_screen * );
 
    const char *(*get_name)( struct pipe_screen * );
 
-- 
1.7.7.6



More information about the mesa-dev mailing list