[PATCH] Added two MMX fast paths for a SOURCE operator with a =

Antoine Azar cairo at antoineazar.com
Fri Mar 28 19:23:55 PDT 2008


XRGB source and a ARGB dest=0A=
=0A=
---=0A=
 pixman/pixman-pict.c |    2 ++=0A=
 1 files changed, 2 insertions(+), 0 deletions(-)=0A=
=0A=
diff --git a/pixman/pixman-pict.c b/pixman/pixman-pict.c=0A=
index 93677d1..b7df3d0 100644=0A=
--- a/pixman/pixman-pict.c=0A=
+++ b/pixman/pixman-pict.c=0A=
@@ -1398,6 +1398,8 @@ static const FastPathInfo mmx_fast_paths[] =3D=0A=
     { PIXMAN_OP_SRC, PIXMAN_a8b8g8r8,  PIXMAN_null,	PIXMAN_a8b8g8r8, =
fbCompositeCopyAreammx, 0 },=0A=
     { PIXMAN_OP_SRC, PIXMAN_x8r8g8b8,  PIXMAN_null,	PIXMAN_x8r8g8b8, =
fbCompositeCopyAreammx, 0 },=0A=
     { PIXMAN_OP_SRC, PIXMAN_x8b8g8r8,  PIXMAN_null,	PIXMAN_x8b8g8r8, =
fbCompositeCopyAreammx, 0 },=0A=
+    { PIXMAN_OP_SRC, PIXMAN_x8r8g8b8,  PIXMAN_null,	PIXMAN_a8r8g8b8, =
fbCompositeCopyAreammx, 0 },=0A=
+    { PIXMAN_OP_SRC, PIXMAN_x8b8g8r8,  PIXMAN_null,	PIXMAN_a8b8g8r8, =
fbCompositeCopyAreammx, 0 },=0A=
     { PIXMAN_OP_SRC, PIXMAN_r5g6b5,    PIXMAN_null,     PIXMAN_r5g6b5,  =
 fbCompositeCopyAreammx, 0 },=0A=
     { PIXMAN_OP_SRC, PIXMAN_b5g6r5,    PIXMAN_null,     PIXMAN_b5g6r5,  =
 fbCompositeCopyAreammx, 0 },=0A=
     { PIXMAN_OP_IN,  PIXMAN_a8,        PIXMAN_null,     PIXMAN_a8,      =
 fbCompositeIn_8x8mmx,   0 },=0A=
-- =0A=
1.5.4.rc3.941.gebb79=0A=
=0A=

--Boundary_(ID_Bl9oG+c0xDQmOa+5fKdTeQ)
Content-type: application/octet-stream;
 name=0001-Implemented-operator-optimization-espescially-used.patch
Content-transfer-encoding: quoted-printable
Content-disposition: attachment;
 filename=0001-Implemented-operator-optimization-espescially-used.patch



More information about the cairo mailing list