vrend: add dbg_bgra debug topic

Signed-off-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Ryan Neph 3 years ago
parent 4df8880735
commit dd6e7c85d2
  1. 1
      src/vrend_debug.c
  2. 3
      src/vrend_debug.h

@ -127,6 +127,7 @@ static const struct debug_named_value vrend_debug_options[] = {
{"tweak", dbg_tweak, "Log tweaks"}, {"tweak", dbg_tweak, "Log tweaks"},
{"query", dbg_query, "Log queries"}, {"query", dbg_query, "Log queries"},
{"gles", dbg_gles, "GLES host specific debug"}, {"gles", dbg_gles, "GLES host specific debug"},
{"bgra", dbg_bgra, "Debug specific to BGRA emulation on GLES hosts"},
{"all", dbg_all, "Enable all debugging output"}, {"all", dbg_all, "Enable all debugging output"},
{"guestallow", dbg_allow_guest_override, "Allow the guest to override the debug flags"}, {"guestallow", dbg_allow_guest_override, "Allow the guest to override the debug flags"},
{"khr", dbg_khr, "Enable debug via KHR_debug extension"}, {"khr", dbg_khr, "Enable debug via KHR_debug extension"},

@ -46,7 +46,8 @@ enum virgl_debug_flags {
dbg_tweak = 1 << 10, dbg_tweak = 1 << 10,
dbg_query = 1 << 11, dbg_query = 1 << 11,
dbg_gles = 1 << 12, dbg_gles = 1 << 12,
dbg_all = (1 << 13) - 1, dbg_bgra = 1 << 13,
dbg_all = (1 << 14) - 1,
dbg_allow_guest_override = 1 << 16, dbg_allow_guest_override = 1 << 16,
dbg_feature_use = 1 << 17, dbg_feature_use = 1 << 17,
dbg_khr = 1 << 18, dbg_khr = 1 << 18,

Loading…
Cancel
Save