FreeRDP
xf_gfx.c File Reference
#include <freerdp/config.h>
#include <math.h>
#include <winpr/assert.h>
#include <freerdp/log.h>
#include "xf_gfx.h"
#include "xf_rail.h"
#include <X11/Xutil.h>

Macros

#define TAG   CLIENT_TAG("x11")
 

Functions

static UINT xf_OutputUpdate (xfContext *xfc, xfGfxSurface *surface)
 
static UINT xf_WindowUpdate (RdpgfxClientContext *context, xfGfxSurface *surface)
 
static UINT xf_UpdateSurfaces (RdpgfxClientContext *context)
 
UINT xf_OutputExpose (xfContext *xfc, UINT32 x, UINT32 y, UINT32 width, UINT32 height)
 
static UINT32 x11_pad_scanline (UINT32 scanline, UINT32 inPad)
 
static UINT xf_CreateSurface (RdpgfxClientContext *context, const RDPGFX_CREATE_SURFACE_PDU *createSurface)
 
static UINT xf_DeleteSurface (RdpgfxClientContext *context, const RDPGFX_DELETE_SURFACE_PDU *deleteSurface)
 
static UINT xf_UpdateWindowFromSurface (RdpgfxClientContext *context, gdiGfxSurface *surface)
 
void xf_graphics_pipeline_init (xfContext *xfc, RdpgfxClientContext *gfx)
 
void xf_graphics_pipeline_uninit (xfContext *xfc, RdpgfxClientContext *gfx)
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("x11")

FreeRDP: A Remote Desktop Protocol Implementation X11 Graphics Pipeline

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2016 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

◆ x11_pad_scanline()

static UINT32 x11_pad_scanline ( UINT32  scanline,
UINT32  inPad 
)
static
Here is the caller graph for this function:

◆ xf_CreateSurface()

static UINT xf_CreateSurface ( RdpgfxClientContext *  context,
const RDPGFX_CREATE_SURFACE_PDU createSurface 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_DeleteSurface()

static UINT xf_DeleteSurface ( RdpgfxClientContext *  context,
const RDPGFX_DELETE_SURFACE_PDU deleteSurface 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_graphics_pipeline_init()

void xf_graphics_pipeline_init ( xfContext *  xfc,
RdpgfxClientContext *  gfx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_graphics_pipeline_uninit()

void xf_graphics_pipeline_uninit ( xfContext *  xfc,
RdpgfxClientContext *  gfx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_OutputExpose()

UINT xf_OutputExpose ( xfContext *  xfc,
UINT32  x,
UINT32  y,
UINT32  width,
UINT32  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_OutputUpdate()

static UINT xf_OutputUpdate ( xfContext *  xfc,
xfGfxSurface *  surface 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_UpdateSurfaces()

static UINT xf_UpdateSurfaces ( RdpgfxClientContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_UpdateWindowFromSurface()

static UINT xf_UpdateWindowFromSurface ( RdpgfxClientContext *  context,
gdiGfxSurface *  surface 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_WindowUpdate()

static UINT xf_WindowUpdate ( RdpgfxClientContext *  context,
xfGfxSurface *  surface 
)
static
Here is the caller graph for this function: