From: Søren Sandmann Pedersen s...@redhat.com
A CRC32 based test program to check that pixman_composite_trapezoids()
actually works.
---
test/Makefile.am|5 +
test/composite-traps-test.c | 253 +++
2 files changed, 258 insertions(+), 0
From: Søren Sandmann Pedersen s...@redhat.com
The Render X extension can draw triangles as well as trapezoids, but
the implementation has always converted them to trapezoids. This patch
moves the X server's triangle conversion code into pixman, where we
can reuse the pixman_composite_trapezoid()
From: Søren Sandmann Pedersen s...@redhat.com
When the source is opaque and the destination is alpha only, we can
avoid the temporary mask and just add the trapezoids directly.
---
pixman/pixman-trap.c | 133 -
1 files changed, 76 insertions(+),
From: Søren Sandmann Pedersen s...@redhat.com
This allows some more code to be deleted from the X server. The
implementation consists of converting to trapezoids, and is shared
with pixman_composite_triangles().
---
pixman/pixman-trap.c | 61 -
From: Søren Sandmann Pedersen s...@redhat.com
The fb version simply calls the new pixman_composite_triangles(). This
allows us to get rid of miCreateAlphaPicture().
Signed-off-by: Søren Sandmann s...@redhat.com
---
fb/fbpict.c |1 +
fb/fbpict.h | 10 +
fb/fbtrap.c | 109
From: Søren Sandmann Pedersen s...@redhat.com
This allows the remaining triangle-to-trap conversion code to be
deleted.
Signed-off-by: Søren Sandmann s...@redhat.com
---
fb/fbtrap.c | 91 ++-
1 files changed, 9 insertions(+), 82
2011/2/11 吴晓有 w...@cloud114.com:
你好,你能发一份pixman的使用说明给我吗,我正在从事和图形出来相关的开发,但是没有pixman的手册,得到了源码也没法使用,谢谢!
Hello,sir,can you send me the user_manual of pixman to me? I am a coder,now
trying a project about graphics,needing pixman, I had getted the source of
pixman,but without user_manual, I can
Soeren Sandmann wrote:
(1) The equation would be
(src OP dst) LERP_mask dst
and not
(src IN mask) OP dst
(2) The RGB channels of Alpha-only images would be considered to be
the same as the alpha channel, and not 0 as they are now. For
example, a 0xb9 pixel in