summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_driinfo.h.in
blob: cbb0bc5a77b35fd2965a4cfd6c435c97e7013c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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_GLES_EMULATE_BGRA("false")
    DRI_CONF_GLES_APPLY_BGRA_DEST_SWIZZLE("false")
    DRI_CONF_GLES_SAMPLES_PASSED_VALUE(int, 1024, "1:400000000")
DRI_CONF_SECTION_END