diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-24 17:39:30 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-01-10 14:10:38 +0200 |
commit | e62f4b6fc7e6962ed1c664f380c24dd9e35bca34 (patch) | |
tree | 08d6d7009fffed0763d5ac94181258658f7ee7a3 /server/tests/test_display_no_ssl.c | |
parent | 0438742dcc9fdf5f21afba1edc931632f51a55ed (diff) | |
download | spice-e62f4b6fc7e6962ed1c664f380c24dd9e35bca34.tar.gz spice-e62f4b6fc7e6962ed1c664f380c24dd9e35bca34.tar.xz spice-e62f4b6fc7e6962ed1c664f380c24dd9e35bca34.zip |
server/tests/test_display_no_ssl: make window 320x320, two colored updates, one in notify batch
Diffstat (limited to 'server/tests/test_display_no_ssl.c')
-rw-r--r-- | server/tests/test_display_no_ssl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/test_display_no_ssl.c b/server/tests/test_display_no_ssl.c index 7edc8dc7..5198926f 100644 --- a/server/tests/test_display_no_ssl.c +++ b/server/tests/test_display_no_ssl.c @@ -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; |