Commit Graph

1110 Commits

Author SHA1 Message Date
Søren Sandmann Pedersen
06f5b51fee Return TRUE for the two new formats in pixman_format_supported_source(). 2009-07-04 22:49:16 -04:00
Søren Sandmann Pedersen
b0f220b7f2 Inlucde pixman-private.h in pixman-region.c
Delete some duplicated macros.
2009-07-04 21:49:35 -04:00
Søren Sandmann Pedersen
f6ef071e28 Rename OptimizedOperatorInfo to optimized_operator_info_t 2009-07-04 21:49:35 -04:00
Ben Skeggs
7b7e4b23ca Add accessor functions for PIXMAN_x2r10g10b10 and PIXMAN_a2r10g10b10 2009-07-02 16:40:29 -04:00
Jonathan Morton
968f720d0e Avoid overrunning scanlines in NEON blitters. 2009-07-02 10:51:36 -04:00
Søren Sandmann Pedersen
863f9e9b75 Change comma to semicolon in pixman-combine.c.template 2009-06-28 18:54:32 -04:00
Siarhei Siamashka
10aa323155 Really fix ARM build.
Commit 9d3f71d726 broke the build
on ARM architectures by just removing custom include files and
not providing "pixman-private.h" as a replacement.
2009-06-28 08:52:17 -04:00
Guillaume Letellier
996e59f7f8 Fix ARM build.
Commit 6e20c25743 broke the build on ARM
architectures by not updating the use of fbComposeGetSolid()
correctly.
2009-06-26 19:02:08 -04:00
Søren Sandmann Pedersen
e8addcc69a Change checks for srca == 0 to src == 0
It is not generally correct to bail out just because the source alpha
is 0. The color channels still mig not be and in that case the correct
result is:

       s + (1 - srca) * d = s + d

which is not generally 0.
2009-06-26 18:58:23 -04:00
Søren Sandmann Pedersen
9a7ce32ef5 Make arm compositing functions static 2009-06-25 12:42:03 -04:00
Søren Sandmann Pedersen
9d3f71d726 Delete ARM header files 2009-06-25 12:35:42 -04:00
Siarhei Siamashka
9837465fd9 Use -mcpu instead of -march for ARM SIMD runtime autodetection
Option -mcpu has higher priority than -march with the current versions
of gcc and that's why it is better to use. There is no particular
reason why 'arm1136j-s' is used in this patch, it could be any armv6
compatible core.
2009-06-25 08:07:37 -07:00
Søren Sandmann Pedersen
6b8251039a Add test cases to oob-test using PIXMAN_{a,x}2b10g10r10 2009-06-24 20:08:50 -04:00
Julien Cristau
3e6c5e1b12 Prepare changelog for upload 2009-06-24 21:13:09 +02:00
Julien Cristau
9de7e34f3f Version the build-dep on debhelper to silence lintian. 2009-06-24 21:13:01 +02:00
Julien Cristau
ff43ca0c2e Bump Standards-Version to 3.8.2. 2009-06-24 21:09:54 +02:00
Julien Cristau
c3fc596b8a Handle parallel=n in DEB_BUILD_OPTIONS. 2009-06-24 21:05:34 +02:00
Julien Cristau
2e2af14e35 Use filter instead of findstring for DEB_BUILD_OPTIONS parsing
Standardized by policy 3.8.0.
2009-06-24 21:04:23 +02:00
Julien Cristau
11057357dc Don't handle nostrip explicitly in debian/rules, dh_strip does that for us. 2009-06-24 21:03:18 +02:00
Julien Cristau
ac6a22493b Add ~ to pixman_image_set_source_clipping version in symbols file
Silences a lintian warning.
2009-06-24 21:01:23 +02:00
Julien Cristau
5be5b97ae3 Move libpixman-1-0-dbg to new 'debug' section. 2009-06-24 20:52:23 +02:00
Julien Cristau
222c4e6004 Run dh_shlibdeps after dh_installdeb to avoid a dpkg-shlibdeps warning. 2009-06-24 20:38:03 +02:00
Julien Cristau
575a2cd225 Update symbols file and bump shlibs for new version. 2009-06-24 20:34:46 +02:00
Julien Cristau
dd4da7cb1e Enable arm simd, we can do runtime detection now. 2009-06-24 20:12:57 +02:00
Julien Cristau
c9d9c6ded4 update changelogs 2009-06-24 20:10:48 +02:00
Julien Cristau
44c94b6113 Merge tag 'pixman-0.15.14' into debian-experimental 2009-06-24 20:10:11 +02:00
Søren Sandmann Pedersen
f94053cd9b Post-release version bump 2009-06-24 13:12:07 -04:00
Søren Sandmann Pedersen
f6faa06ef8 Pre-release version bump 2009-06-24 12:51:40 -04:00
Søren Sandmann Pedersen
084392fbd7 Delete scanFetchProc type. Use fetch_scanline_t instead.
fetch_scanline_t now takes a pixman_image_t argument instead of an
bits_image_t, so there is also a bunch of updates in pixman-access.c
2009-06-24 12:37:47 -04:00
Søren Sandmann Pedersen
588b42dc1e Constify the mask argument to scanline fetchers. 2009-06-24 12:37:47 -04:00
Søren Sandmann Pedersen
5cfdee917d Add a mask and mask_bits argument to the raw scanline fetchers. 2009-06-24 12:37:47 -04:00
Søren Sandmann Pedersen
d3bebaf731 Rename fetchProc32 to fetch_scanline_t and fetch_pixels_32_t to fetch_pixels_t 2009-06-24 12:37:47 -04:00
Søren Sandmann Pedersen
6af8672c69 Get rid of the 64 bit fetcher types.
It's simpler to just declare everything as 32 bit fetchers and do the
conversion in the few functions that actually need to know the size of
the pixel type.
2009-06-24 12:37:47 -04:00
Søren Sandmann Pedersen
70cba5cfa8 Consolidate the three scanline store types into one.
The 64 bit storers do their own type conversion.
2009-06-24 12:37:47 -04:00
Søren Sandmann Pedersen
973ebf1631 Get rid of remaining scanFetchProc casts 2009-06-24 12:37:46 -04:00
Søren Sandmann Pedersen
24303475c2 Get rid of scanFetchProc casts in pixman-radial-gradient.c 2009-06-24 12:37:46 -04:00
Søren Sandmann Pedersen
99780d3b22 Get rid of scanFetchProc casts in pixman-conical-gradient.c 2009-06-24 12:37:46 -04:00
Søren Sandmann Pedersen
2d2d3a2625 Get rid of casts to scanFetchProc in pixman-bits-image.c
Instead just declare the functions with the required type and do any
type conversions in the function itself.
2009-06-24 12:37:46 -04:00
Søren Sandmann Pedersen
4597ad88d9 Fix bug where 64 bit pixel were fetched as 32 bit ones. 2009-06-24 12:37:46 -04:00
Søren Sandmann Pedersen
aa6adb646a Delete FbIntMult and FbIntDiv macros, and move FbIntAdd to pixman-combine.h 2009-06-24 12:37:46 -04:00
Søren Sandmann Pedersen
53ada03119 Add a table to oob-test so that it can test more than one setup. 2009-06-24 12:33:26 -04:00
Søren Sandmann Pedersen
895a8da633 Fix offset bug in pixman_run_fast_path().
Fast paths should only run when the source images complete cover the
composite region, because otherwise they would be required to sample
the border, and fast paths generally don't know how to do that.

