Untitled
#ifndef WLR_RENDER_ALLOCATOR_RDPRAIL_H #define WLR_RENDER_ALLOCATOR_RDPRAIL_H #include <freerdp/server/gfxredir.h> #include <wlr/render/allocator.h> struct wlr_rdprail_allocator { struct wlr_allocator base; GfxRedirServerContext *redir_ctx; }; struct wlr_rdprail_buffer { struct wlr_buffer base; uint32_t pool_id; uint32_t buffer_id; void *rdp_memory; }; /** * Creates a new RDP allocator. * Returns NULL if fails. */ struct wlr_allocator *wlr_rdprail_allocator_create(GfxRedirServerContext *redir_ctx); #endif
Leave a Comment