f57e58809657e1bafbce16e362e7af5d10cfe529
[platform/upstream/mesa.git] / src / gallium / drivers / virgl / virgl_driinfo.h.in
1 // DriConf options specific to virgl
2 // To add a new tweak:
3 //   1. Define the tweak in util/driconf.h and also add
4 //      the tweak name as define to virgl_protocol.h
5 //   2. Add the tweak here with the appropriated default value
6 //   3. Add the code to query the tweak in virgl_create_screen
7 //   4. Add the code to send the tweak to the host in virgl_send_tweaks
8 //   5. Implement the tweak in virglrenderer
9 DRI_CONF_SECTION_MISCELLANEOUS
10     DRI_CONF_FORMAT_L8_SRGB_ENABLE_READBACK(false)
11     DRI_CONF_GLES_EMULATE_BGRA(true)
12     DRI_CONF_GLES_APPLY_BGRA_DEST_SWIZZLE(true)
13     DRI_CONF_GLES_SAMPLES_PASSED_VALUE(1024, 1, 400000000)
14 DRI_CONF_SECTION_END