The check for this did not work right because it didn't take the
offset generated by the composite coordinates into account. This
commits fixes that by adding (x, y) coordinates to image cover
indicating the new position of the source in destination coordinates.

Based on this we now compare against the region extents which are
already in destination coordinates.
2009-06-24 12:30:45 -04:00
Søren Sandmann Pedersen
fd90429a32 Fix typo in oob-test.c 2009-06-24 11:24:11 -04:00
Søren Sandmann Pedersen
bed9c378ff Add test case for out-of-bounds memory access. 2009-06-24 10:37:07 -04:00
Søren Sandmann Pedersen
b6c97ae2c9 Fix comment in pixman-utils to have the right sense. 2009-06-24 09:05:55 -04:00
Søren Sandmann Pedersen
c0047fbfd5 Subtract x_off/y_off before conversion to integer.
They are fixed-point values, not integers.

Bug 22437, reported by Michel Dänzer.
2009-06-23 16:58:32 -04:00
Søren Sandmann Pedersen
905856f43d Add convolution-test.c program 2009-06-23 16:37:35 -04:00
Søren Sandmann Pedersen
79d397003f Delete leftover use of PIXMAN_OP_FLASH_SUBTRACT 2009-06-23 16:23:26 -04:00
Søren Sandmann Pedersen
ebc4a4df9c Remove support for component alpha with HSL blend modes.
It isn't clear that component alpha makes sense with HSL blend modes.
2009-06-23 14:55:36 -04:00
Søren Sandmann Pedersen
ca4ff13027 Remove FLASH_SUBTRACT blend mode.
We may resurrect it later, but leave it out for now, as the closest
thing we have to a spec:

http://www.kaourantin.net/2005/09/some-word-on-blend-modes-in-flash.html

claims that alpha values should be subtracted, whereas real-world flash
files indicate that they shouldn't.
2009-06-23 14:45:28 -04:00