From fb84cc956f3b5848eed2d128fb9e9d27cc0a4db6 Mon Sep 17 00:00:00 2001 From: Marc-AndrĂ© Lureau Date: Thu, 29 Oct 2015 16:54:46 -0500 Subject: Move pipe item enumerations out of red_worker.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the cursor-specific pipe item types to cursor-channel.h, and the display-specific types to red_worker.c. Only leave the common definitions in red_worker.h. This prepares for splitting the display channel into a separate file. Signed-off-by: Jonathon Jongsma Acked-by: Fabiano FidĂȘncio --- server/red_worker.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'server/red_worker.c') diff --git a/server/red_worker.c b/server/red_worker.c index 37330c9b..e3999baa 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -229,6 +229,23 @@ struct SpiceWatch { void *watch_func_opaque; }; +enum { + PIPE_ITEM_TYPE_DRAW = PIPE_ITEM_TYPE_COMMON_LAST, + PIPE_ITEM_TYPE_IMAGE, + PIPE_ITEM_TYPE_STREAM_CREATE, + PIPE_ITEM_TYPE_STREAM_CLIP, + PIPE_ITEM_TYPE_STREAM_DESTROY, + PIPE_ITEM_TYPE_UPGRADE, + PIPE_ITEM_TYPE_MIGRATE_DATA, + PIPE_ITEM_TYPE_PIXMAP_SYNC, + PIPE_ITEM_TYPE_PIXMAP_RESET, + PIPE_ITEM_TYPE_INVAL_PALETTE_CACHE, + PIPE_ITEM_TYPE_CREATE_SURFACE, + PIPE_ITEM_TYPE_DESTROY_SURFACE, + PIPE_ITEM_TYPE_MONITORS_CONFIG, + PIPE_ITEM_TYPE_STREAM_ACTIVATE_REPORT, +}; + #define MAX_LZ_ENCODERS MAX_CACHE_CLIENTS typedef struct SurfaceCreateItem { -- cgit