[common,settings] add GfxSuspendFrameAck

This commit is contained in:
akallabeth 2024-05-24 11:46:54 +02:00
parent a046314d98
commit ef4e6ee2c9
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
4 changed files with 11 additions and 1 deletions

View File

@ -691,7 +691,8 @@ struct rdp_settings
SETTINGS_DEPRECATED(ALIGN64 BOOL GfxAVC444v2); /* 3847 */
SETTINGS_DEPRECATED(ALIGN64 UINT32 GfxCapsFilter); /* 3848 */
SETTINGS_DEPRECATED(ALIGN64 BOOL GfxPlanar); /* 3849 */
UINT64 padding3904[3904 - 3850]; /* 3850 */
SETTINGS_DEPRECATED(ALIGN64 BOOL GfxSuspendFrameAck); /* 3850 */
UINT64 padding3904[3904 - 3851]; /* 3851 */
/**
* Caches

View File

@ -291,6 +291,9 @@ BOOL freerdp_settings_get_bool(const rdpSettings* settings, FreeRDP_Settings_Key
case FreeRDP_GfxSmallCache:
return settings->GfxSmallCache;
case FreeRDP_GfxSuspendFrameAck:
return settings->GfxSuspendFrameAck;
case FreeRDP_GfxThinClient:
return settings->GfxThinClient;
@ -969,6 +972,10 @@ BOOL freerdp_settings_set_bool(rdpSettings* settings, FreeRDP_Settings_Keys_Bool
settings->GfxSmallCache = cnv.c;
break;
case FreeRDP_GfxSuspendFrameAck:
settings->GfxSuspendFrameAck = cnv.c;
break;
case FreeRDP_GfxThinClient:
settings->GfxThinClient = cnv.c;
break;

View File

@ -130,6 +130,7 @@ static const struct settings_str_entry settings_map[] = {
{ FreeRDP_GfxProgressiveV2, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GfxProgressiveV2" },
{ FreeRDP_GfxSendQoeAck, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GfxSendQoeAck" },
{ FreeRDP_GfxSmallCache, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GfxSmallCache" },
{ FreeRDP_GfxSuspendFrameAck, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GfxSuspendFrameAck" },
{ FreeRDP_GfxThinClient, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GfxThinClient" },
{ FreeRDP_GrabKeyboard, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GrabKeyboard" },
{ FreeRDP_GrabMouse, FREERDP_SETTINGS_TYPE_BOOL, "FreeRDP_GrabMouse" },

View File

@ -81,6 +81,7 @@ static const size_t bool_list_indices[] = {
FreeRDP_GfxProgressiveV2,
FreeRDP_GfxSendQoeAck,
FreeRDP_GfxSmallCache,
FreeRDP_GfxSuspendFrameAck,
FreeRDP_GfxThinClient,
FreeRDP_GrabKeyboard,
FreeRDP_GrabMouse,