summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_driinfo.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_driinfo.h.in')
-rw-r--r--src/gallium/drivers/virgl/virgl_driinfo.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_driinfo.h.in b/src/gallium/drivers/virgl/virgl_driinfo.h.in
new file mode 100644
index 00000000000..626e21c3648
--- /dev/null
+++ b/src/gallium/drivers/virgl/virgl_driinfo.h.in
@@ -0,0 +1,11 @@
+// DriConf options specific to virgl
+// To add a new tweak:
+// 1. Define the tweak in util/xmlpool/t_options.h and also add
+// the tweak name as define to virgl_protocol.h
+// 2. Add the tweak here with the appropriated default value
+// 3. Add the code to query the tweak in virgl_create_screen
+// 4. Add the code to send the tweek to the host in virgl_send_tweaks
+// 5. Implement the tweak in virglrenderer
+DRI_CONF_SECTION_MISCELLANEOUS
+DRI_CONF_SECTION_END
+