mesa/src/gallium/drivers/virgl/virgl_driinfo.h.in

15 lines
659 B
C

// DriConf options specific to virgl
// To add a new tweak:
// 1. Define the tweak in util/driconf.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 tweak to the host in virgl_send_tweaks
// 5. Implement the tweak in virglrenderer
DRI_CONF_SECTION_MISCELLANEOUS
DRI_CONF_FORMAT_L8_SRGB_ENABLE_READBACK(false)
DRI_CONF_GLES_EMULATE_BGRA(true)
DRI_CONF_GLES_APPLY_BGRA_DEST_SWIZZLE(true)
DRI_CONF_GLES_SAMPLES_PASSED_VALUE(1024, 1, 400000000)
DRI_CONF_SECTION_END