mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 08:41:48 +00:00
server/tests/test_display_no_ssl: make window 320x320, two colored updates, one in notify batch
This commit is contained in:
parent
0438742dcc
commit
e62f4b6fc7
@ -24,8 +24,8 @@ void test_spice_destroy_update(SimpleSpiceUpdate *update)
|
||||
free(update);
|
||||
}
|
||||
|
||||
#define WIDTH 800
|
||||
#define HEIGHT 600
|
||||
#define WIDTH 320
|
||||
#define HEIGHT 320
|
||||
|
||||
static float angle = 0;
|
||||
static int unique = 1;
|
||||
@ -45,8 +45,8 @@ SimpleSpiceUpdate *test_spice_create_update()
|
||||
int bw, bh;
|
||||
int i;
|
||||
|
||||
angle += 0.1;
|
||||
color = (color + 1) % 10;
|
||||
angle += 0.2;
|
||||
color = (color + 1) % 2;
|
||||
unique++;
|
||||
|
||||
update = calloc(sizeof(*update), 1);
|
||||
@ -164,7 +164,7 @@ void get_init_info(QXLInstance *qin, QXLDevInitInfo *info)
|
||||
info->n_surfaces = 1;
|
||||
}
|
||||
|
||||
#define NOTIFY_BATCH 5
|
||||
#define NOTIFY_BATCH 1
|
||||
|
||||
int notify = NOTIFY_BATCH;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user