Our FPU-based implementation will use the pixel_float_t type
extensively, and the purpose of this patch is to introduce this
data type.
---
 pixman/pixman-private.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index e622866..c220652 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -202,6 +202,15 @@ union pixman_image
     solid_fill_t       solid;
 };
 
+typedef struct
+{
+#ifdef WORDS_BIGENDIAN
+    float a,r,g,b;
+#else
+    float b,g,r,a;
+#endif
+} pixel_float_t;
+
 void
 _pixman_bits_image_setup_accessors (bits_image_t *image);
 
-- 
1.6.3.3

_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to