FreeRDP
gdi/gfx.h
1 
20 #ifndef FREERDP_GDI_GFX_H
21 #define FREERDP_GDI_GFX_H
22 
23 #include <freerdp/api.h>
24 #include <freerdp/gdi/gdi.h>
25 
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30 
32  {
33  UINT16 surfaceId;
34  rdpCodecs* codecs;
35  H264_CONTEXT* h264;
36  UINT32 width;
37  UINT32 height;
38  UINT32 mappedWidth;
39  UINT32 mappedHeight;
40  BYTE* data;
41  UINT32 scanline;
42  UINT32 format;
43  BOOL outputMapped;
44  UINT32 outputOriginX;
45  UINT32 outputOriginY;
46  REGION16 invalidRegion;
47  UINT64 windowId;
48  UINT32 outputTargetWidth;
49  UINT32 outputTargetHeight;
50  BOOL windowMapped;
51  BOOL handleInUpdateSurfaceArea;
52  };
53  typedef struct gdi_gfx_surface gdiGfxSurface;
54 
56  {
57  UINT64 cacheKey;
58  UINT32 width;
59  UINT32 height;
60  BYTE* data;
61  UINT32 scanline;
62  UINT32 format;
63  };
64  typedef struct gdi_gfx_cache_entry gdiGfxCacheEntry;
65 
66  FREERDP_API BOOL gdi_graphics_pipeline_init(rdpGdi* gdi, RdpgfxClientContext* gfx);
67  FREERDP_API BOOL gdi_graphics_pipeline_init_ex(rdpGdi* gdi, RdpgfxClientContext* gfx,
68  pcRdpgfxMapWindowForSurface map,
69  pcRdpgfxUnmapWindowForSurface unmap,
70  pcRdpgfxUpdateSurfaceArea update);
71  FREERDP_API void gdi_graphics_pipeline_uninit(rdpGdi* gdi, RdpgfxClientContext* gfx);
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif /* FREERDP_GDI_GFX_H */
Definition: gdi/gfx.h:56