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,
54 CMD_CLIENT_CUSTOM = CMD_SERVER_CUSTOM + 5
59 CMD_OBJECT_SYNC = co::CMD_OBJECT_CUSTOM,
60 CMD_OBJECT_CUSTOM = co::CMD_OBJECT_CUSTOM + 5
65 CMD_CONFIG_NEW_LAYOUT = CMD_OBJECT_CUSTOM,
66 CMD_CONFIG_NEW_CANVAS,
67 CMD_CONFIG_NEW_OBSERVER,
68 CMD_CONFIG_NEW_ENTITY_REPLY,
69 CMD_CONFIG_START_INIT,
70 CMD_CONFIG_START_INIT_REPLY,
72 CMD_CONFIG_INIT_REPLY,
74 CMD_CONFIG_EXIT_REPLY,
76 CMD_CONFIG_UPDATE_VERSION,
77 CMD_CONFIG_UPDATE_REPLY,
78 CMD_CONFIG_CREATE_REPLY,
79 CMD_CONFIG_CREATE_NODE,
80 CMD_CONFIG_DESTROY_NODE,
81 CMD_CONFIG_START_FRAME,
82 CMD_CONFIG_RELEASE_FRAME_LOCAL,
83 CMD_CONFIG_FRAME_FINISH,
84 CMD_CONFIG_FINISH_ALL_FRAMES,
85 CMD_CONFIG_STOP_FRAMES,
88 CMD_CONFIG_SYNC_CLOCK,
89 CMD_CONFIG_SWAP_OBJECT,
90 CMD_CONFIG_CHECK_FRAME,
91 CMD_CONFIG_CUSTOM = CMD_OBJECT_CUSTOM + 30
96 CMD_NODE_CONFIG_INIT = CMD_OBJECT_CUSTOM,
97 CMD_NODE_CONFIG_INIT_REPLY,
98 CMD_NODE_SET_AFFINITY,
100 CMD_NODE_CONFIG_EXIT_REPLY,
101 CMD_NODE_CREATE_PIPE,
102 CMD_NODE_DESTROY_PIPE,
103 CMD_NODE_FRAME_START,
104 CMD_NODE_FRAME_FINISH,
105 CMD_NODE_FRAME_FINISH_REPLY,
106 CMD_NODE_FRAME_DRAW_FINISH,
107 CMD_NODE_FRAME_TASKS_FINISH,
108 CMD_NODE_FRAMEDATA_TRANSMIT,
109 CMD_NODE_FRAMEDATA_READY,
110 CMD_NODE_CUSTOM = CMD_OBJECT_CUSTOM + 20
115 CMD_PIPE_NEW_WINDOW = CMD_OBJECT_CUSTOM,
116 CMD_PIPE_NEW_WINDOW_REPLY,
117 CMD_PIPE_CONFIG_INIT,
118 CMD_PIPE_CONFIG_INIT_REPLY,
119 CMD_PIPE_CONFIG_EXIT,
120 CMD_PIPE_CONFIG_EXIT_REPLY,
121 CMD_PIPE_CREATE_WINDOW,
122 CMD_PIPE_DESTROY_WINDOW,
123 CMD_PIPE_FRAME_START,
124 CMD_PIPE_FRAME_FINISH,
125 CMD_PIPE_FRAME_DRAW_FINISH,
126 CMD_PIPE_FRAME_START_CLOCK,
127 CMD_PIPE_EXIT_THREAD,
128 CMD_PIPE_EXIT_TRANSFER_THREAD,
129 CMD_PIPE_DETACH_VIEW,
130 CMD_PIPE_CUSTOM = CMD_OBJECT_CUSTOM + 20
135 CMD_WINDOW_NEW_CHANNEL = CMD_OBJECT_CUSTOM,
136 CMD_WINDOW_NEW_CHANNEL_REPLY,
137 CMD_WINDOW_CONFIG_INIT,
138 CMD_WINDOW_CONFIG_INIT_REPLY,
139 CMD_WINDOW_CONFIG_EXIT,
140 CMD_WINDOW_CONFIG_EXIT_REPLY,
141 CMD_WINDOW_CREATE_CHANNEL,
142 CMD_WINDOW_DESTROY_CHANNEL,
143 CMD_WINDOW_FRAME_START,
144 CMD_WINDOW_FRAME_FINISH,
147 CMD_WINDOW_THROTTLE_FRAMERATE,
149 CMD_WINDOW_NV_BARRIER,
151 CMD_WINDOW_FRAME_DRAW_FINISH,
152 CMD_WINDOW_CUSTOM = CMD_OBJECT_CUSTOM + 20
157 CMD_CHANNEL_CONFIG_INIT = CMD_OBJECT_CUSTOM,
158 CMD_CHANNEL_CONFIG_INIT_REPLY,
159 CMD_CHANNEL_CONFIG_EXIT,
160 CMD_CHANNEL_CONFIG_EXIT_REPLY,
161 CMD_CHANNEL_FRAME_START,
162 CMD_CHANNEL_FRAME_FINISH,
163 CMD_CHANNEL_FRAME_FINISH_REPLY,
164 CMD_CHANNEL_FRAME_CLEAR,
165 CMD_CHANNEL_FRAME_DRAW,
166 CMD_CHANNEL_FRAME_DRAW_FINISH,
167 CMD_CHANNEL_FRAME_ASSEMBLE,
168 CMD_CHANNEL_FRAME_READBACK,
169 CMD_CHANNEL_FRAME_TRANSMIT_IMAGE,
170 CMD_CHANNEL_FRAME_SET_READY,
171 CMD_CHANNEL_FRAME_SET_READY_NODE,
172 CMD_CHANNEL_FRAME_VIEW_START,
173 CMD_CHANNEL_FRAME_VIEW_FINISH,
174 CMD_CHANNEL_STOP_FRAME,
175 CMD_CHANNEL_FRAME_TILES,
176 CMD_CHANNEL_FINISH_READBACK,
177 CMD_CHANNEL_DELETE_TRANSFER_CONTEXT,
178 CMD_CHANNEL_CUSTOM = CMD_OBJECT_CUSTOM + 30
183 CMD_CANVAS_NEW_SEGMENT = CMD_OBJECT_CUSTOM,
184 CMD_CANVAS_NEW_SEGMENT_REPLY,
185 CMD_CANVAS_CUSTOM = CMD_OBJECT_CUSTOM + 5
190 CMD_LAYOUT_NEW_VIEW = CMD_OBJECT_CUSTOM,
191 CMD_LAYOUT_NEW_VIEW_REPLY,
192 CMD_LAYOUT_CUSTOM = CMD_OBJECT_CUSTOM + 5
197 CMD_VIEW_CUSTOM = CMD_OBJECT_CUSTOM + 5
202 #endif // EQFABRIC_COMMANDS_H