FreeRDP
wlf_disp.c File Reference
#include <winpr/sysinfo.h>
#include "wlf_disp.h"

Macros

#define TAG   CLIENT_TAG("wayland.disp")
 
#define RESIZE_MIN_DELAY   200 /* minimum delay in ms between two resizes */
 

Functions

static UINT wlf_disp_sendLayout (DispClientContext *disp, const rdpMonitor *monitors, size_t nmonitors)
 
static BOOL wlf_disp_settings_changed (wlfDispContext *wlfDisp)
 
static BOOL wlf_update_last_sent (wlfDispContext *wlfDisp)
 
static BOOL wlf_disp_sendResize (wlfDispContext *wlfDisp)
 
static BOOL wlf_disp_set_window_resizable (wlfDispContext *wlfDisp)
 
static BOOL wlf_disp_check_context (void *context, wlfContext **ppwlc, wlfDispContext **ppwlfDisp, rdpSettings **ppSettings)
 
static void wlf_disp_OnActivated (void *context, const ActivatedEventArgs *e)
 
static void wlf_disp_OnGraphicsReset (void *context, const GraphicsResetEventArgs *e)
 
static void wlf_disp_OnTimer (void *context, const TimerEventArgs *e)
 
wlfDispContext * wlf_disp_new (wlfContext *wlc)
 
void wlf_disp_free (wlfDispContext *disp)
 
BOOL wlf_disp_handle_configure (wlfDispContext *disp, int32_t width, int32_t height)
 
static UINT wlf_DisplayControlCaps (DispClientContext *disp, UINT32 maxNumMonitors, UINT32 maxMonitorAreaFactorA, UINT32 maxMonitorAreaFactorB)
 
BOOL wlf_disp_init (wlfDispContext *wlfDisp, DispClientContext *disp)
 
BOOL wlf_disp_uninit (wlfDispContext *wlfDisp, DispClientContext *disp)
 
int wlf_list_monitors (wlfContext *wlc)
 

Macro Definition Documentation

◆ RESIZE_MIN_DELAY

#define RESIZE_MIN_DELAY   200 /* minimum delay in ms between two resizes */

◆ TAG

#define TAG   CLIENT_TAG("wayland.disp")

FreeRDP: A Remote Desktop Protocol Implementation Wayland Display Control Channel

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ wlf_disp_check_context()

static BOOL wlf_disp_check_context ( void *  context,
wlfContext **  ppwlc,
wlfDispContext **  ppwlfDisp,
rdpSettings **  ppSettings 
)
static
Here is the caller graph for this function:

◆ wlf_disp_free()

void wlf_disp_free ( wlfDispContext *  disp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_handle_configure()

BOOL wlf_disp_handle_configure ( wlfDispContext *  disp,
int32_t  width,
int32_t  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_init()

BOOL wlf_disp_init ( wlfDispContext *  xfDisp,
DispClientContext *  disp 
)

FreeRDP: A Remote Desktop Protocol Implementation Wayland Display Control Channel

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_new()

wlfDispContext* wlf_disp_new ( wlfContext wlc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_OnActivated()

static void wlf_disp_OnActivated ( void *  context,
const ActivatedEventArgs *  e 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_OnGraphicsReset()

static void wlf_disp_OnGraphicsReset ( void *  context,
const GraphicsResetEventArgs *  e 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_OnTimer()

static void wlf_disp_OnTimer ( void *  context,
const TimerEventArgs *  e 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_sendLayout()

UINT wlf_disp_sendLayout ( DispClientContext *  disp,
const rdpMonitor monitors,
size_t  nmonitors 
)
static
Here is the call graph for this function:

◆ wlf_disp_sendResize()

static BOOL wlf_disp_sendResize ( wlfDispContext *  wlfDisp)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_set_window_resizable()

static BOOL wlf_disp_set_window_resizable ( wlfDispContext *  wlfDisp)
static
Here is the caller graph for this function:

◆ wlf_disp_settings_changed()

static BOOL wlf_disp_settings_changed ( wlfDispContext *  wlfDisp)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_disp_uninit()

BOOL wlf_disp_uninit ( wlfDispContext *  wlfDisp,
DispClientContext *  disp 
)
Here is the caller graph for this function:

◆ wlf_DisplayControlCaps()

static UINT wlf_DisplayControlCaps ( DispClientContext *  disp,
UINT32  maxNumMonitors,
UINT32  maxMonitorAreaFactorA,
UINT32  maxMonitorAreaFactorB 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_list_monitors()

int wlf_list_monitors ( wlfContext wlc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_update_last_sent()

static BOOL wlf_update_last_sent ( wlfDispContext *  wlfDisp)
static
Here is the call graph for this function:
Here is the caller graph for this function: