GUACAMOLE-377: Enable graphics pipeline extension by default.

This commit is contained in:
Michael Jumper 2022-05-18 15:35:15 -07:00
parent 28396ae345
commit da80163e24

View File

@ -80,6 +80,7 @@ const char* GUAC_RDP_CLIENT_ARGS[] = {
"disable-bitmap-caching", "disable-bitmap-caching",
"disable-offscreen-caching", "disable-offscreen-caching",
"disable-glyph-caching", "disable-glyph-caching",
"disable-gfx",
"preconnection-id", "preconnection-id",
"preconnection-blob", "preconnection-blob",
"timezone", "timezone",
@ -109,7 +110,6 @@ const char* GUAC_RDP_CLIENT_ARGS[] = {
"create-recording-path", "create-recording-path",
"resize-method", "resize-method",
"enable-audio-input", "enable-audio-input",
"enable-gfx",
"enable-touch", "enable-touch",
"read-only", "read-only",
@ -372,6 +372,13 @@ enum RDP_ARGS_IDX {
*/ */
IDX_DISABLE_GLYPH_CACHING, IDX_DISABLE_GLYPH_CACHING,
/**
* "true" if the RDP Graphics Pipeline Extension should not be used, and
* traditional RDP graphics should be used instead, "false" or blank if the
* Graphics Pipeline Extension should be used if available.
*/
IDX_DISABLE_GFX,
/** /**
* The preconnection ID to send within the preconnection PDU when * The preconnection ID to send within the preconnection PDU when
* initiating an RDP connection, if any. * initiating an RDP connection, if any.
@ -540,12 +547,6 @@ enum RDP_ARGS_IDX {
*/ */
IDX_ENABLE_AUDIO_INPUT, IDX_ENABLE_AUDIO_INPUT,
/**
* "true" if the RDP Graphics Pipeline Extension should be used, "false" or
* blank if traditional RDP graphics should be used instead.
*/
IDX_ENABLE_GFX,
/** /**
* "true" if multi-touch support should be enabled for the RDP connection, * "true" if multi-touch support should be enabled for the RDP connection,
* "false" or blank otherwise. * "false" or blank otherwise.
@ -1138,8 +1139,8 @@ guac_rdp_settings* guac_rdp_parse_args(guac_user* user,
/* RDP Graphics Pipeline enable/disable */ /* RDP Graphics Pipeline enable/disable */
settings->enable_gfx = settings->enable_gfx =
guac_user_parse_args_boolean(user, GUAC_RDP_CLIENT_ARGS, argv, !guac_user_parse_args_boolean(user, GUAC_RDP_CLIENT_ARGS, argv,
IDX_ENABLE_GFX, 0); IDX_DISABLE_GFX, 0);
/* Multi-touch input enable/disable */ /* Multi-touch input enable/disable */
settings->enable_touch = settings->enable_touch =