Commit Graph

516 Commits

Author SHA1 Message Date
Julien Cristau
abe019e234 Prepare changelog for upload 2009-02-15 23:01:26 +01:00
Julien Cristau
94ac0f0052 Update changelogs 2009-02-15 22:58:10 +01:00
Julien Cristau
275ec8d50e Merge tag 'pixman-0.14.0' into debian-unstable 2009-02-15 22:57:59 +01:00
Julien Cristau
46ea29b6c9 Merge branch 'debian-experimental' into debian-unstable
Conflicts:
	debian/changelog
2009-02-15 22:57:47 +01:00
Søren Sandmann Pedersen
6df6a43dc7 Bump version number pre release 2009-02-06 17:31:32 -05:00
Søren Sandmann Pedersen
6e6c7ac5e0 Comment out SrcScaledNearest optimization that hasn't been tested much 2009-02-06 17:30:24 -05:00
Søren Sandmann Pedersen
e651118b67 Fix release targets to remove all hashfiles before generating tar balls 2009-02-06 17:29:04 -05:00
Jeff Muizelaar
072d848f59 Add pixman-matrix.c to Makefile.win32 2009-01-09 12:48:22 -05:00
Jeff Muizelaar
c55db29057 Conditionally include config.h in pixman-matrix.c to fix win32 build 2009-01-09 12:48:20 -05:00
Julien Cristau
f6b1c8725f Prepare changelog for upload 2009-01-04 21:39:35 +01:00
Julien Cristau
0688517667 Fix shlibs for the udeb. 2009-01-04 21:36:09 +01:00
Julien Cristau
eac4f90eb0 Don't use ARM SIMD code.
It doesn't do runtime detection, and will only work on ARMv6.
2008-12-25 17:12:00 +01:00
Chris Wilson
8f98ffadf5 Fix pixman-1-uninstalled.pc to point to the libtool library
Otherwise we fail to link when compiling cairo against the uninstalled
library.
2008-12-20 17:18:51 +00:00
Chris Wilson
9d726712c2 Allocate initial array of RegionInfo on the stack.
The region validate() code is frequently called by cairo as it is used to
extract regions from the trapezoids for fast-paths through the drawing
code and also for fast-path clipping and the RegionInfo allocation (as
well as the pixman_rect_alloc during the final union) appears as a hot
spot on application memory profiles.
2008-12-20 16:55:09 +00:00
Aaron Plattner
08530f5bf2 Don't treat PIXMAN_TYPE_YUY2 and PIXMAN_TYPE_YV12 as PIXMAN_FORMAT_COLOR.
Various pieces of code expect PIXMAN_FORMAT_COLOR (and its less cool older
brother, PICT_FORMAT_COLOR) formats to have ARGB bits, and the YUV formats do
not.
2008-12-17 10:38:12 -08:00
Jeff Muizelaar
4546234c18 [arm-simd] Add a comment about aligning source and destination pointers. 2008-12-05 12:01:03 -05:00
Jeff Muizelaar
985829f26b Check alignment of 'src' pointer in optimized ARM routines
fbCompositeSrcAdd_8000x8000arm() tries to align 'dst' already but must check
'src' too.  Otherwise, the next 4-byte copy loop might access an odd 'src' address
causing an alignment trap.

Patch from Enrico Scholz
2008-12-05 11:45:03 -05:00
Timo Aaltonen
6318905460 Update libpixman-1-0.symbols with new symbols. 2008-11-26 12:31:40 +02:00
Timo Aaltonen
ee4da466a9 Update the changelog. 2008-11-26 10:45:42 +02:00
Timo Aaltonen
b0a2c348d3 Merge commit 'pixman-0.13.2' into debian-experimental 2008-11-26 10:41:28 +02:00
Keith Packard
4238047c22 Merge commit 'origin/master' 2008-11-25 22:04:29 -08:00
Keith Packard
bfa76d47ac Bump to 0.13.3 after 0.13.2 release 2008-11-25 22:03:55 -08:00
Keith Packard
0191d1a41e Bump version to 0.13.2 for release 2008-11-25 21:37:54 -08:00
Keith Packard
6002963ea3 Move matrix operations from X server to pixman
Signed-off-by: Keith Packard <keithp@keithp.com>
2008-11-25 20:58:44 -08:00
Jeff Muizelaar
d625ca5f29 Optimize rectilinear nearest-neighbour scaling
Add a special case for a source transformation that is only a scale and
preserves rectangular pixels and doesn't rotate the image. Currently, only
SOURCE is special cased, however I plan to do more work in this area as needed.
The biggest advantage the specialization currently has is writing directly to
the destination surface instead of a temporary scanline buffer. However, it is
still pretty unoptimized but I want to keep things simple for now.
2008-11-25 09:55:15 -05:00
Jeff Muizelaar
0c3dd54f6b Unify scanline buffer types
Change the type of the stack based scanline buffer to uint8_t to match the rest
of the variables. Also premultiply the scanline buffer size by sizeof(uint32_t)
because the bpp can be either sizeof(uint32_t) or sizeof(uint64_t).
2008-11-21 21:35:30 -05:00
Jeff Muizelaar
e201504da8 [arm-simd] Fix typo found by 王新拓
'and r7, %[upper_component_mask]' appears to by a short hand for
'and r7, %[upper_component_mask], %[upper_component_mask]'. Use
the explicit form to avoid any confusion.
2008-11-20 10:41:40 -05:00
David Woodhouse
cd2a79ab81 Less fragile Linux altivec detection
Instead of using really fragile SIGILL trapping, use a more reliable
detection method by checking what the CPU really supports.

