summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_winsys.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-23 18:30:27 +0000
committerJosé Fonseca <[email protected]>2011-03-09 13:34:21 +0000
commit830827229141c08411c521f81283d1ad62f37163 (patch)
treee0c8edfd9febb8ea0ab568bc53a0ac0def957eb6 /src/gallium/drivers/svga/svga_winsys.h
parentd5249b7d89a12490335750eda01309e36c7d80cb (diff)
svga: Add a new winsys entry point to query the hw version.
Diffstat (limited to 'src/gallium/drivers/svga/svga_winsys.h')
-rw-r--r--src/gallium/drivers/svga/svga_winsys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h
index 5e4bdeff2ee..269659ed4c4 100644
--- a/src/gallium/drivers/svga/svga_winsys.h
+++ b/src/gallium/drivers/svga/svga_winsys.h
@@ -136,6 +136,9 @@ struct svga_winsys_screen
void
(*destroy)(struct svga_winsys_screen *sws);
+ SVGA3dHardwareVersion
+ (*get_hw_version)(struct svga_winsys_screen *sws);
+
boolean
(*get_cap)(struct svga_winsys_screen *sws,
SVGA3dDevCapIndex index,