FreeRDP
pf_rdpgfx.c File Reference
#include <freerdp/client/rdpgfx.h>
#include <freerdp/server/rdpgfx.h>
#include <winpr/synch.h>
#include "pf_rdpgfx.h"
#include "pf_context.h"
#include "pf_log.h"

Macros

#define TAG   PROXY_TAG("gfx")
 

Functions

BOOL pf_server_rdpgfx_init (pServerContext *ps)
 
static UINT pf_rdpgfx_reset_graphics (RdpgfxClientContext *context, const RDPGFX_RESET_GRAPHICS_PDU *resetGraphics)
 
static UINT pf_rdpgfx_start_frame (RdpgfxClientContext *context, const RDPGFX_START_FRAME_PDU *startFrame)
 
static UINT pf_rdpgfx_end_frame (RdpgfxClientContext *context, const RDPGFX_END_FRAME_PDU *endFrame)
 
static UINT pf_rdpgfx_surface_command (RdpgfxClientContext *context, const RDPGFX_SURFACE_COMMAND *cmd)
 
static UINT pf_rdpgfx_delete_encoding_context (RdpgfxClientContext *context, const RDPGFX_DELETE_ENCODING_CONTEXT_PDU *deleteEncodingContext)
 
static UINT pf_rdpgfx_create_surface (RdpgfxClientContext *context, const RDPGFX_CREATE_SURFACE_PDU *createSurface)
 
static UINT pf_rdpgfx_delete_surface (RdpgfxClientContext *context, const RDPGFX_DELETE_SURFACE_PDU *deleteSurface)
 
static UINT pf_rdpgfx_solid_fill (RdpgfxClientContext *context, const RDPGFX_SOLID_FILL_PDU *solidFill)
 
static UINT pf_rdpgfx_surface_to_surface (RdpgfxClientContext *context, const RDPGFX_SURFACE_TO_SURFACE_PDU *surfaceToSurface)
 
static UINT pf_rdpgfx_surface_to_cache (RdpgfxClientContext *context, const RDPGFX_SURFACE_TO_CACHE_PDU *surfaceToCache)
 
static UINT pf_rdpgfx_cache_to_surface (RdpgfxClientContext *context, const RDPGFX_CACHE_TO_SURFACE_PDU *cacheToSurface)
 
static UINT pf_rdpgfx_cache_import_reply (RdpgfxClientContext *context, const RDPGFX_CACHE_IMPORT_REPLY_PDU *cacheImportReply)
 
static UINT pf_rdpgfx_evict_cache_entry (RdpgfxClientContext *context, const RDPGFX_EVICT_CACHE_ENTRY_PDU *evictCacheEntry)
 
static UINT pf_rdpgfx_map_surface_to_output (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU *surfaceToOutput)
 
static UINT pf_rdpgfx_map_surface_to_window (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_WINDOW_PDU *surfaceToWindow)
 
static UINT pf_rdpgfx_map_surface_to_scaled_window (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_WINDOW_PDU *surfaceToScaledWindow)
 
static UINT pf_rdpgfx_map_surface_to_scaled_output (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_OUTPUT_PDU *surfaceToScaledOutput)
 
static UINT pf_rdpgfx_on_open (RdpgfxClientContext *context, BOOL *do_caps_advertise, BOOL *send_frame_acks)
 
static UINT pf_rdpgfx_caps_confirm (RdpgfxClientContext *context, const RDPGFX_CAPS_CONFIRM_PDU *capsConfirm)
 
static UINT pf_rdpgfx_caps_advertise (RdpgfxServerContext *context, const RDPGFX_CAPS_ADVERTISE_PDU *capsAdvertise)
 
static UINT pf_rdpgfx_frame_acknowledge (RdpgfxServerContext *context, const RDPGFX_FRAME_ACKNOWLEDGE_PDU *frameAcknowledge)
 
static UINT pf_rdpgfx_qoe_frame_acknowledge (RdpgfxServerContext *context, const RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU *qoeFrameAcknowledge)
 
static UINT pf_rdpgfx_cache_import_offer (RdpgfxServerContext *context, const RDPGFX_CACHE_IMPORT_OFFER_PDU *cacheImportOffer)
 
void pf_rdpgfx_pipeline_init (RdpgfxClientContext *gfx, RdpgfxServerContext *server, proxyData *pdata)
 