https://bugzilla.redhat.com/show_bug.cgi?id=472000
https://bugzilla.redhat.com/show_bug.cgi?id=451831
2008-11-18 16:01:11 -05:00
Søren Sandmann Pedersen
b1b0507c24 Make comments about PIXMAN_REFLECT more useful 2008-11-10 23:18:09 -05:00
Søren Sandmann Pedersen
056c6d97db Various formatting fixes, and a simplification of the adjusting code 2008-11-05 23:58:56 -05:00
Søren Sandmann Pedersen
607562b2a6 Inline the fetchers 2008-11-05 17:51:55 -05:00
Søren Sandmann Pedersen
7a1717e605 Use fetch_nearest() instead of having duplicated code 2008-11-05 17:23:45 -05:00
Søren Sandmann Pedersen
49647e7054 Do the fetch_bilinear inline rather than in separate functions 2008-11-05 17:12:22 -05:00
Søren Sandmann Pedersen
c8b314c43b Make use of fetch_bilinear() in the various bilinear implementations 2008-11-05 16:59:56 -05:00
Søren Sandmann Pedersen
bad1ee39d3 Add fetch_bilinear function 2008-11-05 16:38:33 -05:00
Søren Sandmann Pedersen
95f2af9584 Add missing pixman-arm-simd.[ch] files.
Pointed out by Chris Ball and Adrian Bunk.
2008-11-03 13:09:02 -05:00
Søren Sandmann Pedersen
1d5bb7a3f1 Inlucde inttypes.h on digital Tru64
Bug 18007, reported by Joonas Pihlaja.
2008-10-31 15:08:03 -04:00
Adrian Bunk
f9db3ec7b9 Rename the current ARM code to ARM SIMD
This code is only for CPUs supporting the SIMD instructions, not for all ARM
CPUs.

I stumbled above the recent commit with the ARM SIMD code while preparing a
patch that models the patch from #13445 after the MMX and SSE2 cases:

The ARM SIMD option currently uses --disable-arm, although this code is only
for CPUs >= ARMv6. That's as if one would call the option to disable the SSE2
code --disable-x86.

This patch therefore renames the configure option and the function and file
names to arm-simd/arm_simd.
2008-10-31 14:59:30 -04:00
Alan Coopersmith
b9e2dd783e Define force_inline for compilers other than gcc & MS Visual C 2008-10-29 18:13:59 -07:00
Jeff Muizelaar
3a775610f2 Cleanup inline definitions
Replace all inline definitions with a common one in pixman-private.h. Also, add
'force_inline' and replace all existing uses of 'inline' as a forced inline
with 'force_inline'.
2008-10-29 17:14:41 -07:00
Søren Sandmann Pedersen
d68ebb7701 Remove unused AddMul_256 macro 2008-10-15 18:46:38 -04:00
Benjamin Otte
8f5cb6916d unswitch red and blue
The previous code assumed a color format of ABGR when naming the
variables. The true color format is ARGB. This did not cause any bugs
because no functions rely on the order of colors so far. This patch
renames the variables just to avoid confusion.
2008-10-13 00:05:40 +02:00
Benjamin Otte
f5d4e01c39 update .gitignore 2008-10-08 21:21:58 +02:00
Benjamin Otte
69dadf2312 force alignment of arg pointer in potential SSE users
Fix for bug 17824
2008-10-08 21:18:12 +02:00
David Müller
1c5de7b058 Move _mm_empty() to correct place
The "fbComposeSetupSSE2()" function is guarding most of its code
depending on the capabilities of the CPU, but unfortunately the call
to "_mm_empty()" is not part of this code path but executed
unconditionally.  This results in a "illegal instruction" crash on
non-MMX / non-SSE capable CPUs caused by the the "emms" instruction
(embedded in "_mm_empty()").

Fix bug 17729.
2008-09-23 07:45:51 -04:00
Søren Sandmann Pedersen
aadcc7f011 Update TODO 2008-09-21 11:01:07 -04:00
Julien Cristau
aeff42b323 Prepare changelog for upload 2008-09-21 17:01:04 +02:00
Julien Cristau
9a87dbfab2 Bump shlibs to 0.11.10 as well. 2008-09-21 17:00:58 +02:00
Søren Sandmann Pedersen
9cb60e142b Make use of SSE2 blt/fill in more places 2008-09-21 11:00:33 -04:00
Julien Cristau
d69d2705d1 Merge tag 'pixman-0.12.0'
Conflicts:

	configure.ac
2008-09-19 10:29:05 +02:00