| 
    FreeRDP
    
   | 
 
#include <freerdp/api.h>#include <freerdp/types.h>#include <freerdp/codecs.h>#include <freerdp/channels/rdpgfx.h>#include <freerdp/utils/profiler.h>#include <freerdp/cache/persistent.h>
Data Structures | |
| struct | RdpgfxClientContext | 
Typedefs | |
| typedef UINT(* | pcRdpgfxResetGraphics) (RdpgfxClientContext *context, const RDPGFX_RESET_GRAPHICS_PDU *resetGraphics) | 
| typedef UINT(* | pcRdpgfxStartFrame) (RdpgfxClientContext *context, const RDPGFX_START_FRAME_PDU *startFrame) | 
| typedef UINT(* | pcRdpgfxEndFrame) (RdpgfxClientContext *context, const RDPGFX_END_FRAME_PDU *endFrame) | 
| typedef UINT(* | pcRdpgfxSurfaceCommand) (RdpgfxClientContext *context, const RDPGFX_SURFACE_COMMAND *cmd) | 
| typedef UINT(* | pcRdpgfxDeleteEncodingContext) (RdpgfxClientContext *context, const RDPGFX_DELETE_ENCODING_CONTEXT_PDU *deleteEncodingContext) | 
| typedef UINT(* | pcRdpgfxCreateSurface) (RdpgfxClientContext *context, const RDPGFX_CREATE_SURFACE_PDU *createSurface) | 
| typedef UINT(* | pcRdpgfxDeleteSurface) (RdpgfxClientContext *context, const RDPGFX_DELETE_SURFACE_PDU *deleteSurface) | 
| typedef UINT(* | pcRdpgfxSolidFill) (RdpgfxClientContext *context, const RDPGFX_SOLID_FILL_PDU *solidFill) | 
| typedef UINT(* | pcRdpgfxSurfaceToSurface) (RdpgfxClientContext *context, const RDPGFX_SURFACE_TO_SURFACE_PDU *surfaceToSurface) | 
| typedef UINT(* | pcRdpgfxSurfaceToCache) (RdpgfxClientContext *context, const RDPGFX_SURFACE_TO_CACHE_PDU *surfaceToCache) | 
| typedef UINT(* | pcRdpgfxCacheToSurface) (RdpgfxClientContext *context, const RDPGFX_CACHE_TO_SURFACE_PDU *cacheToSurface) | 
| typedef UINT(* | pcRdpgfxCacheImportOffer) (RdpgfxClientContext *context, const RDPGFX_CACHE_IMPORT_OFFER_PDU *cacheImportOffer) | 
| typedef UINT(* | pcRdpgfxCacheImportReply) (RdpgfxClientContext *context, const RDPGFX_CACHE_IMPORT_REPLY_PDU *cacheImportReply) | 
| typedef UINT(* | pcRdpgfxEvictCacheEntry) (RdpgfxClientContext *context, const RDPGFX_EVICT_CACHE_ENTRY_PDU *evictCacheEntry) | 
| typedef UINT(* | pcRdpgfxImportCacheEntry) (RdpgfxClientContext *context, UINT16 cacheSlot, const PERSISTENT_CACHE_ENTRY *importCacheEntry) | 
| typedef UINT(* | pcRdpgfxExportCacheEntry) (RdpgfxClientContext *context, UINT16 cacheSlot, PERSISTENT_CACHE_ENTRY *importCacheEntry) | 
| typedef UINT(* | pcRdpgfxMapSurfaceToOutput) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU *surfaceToOutput) | 
| typedef UINT(* | pcRdpgfxMapSurfaceToScaledOutput) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_OUTPUT_PDU *surfaceToOutput) | 
| typedef UINT(* | pcRdpgfxMapSurfaceToWindow) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_WINDOW_PDU *surfaceToWindow) | 
| typedef UINT(* | pcRdpgfxMapSurfaceToScaledWindow) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_WINDOW_PDU *surfaceToWindow) | 
| typedef UINT(* | pcRdpgfxSetSurfaceData) (RdpgfxClientContext *context, UINT16 surfaceId, void *pData) | 
| typedef void *(* | pcRdpgfxGetSurfaceData) (RdpgfxClientContext *context, UINT16 surfaceId) | 
| typedef UINT(* | pcRdpgfxGetSurfaceIds) (RdpgfxClientContext *context, UINT16 **ppSurfaceIds, UINT16 *count) | 
| typedef UINT(* | pcRdpgfxSetCacheSlotData) (RdpgfxClientContext *context, UINT16 cacheSlot, void *pData) | 
| typedef void *(* | pcRdpgfxGetCacheSlotData) (RdpgfxClientContext *context, UINT16 cacheSlot) | 
| typedef UINT(* | pcRdpgfxUpdateSurfaces) (RdpgfxClientContext *context) | 
| typedef UINT(* | pcRdpgfxUpdateWindowFromSurface) (RdpgfxClientContext *context, gdiGfxSurface *surface) | 
| typedef UINT(* | pcRdpgfxUpdateSurfaceArea) (RdpgfxClientContext *context, UINT16 surfaceId, UINT32 nrRects, const RECTANGLE_16 *rects) | 
| typedef UINT(* | pcRdpgfxOnOpen) (RdpgfxClientContext *context, BOOL *do_caps_advertise, BOOL *do_frame_acks) | 
| typedef UINT(* | pcRdpgfxOnClose) (RdpgfxClientContext *context) | 
| typedef UINT(* | pcRdpgfxCapsAdvertise) (RdpgfxClientContext *context, const RDPGFX_CAPS_ADVERTISE_PDU *capsAdvertise) | 
| typedef UINT(* | pcRdpgfxCapsConfirm) (RdpgfxClientContext *context, const RDPGFX_CAPS_CONFIRM_PDU *capsConfirm) | 
| typedef UINT(* | pcRdpgfxFrameAcknowledge) (RdpgfxClientContext *context, const RDPGFX_FRAME_ACKNOWLEDGE_PDU *frameAcknowledge) | 
| typedef UINT(* | pcRdpgfxQoeFrameAcknowledge) (RdpgfxClientContext *context, const RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU *qoeFrameAcknowledge) | 
| typedef UINT(* | pcRdpgfxMapWindowForSurface) (RdpgfxClientContext *context, UINT16 surfaceID, UINT64 windowID) | 
| typedef UINT(* | pcRdpgfxUnmapWindowForSurface) (RdpgfxClientContext *context, UINT64 windowID) | 
Functions | |
| FREERDP_API void | rdpgfx_client_context_free (RdpgfxClientContext *context) | 
| FREERDP_API RdpgfxClientContext * | rdpgfx_client_context_new (rdpContext *context) | 
| typedef UINT(* pcRdpgfxCacheImportOffer) (RdpgfxClientContext *context, const RDPGFX_CACHE_IMPORT_OFFER_PDU *cacheImportOffer) | 
| typedef UINT(* pcRdpgfxCacheImportReply) (RdpgfxClientContext *context, const RDPGFX_CACHE_IMPORT_REPLY_PDU *cacheImportReply) | 
| typedef UINT(* pcRdpgfxCacheToSurface) (RdpgfxClientContext *context, const RDPGFX_CACHE_TO_SURFACE_PDU *cacheToSurface) | 
| typedef UINT(* pcRdpgfxCapsAdvertise) (RdpgfxClientContext *context, const RDPGFX_CAPS_ADVERTISE_PDU *capsAdvertise) | 
| typedef UINT(* pcRdpgfxCapsConfirm) (RdpgfxClientContext *context, const RDPGFX_CAPS_CONFIRM_PDU *capsConfirm) | 
| typedef UINT(* pcRdpgfxCreateSurface) (RdpgfxClientContext *context, const RDPGFX_CREATE_SURFACE_PDU *createSurface) | 
| typedef UINT(* pcRdpgfxDeleteEncodingContext) (RdpgfxClientContext *context, const RDPGFX_DELETE_ENCODING_CONTEXT_PDU *deleteEncodingContext) | 
| typedef UINT(* pcRdpgfxDeleteSurface) (RdpgfxClientContext *context, const RDPGFX_DELETE_SURFACE_PDU *deleteSurface) | 
| typedef UINT(* pcRdpgfxEndFrame) (RdpgfxClientContext *context, const RDPGFX_END_FRAME_PDU *endFrame) | 
| typedef UINT(* pcRdpgfxEvictCacheEntry) (RdpgfxClientContext *context, const RDPGFX_EVICT_CACHE_ENTRY_PDU *evictCacheEntry) | 
| typedef UINT(* pcRdpgfxExportCacheEntry) (RdpgfxClientContext *context, UINT16 cacheSlot, PERSISTENT_CACHE_ENTRY *importCacheEntry) | 
| typedef UINT(* pcRdpgfxFrameAcknowledge) (RdpgfxClientContext *context, const RDPGFX_FRAME_ACKNOWLEDGE_PDU *frameAcknowledge) | 
| typedef UINT(* pcRdpgfxGetSurfaceIds) (RdpgfxClientContext *context, UINT16 **ppSurfaceIds, UINT16 *count) | 
| typedef UINT(* pcRdpgfxImportCacheEntry) (RdpgfxClientContext *context, UINT16 cacheSlot, const PERSISTENT_CACHE_ENTRY *importCacheEntry) | 
| typedef UINT(* pcRdpgfxMapSurfaceToOutput) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU *surfaceToOutput) | 
| typedef UINT(* pcRdpgfxMapSurfaceToScaledOutput) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_OUTPUT_PDU *surfaceToOutput) | 
| typedef UINT(* pcRdpgfxMapSurfaceToScaledWindow) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_SCALED_WINDOW_PDU *surfaceToWindow) | 
| typedef UINT(* pcRdpgfxMapSurfaceToWindow) (RdpgfxClientContext *context, const RDPGFX_MAP_SURFACE_TO_WINDOW_PDU *surfaceToWindow) | 
| typedef UINT(* pcRdpgfxMapWindowForSurface) (RdpgfxClientContext *context, UINT16 surfaceID, UINT64 windowID) | 
| typedef UINT(* pcRdpgfxOnOpen) (RdpgfxClientContext *context, BOOL *do_caps_advertise, BOOL *do_frame_acks) | 
| typedef UINT(* pcRdpgfxQoeFrameAcknowledge) (RdpgfxClientContext *context, const RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU *qoeFrameAcknowledge) | 
| typedef UINT(* pcRdpgfxResetGraphics) (RdpgfxClientContext *context, const RDPGFX_RESET_GRAPHICS_PDU *resetGraphics) | 
| typedef UINT(* pcRdpgfxSetCacheSlotData) (RdpgfxClientContext *context, UINT16 cacheSlot, void *pData) | 
| typedef UINT(* pcRdpgfxSetSurfaceData) (RdpgfxClientContext *context, UINT16 surfaceId, void *pData) | 
| typedef UINT(* pcRdpgfxSolidFill) (RdpgfxClientContext *context, const RDPGFX_SOLID_FILL_PDU *solidFill) | 
| typedef UINT(* pcRdpgfxStartFrame) (RdpgfxClientContext *context, const RDPGFX_START_FRAME_PDU *startFrame) | 
| typedef UINT(* pcRdpgfxSurfaceCommand) (RdpgfxClientContext *context, const RDPGFX_SURFACE_COMMAND *cmd) | 
| typedef UINT(* pcRdpgfxSurfaceToCache) (RdpgfxClientContext *context, const RDPGFX_SURFACE_TO_CACHE_PDU *surfaceToCache) | 
| typedef UINT(* pcRdpgfxSurfaceToSurface) (RdpgfxClientContext *context, const RDPGFX_SURFACE_TO_SURFACE_PDU *surfaceToSurface) | 
| typedef UINT(* pcRdpgfxUpdateSurfaceArea) (RdpgfxClientContext *context, UINT16 surfaceId, UINT32 nrRects, const RECTANGLE_16 *rects) | 
| typedef UINT(* pcRdpgfxUpdateWindowFromSurface) (RdpgfxClientContext *context, gdiGfxSurface *surface) | 
| FREERDP_API void rdpgfx_client_context_free | ( | RdpgfxClientContext * | context | ) | 


| FREERDP_API RdpgfxClientContext* rdpgfx_client_context_new | ( | rdpContext * | context | ) |