More work on displaying images

This commit is contained in:
Kovid Goyal
2017-09-29 10:00:21 +05:30
parent b722bc809c
commit e5898ad4b0
2 changed files with 18 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ typedef struct {
uint32_t width, height, x_offset, y_offset, data_height, data_width, num_cells, num_lines;
int32_t z_index;
size_t payload_sz;
bool layers_dirty;
} GraphicsCommand;
typedef struct {
@@ -30,6 +32,7 @@ typedef struct {
typedef struct {
uint32_t src_width, src_height, src_x, src_y;
uint32_t dest_x_offset, dest_y_offset;
int z_index;
int start_row, start_column, end_row, end_column;
} ImageRef;