Macro Definition Documentation

#define TAG   PROXY_TAG("gfx")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server

Copyright 2019 Mati Shabtay matis.nosp@m.habt.nosp@m.ay@gm.nosp@m.ail..nosp@m.com Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2019 Idan Freiberg speid.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om

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

static UINT pf_rdpgfx_cache_import_offer ( RdpgfxServerContext *  context,
const RDPGFX_CACHE_IMPORT_OFFER_PDU *  cacheImportOffer 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_cache_import_reply ( RdpgfxClientContext *  context,
const RDPGFX_CACHE_IMPORT_REPLY_PDU *  cacheImportReply 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_cache_to_surface ( RdpgfxClientContext *  context,
const RDPGFX_CACHE_TO_SURFACE_PDU *  cacheToSurface 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_caps_advertise ( RdpgfxServerContext *  context,
const RDPGFX_CAPS_ADVERTISE_PDU *  capsAdvertise 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_caps_confirm ( RdpgfxClientContext *  context,
const RDPGFX_CAPS_CONFIRM_PDU *  capsConfirm 
)
static

Here is the caller graph for this function:

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

Here is the caller graph for this function:

static UINT pf_rdpgfx_delete_encoding_context ( RdpgfxClientContext *  context,
const RDPGFX_DELETE_ENCODING_CONTEXT_PDU *  deleteEncodingContext 
)
static

Here is the caller graph for this function:

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

Here is the caller graph for this function:

static UINT pf_rdpgfx_end_frame ( RdpgfxClientContext *  context,
const RDPGFX_END_FRAME_PDU *  endFrame 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_evict_cache_entry ( RdpgfxClientContext *  context,
const RDPGFX_EVICT_CACHE_ENTRY_PDU *  evictCacheEntry 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_frame_acknowledge ( RdpgfxServerContext *  context,
const RDPGFX_FRAME_ACKNOWLEDGE_PDU *  frameAcknowledge 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_map_surface_to_output ( RdpgfxClientContext *  context,
const RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU *  surfaceToOutput 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_map_surface_to_scaled_output ( RdpgfxClientContext *  context,
const RDPGFX_MAP_SURFACE_TO_SCALED_OUTPUT_PDU *  surfaceToScaledOutput 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_map_surface_to_scaled_window ( RdpgfxClientContext *  context,
const RDPGFX_MAP_SURFACE_TO_SCALED_WINDOW_PDU *  surfaceToScaledWindow 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_map_surface_to_window ( RdpgfxClientContext *  context,
const RDPGFX_MAP_SURFACE_TO_WINDOW_PDU *  surfaceToWindow 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_on_open ( RdpgfxClientContext *  context,
BOOL *  do_caps_advertise,
BOOL *  send_frame_acks 
)
static

Here is the caller graph for this function:

void pf_rdpgfx_pipeline_init ( RdpgfxClientContext *  gfx,
RdpgfxServerContext *  server,
proxyData *  pdata 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_rdpgfx_qoe_frame_acknowledge ( RdpgfxServerContext *  context,
const RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU *  qoeFrameAcknowledge 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_reset_graphics ( RdpgfxClientContext *  context,
const RDPGFX_RESET_GRAPHICS_PDU *  resetGraphics 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_solid_fill ( RdpgfxClientContext *  context,
const RDPGFX_SOLID_FILL_PDU *  solidFill 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_start_frame ( RdpgfxClientContext *  context,
const RDPGFX_START_FRAME_PDU *  startFrame 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_surface_command ( RdpgfxClientContext *  context,
const RDPGFX_SURFACE_COMMAND *  cmd 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_surface_to_cache ( RdpgfxClientContext *  context,
const RDPGFX_SURFACE_TO_CACHE_PDU *  surfaceToCache 
)
static

Here is the caller graph for this function:

static UINT pf_rdpgfx_surface_to_surface ( RdpgfxClientContext *  context,
const RDPGFX_SURFACE_TO_SURFACE_PDU *  surfaceToSurface 
)
static

Here is the caller graph for this function:

BOOL pf_server_rdpgfx_init ( pServerContext *  ps)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server

Copyright 2019 Mati Shabtay matis.nosp@m.habt.nosp@m.ay@gm.nosp@m.ail..nosp@m.com Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2019 Idan Freiberg speid.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om

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: