[Spice-devel] [PATCH 01/10] server/tests/test_display_no_ssl: (revert me?) make window 320x320, two colored updates, one in notify batch

Alon Levy alevy at redhat.com
Sat Jan 8 06:23:19 PST 2011


---
 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 7edc8dc..5198926 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;
 
-- 
1.7.3.4



More information about the Spice-devel mailing list