20 #ifndef EQFABRIC_COMMANDS_H
21 #define EQFABRIC_COMMANDS_H
23 #include <co/commands.h>
32 CMD_SERVER_CHOOSE_CONFIG = co::CMD_NODE_CUSTOM,
33 CMD_SERVER_CHOOSE_CONFIG_REPLY,
34 CMD_SERVER_CREATE_CONFIG,
35 CMD_SERVER_CREATE_CONFIG_REPLY,
36 CMD_SERVER_DESTROY_CONFIG,
37 CMD_SERVER_DESTROY_CONFIG_REPLY,
38 CMD_SERVER_RELEASE_CONFIG,
39 CMD_SERVER_RELEASE_CONFIG_REPLY,
40 CMD_SERVER_INIT_CONFIG,
42 CMD_SERVER_SHUTDOWN_REPLY,
47 CMD_SERVER_UNMAP_REPLY,
48 CMD_SERVER_CUSTOM = co::CMD_NODE_CUSTOM + 20
53 CMD_CLIENT_EXIT = CMD_SERVER_CUSTOM,
55 CMD_CLIENT_CUSTOM = CMD_SERVER_CUSTOM + 5
60 CMD_OBJECT_SYNC = co::CMD_OBJECT_CUSTOM,
61 CMD_OBJECT_CUSTOM = co::CMD_OBJECT_CUSTOM + 5
66 CMD_CONFIG_NEW_LAYOUT = CMD_OBJECT_CUSTOM,
67 CMD_CONFIG_NEW_CANVAS,
68 CMD_CONFIG_NEW_OBSERVER,
69 CMD_CONFIG_NEW_ENTITY_REPLY,
70 CMD_CONFIG_START_INIT,
71 CMD_CONFIG_START_INIT_REPLY,
73 CMD_CONFIG_INIT_REPLY,
75 CMD_CONFIG_EXIT_REPLY,
77 CMD_CONFIG_UPDATE_VERSION,
78 CMD_CONFIG_UPDATE_REPLY,
79 CMD_CONFIG_CREATE_REPLY,
80 CMD_CONFIG_CREATE_NODE,
81 CMD_CONFIG_DESTROY_NODE,
82 CMD_CONFIG_START_FRAME,
83 CMD_CONFIG_RELEASE_FRAME_LOCAL,
84 CMD_CONFIG_FRAME_FINISH,
85 CMD_CONFIG_FINISH_ALL_FRAMES,
86 CMD_CONFIG_STOP_FRAMES,
89 CMD_CONFIG_SYNC_CLOCK,
90 CMD_CONFIG_SWAP_OBJECT,
91 CMD_CONFIG_CHECK_FRAME,
92 CMD_CONFIG_CUSTOM = CMD_OBJECT_CUSTOM + 30
97 CMD_NODE_CONFIG_INIT = CMD_OBJECT_CUSTOM,
98 CMD_NODE_CONFIG_INIT_REPLY,
99 CMD_NODE_SET_AFFINITY,
100 CMD_NODE_CONFIG_EXIT,
101 CMD_NODE_CONFIG_EXIT_REPLY,
102 CMD_NODE_CREATE_PIPE,
103 CMD_NODE_DESTROY_PIPE,
104 CMD_NODE_FRAME_START,
105 CMD_NODE_FRAME_FINISH,
106 CMD_NODE_FRAME_FINISH_REPLY,
107 CMD_NODE_FRAME_DRAW_FINISH,
108 CMD_NODE_FRAME_TASKS_FINISH,
109 CMD_NODE_FRAMEDATA_TRANSMIT,
110 CMD_NODE_FRAMEDATA_READY,
111 CMD_NODE_CUSTOM = CMD_OBJECT_CUSTOM + 20
116 CMD_PIPE_NEW_WINDOW = CMD_OBJECT_CUSTOM,
117 CMD_PIPE_NEW_WINDOW_REPLY,
118 CMD_PIPE_CONFIG_INIT,
119 CMD_PIPE_CONFIG_INIT_REPLY,
120 CMD_PIPE_CONFIG_EXIT,
121 CMD_PIPE_CONFIG_EXIT_REPLY,
122 CMD_PIPE_CREATE_WINDOW,
123 CMD_PIPE_DESTROY_WINDOW,
124 CMD_PIPE_FRAME_START,
125 CMD_PIPE_FRAME_FINISH,
126 CMD_PIPE_FRAME_DRAW_FINISH,
127 CMD_PIPE_FRAME_START_CLOCK,
128 CMD_PIPE_EXIT_THREAD,
129 CMD_PIPE_EXIT_TRANSFER_THREAD,
130 CMD_PIPE_DETACH_VIEW,
131 CMD_PIPE_CUSTOM = CMD_OBJECT_CUSTOM + 20
136 CMD_WINDOW_NEW_CHANNEL = CMD_OBJECT_CUSTOM,
137 CMD_WINDOW_NEW_CHANNEL_REPLY,
138 CMD_WINDOW_CONFIG_INIT,
139 CMD_WINDOW_CONFIG_INIT_REPLY,
140 CMD_WINDOW_CONFIG_EXIT,
141 CMD_WINDOW_CONFIG_EXIT_REPLY,
142 CMD_WINDOW_CREATE_CHANNEL,
143 CMD_WINDOW_DESTROY_CHANNEL,
144 CMD_WINDOW_FRAME_START,
145 CMD_WINDOW_FRAME_FINISH,
148 CMD_WINDOW_THROTTLE_FRAMERATE,
150 CMD_WINDOW_NV_BARRIER,
152 CMD_WINDOW_FRAME_DRAW_FINISH,
153 CMD_WINDOW_CREATE_QGL_WIDGET,
154 CMD_WINDOW_DESTROY_QGL_WIDGET,
155 CMD_WINDOW_CUSTOM = CMD_OBJECT_CUSTOM + 20
160 CMD_CHANNEL_CONFIG_INIT = CMD_OBJECT_CUSTOM,
161 CMD_CHANNEL_CONFIG_INIT_REPLY,
162 CMD_CHANNEL_CONFIG_EXIT,
163 CMD_CHANNEL_CONFIG_EXIT_REPLY,
164 CMD_CHANNEL_FRAME_START,
165 CMD_CHANNEL_FRAME_FINISH,
166 CMD_CHANNEL_FRAME_FINISH_REPLY,
167 CMD_CHANNEL_FRAME_CLEAR,
168 CMD_CHANNEL_FRAME_DRAW,
169 CMD_CHANNEL_FRAME_DRAW_FINISH,
170 CMD_CHANNEL_FRAME_ASSEMBLE,
171 CMD_CHANNEL_FRAME_READBACK,
172 CMD_CHANNEL_FRAME_TRANSMIT_IMAGE,
173 CMD_CHANNEL_FRAME_SET_READY,
174 CMD_CHANNEL_FRAME_SET_READY_NODE,
175 CMD_CHANNEL_FRAME_VIEW_START,
176 CMD_CHANNEL_FRAME_VIEW_FINISH,
177 CMD_CHANNEL_STOP_FRAME,
178 CMD_CHANNEL_FRAME_TILES,
179 CMD_CHANNEL_FINISH_READBACK,
180 CMD_CHANNEL_DELETE_TRANSFER_CONTEXT,
181 CMD_CHANNEL_CUSTOM = CMD_OBJECT_CUSTOM + 30
186 CMD_CANVAS_NEW_SEGMENT = CMD_OBJECT_CUSTOM,
187 CMD_CANVAS_NEW_SEGMENT_REPLY,
188 CMD_CANVAS_CUSTOM = CMD_OBJECT_CUSTOM + 5
193 CMD_LAYOUT_NEW_VIEW = CMD_OBJECT_CUSTOM,
194 CMD_LAYOUT_NEW_VIEW_REPLY,
195 CMD_LAYOUT_CUSTOM = CMD_OBJECT_CUSTOM + 5
200 CMD_VIEW_CUSTOM = CMD_OBJECT_CUSTOM + 5
205 #endif // EQFABRIC_COMMANDS_H