SDL2/sdl_disp.cpp File Reference
#include <vector>
#include <winpr/sysinfo.h>
#include <winpr/assert.h>
#include <freerdp/gdi/gdi.h>
#include <SDL.h>
#include "sdl_disp.hpp"
#include "sdl_kbd.hpp"
#include "sdl_utils.hpp"
#include "sdl_freerdp.hpp"
#include <freerdp/log.h>


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


static BOOL sdl_disp_check_context (void *context, SdlContext **ppsdl, sdlDispContext **ppsdlDisp, rdpSettings **ppSettings)

Macro Definition Documentation


#define MAX_RETRIES   5


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


#define TAG   CLIENT_TAG("sdl.disp")

FreeRDP: A Remote Desktop Protocol Implementation SDL Display Control Channel

Copyright 2023 Armin Novak

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

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

◆ sdl_disp_check_context()

static BOOL sdl_disp_check_context ( void *  context,
SdlContext **  ppsdl,
sdlDispContext **  ppsdlDisp,
rdpSettings **  ppSettings 
Here is the call graph for this function: