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.h | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'server/red_worker.h') diff --git a/server/red_worker.h b/server/red_worker.h index 76502b6e..aa977071 100644 --- a/server/red_worker.h +++ b/server/red_worker.h @@ -48,25 +48,10 @@ typedef struct CommonChannel { } CommonChannel; enum { - PIPE_ITEM_TYPE_DRAW = PIPE_ITEM_TYPE_CHANNEL_BASE, + PIPE_ITEM_TYPE_VERB = PIPE_ITEM_TYPE_CHANNEL_BASE, PIPE_ITEM_TYPE_INVAL_ONE, - PIPE_ITEM_TYPE_CURSOR, - PIPE_ITEM_TYPE_CURSOR_INIT, - 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_VERB, - PIPE_ITEM_TYPE_MIGRATE_DATA, - PIPE_ITEM_TYPE_PIXMAP_SYNC, - PIPE_ITEM_TYPE_PIXMAP_RESET, - PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE, - 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, + + PIPE_ITEM_TYPE_COMMON_LAST }; typedef struct VerbItem { -- cgit