Implement decoding of graphics command payload

This commit is contained in:
Kovid Goyal
2017-09-25 15:41:55 +05:30
parent b8d9629ee4
commit a9ed44eecc
4 changed files with 49 additions and 2 deletions

View File

@@ -11,5 +11,5 @@ typedef struct {
uint32_t format, more, id;
uint32_t width, height, x_offset, y_offset, data_height, data_width, num_cells, num_lines;
int32_t z_index;
char payload[4096];
size_t payload_sz;
} GraphicsCommand;