aboutsummaryrefslogtreecommitdiff
path: root/pixman/demos
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-01 16:36:19 +0200
committermarha <marha@users.sourceforge.net>2011-06-01 16:36:19 +0200
commit75becbf5e6dcd4667aa88665a1a681fb8620b2c4 (patch)
tree4e6ed6cb893d9ea4c17172b17b1567cfd76cddb8 /pixman/demos
parent32ccde45cc1f46a3bd72c44c4f3fcd03742dbb3c (diff)
downloadvcxsrv-75becbf5e6dcd4667aa88665a1a681fb8620b2c4.tar.gz
vcxsrv-75becbf5e6dcd4667aa88665a1a681fb8620b2c4.tar.bz2
vcxsrv-75becbf5e6dcd4667aa88665a1a681fb8620b2c4.zip
mesa pixman xkeyboard-config git update 1 Jun 2011
Diffstat (limited to 'pixman/demos')
-rw-r--r--pixman/demos/alpha-test.c4
-rw-r--r--pixman/demos/gradient-test.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/pixman/demos/alpha-test.c b/pixman/demos/alpha-test.c
index 92c208142..54e30fad5 100644
--- a/pixman/demos/alpha-test.c
+++ b/pixman/demos/alpha-test.c
@@ -40,10 +40,12 @@ main (int argc, char **argv)
};
#endif
+#if 0
pixman_point_fixed_t c_inner;
pixman_point_fixed_t c_outer;
pixman_fixed_t r_inner;
pixman_fixed_t r_outer;
+#endif
for (i = 0; i < WIDTH * HEIGHT; ++i)
alpha[i] = 0x4f00004f; /* pale blue */
@@ -69,6 +71,7 @@ main (int argc, char **argv)
src,
WIDTH * 4);
+#if 0
c_inner.x = pixman_double_to_fixed (50.0);
c_inner.y = pixman_double_to_fixed (50.0);
c_outer.x = pixman_double_to_fixed (50.0);
@@ -76,7 +79,6 @@ main (int argc, char **argv)
r_inner = 0;
r_outer = pixman_double_to_fixed (50.0);
-#if 0
grad_img = pixman_image_create_conical_gradient (&c_inner, r_inner,
stops, 2);
#endif
diff --git a/pixman/demos/gradient-test.c b/pixman/demos/gradient-test.c
index fc84844b0..20f78a6aa 100644
--- a/pixman/demos/gradient-test.c
+++ b/pixman/demos/gradient-test.c
@@ -36,10 +36,12 @@ main (int argc, char **argv)
};
#endif
+#if 0
pixman_point_fixed_t c_inner;
pixman_point_fixed_t c_outer;
pixman_fixed_t r_inner;
pixman_fixed_t r_outer;
+#endif
for (i = 0; i < WIDTH * HEIGHT; ++i)
dest[i] = 0x4f00004f; /* pale blue */
@@ -49,6 +51,7 @@ main (int argc, char **argv)
dest,
WIDTH * 4);
+#if 0
c_inner.x = pixman_double_to_fixed (50.0);
c_inner.y = pixman_double_to_fixed (50.0);
c_outer.x = pixman_double_to_fixed (50.0);
@@ -58,6 +61,7 @@ main (int argc, char **argv)
src_img = pixman_image_create_conical_gradient (&c_inner, r_inner,
stops, 2);
+#endif
#if 0
src_img = pixman_image_create_conical_gradient (&c_inner, r_inner,
stops, 2);