vrend_debug: add debug GLES option

Reviewed-by: David Riley <davidriley@chromium.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Gurchetan Singh 5 years ago
parent 44f1653dbe
commit 0a7fe48e9b
  1. 1
      src/vrend_debug.c
  2. 3
      src/vrend_debug.h

@ -120,6 +120,7 @@ static const struct debug_named_value vrend_debug_options[] = {
{"caller", dbg_caller, "Log who is creating the context"}, {"caller", dbg_caller, "Log who is creating the context"},
{"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"},
{"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"},
DEBUG_NAMED_VALUE_END DEBUG_NAMED_VALUE_END

@ -45,7 +45,8 @@ enum virgl_debug_flags {
dbg_caller = 1 << 9, dbg_caller = 1 << 9,
dbg_tweak = 1 << 10, dbg_tweak = 1 << 10,
dbg_query = 1 << 11, dbg_query = 1 << 11,
dbg_all = (1 << 12) - 1, dbg_gles = 1 << 12,
dbg_all = (1 << 13) - 1,
dbg_allow_guest_override = 1 << 16, dbg_allow_guest_override = 1 << 16,
dbg_feature_use = 1 << 17, dbg_feature_use = 1 << 17,
}; };

Loading…
Cancel
Save