profile/ivi/pixman.git
15 years agoPre-release version bump
Søren Sandmann Pedersen [Fri, 22 May 2009 16:07:55 +0000 (12:07 -0400)]
Pre-release version bump

15 years agoInitialize the ARM SIMD fast path array.
Jonathan Morton [Fri, 22 May 2009 16:01:26 +0000 (12:01 -0400)]
Initialize the ARM SIMD fast path array.

15 years agoFix compile error caused by e42fae9e8364f5f0791f9fce749ab18b33acf598
Jonathan Morton [Fri, 22 May 2009 15:25:26 +0000 (08:25 -0700)]
Fix compile error caused by e42fae9e8364f5f0791f9fce749ab18b33acf598

15 years agoFix alpha map computation in pixman_compute_composite_region()
Søren Sandmann Pedersen [Wed, 20 May 2009 14:45:29 +0000 (10:45 -0400)]
Fix alpha map computation in pixman_compute_composite_region()

According to the RENDER spec, the origin of the alpha map is
interpreted relative to the origin of the drawable of the image, not
the origin of the drawable of the alpha map.

This commit fixes that and adds an alpha-test.c test program.

The only use of alpha maps I have been able to find is in Qt and they
don't use a non-zero alpha origin.

15 years agoAvoid malloc() by allocating a fixed set of boxes on the stack
Jonathan Morton [Thu, 21 May 2009 11:16:34 +0000 (07:16 -0400)]
Avoid malloc() by allocating a fixed set of boxes on the stack

15 years agoFix build on ppc. Pointed out by Chris Ball
Søren Sandmann Pedersen [Thu, 21 May 2009 09:07:19 +0000 (05:07 -0400)]
Fix build on ppc. Pointed out by Chris Ball

15 years agoMake SSE2 fast paths static and remove them from the header file
Søren Sandmann Pedersen [Wed, 13 May 2009 09:53:40 +0000 (05:53 -0400)]
Make SSE2 fast paths static and remove them from the header file

15 years agoMake MMX fast paths static and remove them from the header file
Søren Sandmann Pedersen [Wed, 13 May 2009 09:49:13 +0000 (05:49 -0400)]
Make MMX fast paths static and remove them from the header file

15 years agoNotes on component alpha
Søren Sandmann Pedersen [Tue, 5 May 2009 13:07:32 +0000 (09:07 -0400)]
Notes on component alpha

15 years agoNote about glyphs polygons
Søren Sandmann Pedersen [Tue, 5 May 2009 12:49:49 +0000 (08:49 -0400)]
Note about glyphs polygons

15 years agoNotes on output kernels
Søren Sandmann Pedersen [Tue, 5 May 2009 11:31:52 +0000 (07:31 -0400)]
Notes on output kernels

15 years agoFurther notes on the rendering pipeline
Søren Sandmann Pedersen [Tue, 5 May 2009 07:10:44 +0000 (03:10 -0400)]
Further notes on the rendering pipeline

15 years agoSome roadmap notes
Søren Sandmann Pedersen [Tue, 5 May 2009 05:58:48 +0000 (01:58 -0400)]
Some roadmap notes

15 years agoDescribe alpha map in the pipeline
Søren Sandmann Pedersen [Mon, 4 May 2009 21:39:19 +0000 (17:39 -0400)]
Describe alpha map in the pipeline

15 years agoNotes on the rendering pipeline
Søren Sandmann Pedersen [Mon, 4 May 2009 02:46:34 +0000 (22:46 -0400)]
Notes on the rendering pipeline

15 years agoMove C fast paths to their own file pixman-fast-path.c
Søren Sandmann Pedersen [Mon, 4 May 2009 01:07:06 +0000 (21:07 -0400)]
Move C fast paths to their own file pixman-fast-path.c

15 years agoMove the arch specific fast path tables into their arch files
Søren Sandmann Pedersen [Mon, 4 May 2009 01:05:45 +0000 (21:05 -0400)]
Move the arch specific fast path tables into their arch files

15 years agoMove CPU detection code to its own file
Søren Sandmann Pedersen [Sun, 3 May 2009 23:12:02 +0000 (19:12 -0400)]
Move CPU detection code to its own file

15 years agoMove conical gradient code to pixman-conical-gradient.c and delete pixman-source.c
Søren Sandmann Pedersen [Sun, 3 May 2009 05:18:49 +0000 (01:18 -0400)]
Move conical gradient code to pixman-conical-gradient.c and delete pixman-source.c

15 years agoMove the radial gradient code form pixman-source.c into pixman-radial-gradient.c
Søren Sandmann Pedersen [Sun, 3 May 2009 05:08:54 +0000 (01:08 -0400)]
Move the radial gradient code form pixman-source.c into pixman-radial-gradient.c

15 years agoDuplicate some code that was shared between radial and conical gradients.
Søren Sandmann Pedersen [Sun, 3 May 2009 04:59:36 +0000 (00:59 -0400)]
Duplicate some code that was shared between radial and conical gradients.

It is going to live in separate files.

15 years agoMove the linear gradient code from pixman-source.c into pixman-linear-gradient.c
Søren Sandmann Pedersen [Sun, 3 May 2009 04:56:16 +0000 (00:56 -0400)]
Move the linear gradient code from pixman-source.c into pixman-linear-gradient.c

15 years agoRename pixmanFetchSourcePict to pixmanFetchGradient
Søren Sandmann Pedersen [Sun, 3 May 2009 04:46:30 +0000 (00:46 -0400)]
Rename pixmanFetchSourcePict to pixmanFetchGradient

Move the solid fill parts into pixman-solid-fill.c

15 years agoAdd a generic 64 bit fetcher and use it for gradients and transformed images
Søren Sandmann Pedersen [Sun, 3 May 2009 03:26:30 +0000 (23:26 -0400)]
Add a generic 64 bit fetcher and use it for gradients and transformed images

15 years agoMove the gradient walker code to its own file
Søren Sandmann Pedersen [Sun, 3 May 2009 03:08:59 +0000 (23:08 -0400)]
Move the gradient walker code to its own file

15 years agoReplace pixman_image_get_fetchers() with pixman_image_get_scanline_{32,64}
Søren Sandmann Pedersen [Sun, 3 May 2009 02:55:56 +0000 (22:55 -0400)]
Replace pixman_image_get_fetchers() with pixman_image_get_scanline_{32,64}

15 years agoSet up scanline getters for bits images
Søren Sandmann Pedersen [Sun, 3 May 2009 02:46:20 +0000 (22:46 -0400)]
Set up scanline getters for bits images

15 years agoSet up scanline getters for source pictures
Søren Sandmann Pedersen [Sun, 3 May 2009 02:42:59 +0000 (22:42 -0400)]
Set up scanline getters for source pictures

15 years agoStore get_scanline() functions in the image struct
Søren Sandmann Pedersen [Sun, 3 May 2009 02:26:23 +0000 (22:26 -0400)]
Store get_scanline() functions in the image struct

15 years agoAdd stubs for property_changed virtual functions
Søren Sandmann Pedersen [Sun, 3 May 2009 02:00:25 +0000 (22:00 -0400)]
Add stubs for property_changed virtual functions

15 years agoSplit pixel images into pixman-bits-image.c
Søren Sandmann Pedersen [Sun, 3 May 2009 01:14:36 +0000 (21:14 -0400)]
Split pixel images into pixman-bits-image.c

15 years agoSplit conical gradient images into pixman-conical-gradient.c
Søren Sandmann Pedersen [Sun, 3 May 2009 01:08:12 +0000 (21:08 -0400)]
Split conical gradient images into pixman-conical-gradient.c

15 years agoSplit radial gradient images into pixman-radial-gradient.c
Søren Sandmann Pedersen [Sun, 3 May 2009 01:06:23 +0000 (21:06 -0400)]
Split radial gradient images into pixman-radial-gradient.c

15 years agoSplit linear gradient images into pixman-linear-gradient.c
Søren Sandmann Pedersen [Sun, 3 May 2009 00:54:17 +0000 (20:54 -0400)]
Split linear gradient images into pixman-linear-gradient.c

15 years agoSplit solid fill images into pixman-solid-fill.c
Søren Sandmann Pedersen [Sun, 3 May 2009 00:40:16 +0000 (20:40 -0400)]
Split solid fill images into pixman-solid-fill.c

15 years agoMerge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman
Søren Sandmann Pedersen [Sat, 16 May 2009 16:51:05 +0000 (12:51 -0400)]
Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman

15 years agoDon't read potentially uninitialized data in pixman_CombineMaskU()
Søren Sandmann Pedersen [Sat, 16 May 2009 12:33:35 +0000 (08:33 -0400)]
Don't read potentially uninitialized data in pixman_CombineMaskU()

This is mainly to quiet valgrind. The data in question would only be
uninitialized when the corresponding mask pixel was zero, so the end
result is zero in any case.

15 years agoFix fd check after auxv file open() [Bug 21749]
Loïc Minier [Fri, 15 May 2009 14:11:16 +0000 (16:11 +0200)]
Fix fd check after auxv file open() [Bug 21749]

Signed-off-by: Julien Cristau <jcristau@debian.org>
15 years agoDon't call hyphenated git commands as they don't exist anymore
Søren Sandmann Pedersen [Fri, 15 May 2009 11:47:59 +0000 (07:47 -0400)]
Don't call hyphenated git commands as they don't exist anymore

15 years agoPost-release version bump
Søren Sandmann Pedersen [Fri, 15 May 2009 11:47:22 +0000 (07:47 -0400)]
Post-release version bump

15 years agoPre-release version bump
Søren Sandmann Pedersen [Fri, 15 May 2009 10:57:59 +0000 (06:57 -0400)]
Pre-release version bump

15 years agoFix overflows during trap rasterization. [Bug 16560].
Adam Jackson [Fri, 15 May 2009 10:26:48 +0000 (06:26 -0400)]
Fix overflows during trap rasterization. [Bug 16560].

Avoid overflows when rasterizing traps that fall entirely in the space
between the final sample row and the end of the coordinate system, or
in the space between the beginning of the coordinate system and the
first sample row. Such traps don't contain any sample points, so the
top and bottom of the edges can safely be moved to the beginning/end.

15 years agoMerge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman
Søren Sandmann Pedersen [Wed, 13 May 2009 17:10:01 +0000 (13:10 -0400)]
Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman

15 years agoAdd test that shows difference in clipping with transformed vs untransformed
Søren Sandmann Pedersen [Wed, 13 May 2009 17:09:45 +0000 (13:09 -0400)]
Add test that shows difference in clipping with transformed vs untransformed

15 years agoRemove unused CombineMask64 type
Søren Sandmann Pedersen [Wed, 13 May 2009 10:17:55 +0000 (06:17 -0400)]
Remove unused CombineMask64 type

15 years agoMerge branch 'master' into refactor
Søren Sandmann Pedersen [Wed, 13 May 2009 09:58:36 +0000 (05:58 -0400)]
Merge branch 'master' into refactor

15 years agoFix divide-by-zero crash
Søren Sandmann Pedersen [Sat, 9 May 2009 12:34:12 +0000 (08:34 -0400)]
Fix divide-by-zero crash

15 years agoTest USE_GCC_INLINE_ASM instead of USE_NEON_INLINE_ASM.
Jonathan Morton [Thu, 7 May 2009 08:54:15 +0000 (11:54 +0300)]
Test USE_GCC_INLINE_ASM instead of USE_NEON_INLINE_ASM.

The former is now Autoconf enabled, and does what it says on the tin.

15 years agoFixed rendering bug for source alpha == 0 in OVER fastpath functions
Siarhei Siamashka [Tue, 5 May 2009 12:25:43 +0000 (15:25 +0300)]
Fixed rendering bug for source alpha == 0 in OVER fastpath functions

Handling of the case when source alpha is zero was keeping destination
pixel unmodified. But this is different from how generic path behaves.
For example fbOver(0x00200483, 0x9CAC7E9F) == 0x9CCC82FF and the
destination pixel changes from 0x9CAC7E9F to 0x9CCC82FF in spite
of having zero alpha.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
15 years agoEnable NEON assembly when we can build it
Jeff Muizelaar [Wed, 6 May 2009 17:30:29 +0000 (13:30 -0400)]
Enable NEON assembly when we can build it

This adds detection for ARM NEON build support as well as gnu assembler
syntax detection from Jonathan Morton.

15 years agoRemove unused combineMaskU functions
Søren Sandmann Pedersen [Sat, 2 May 2009 23:55:10 +0000 (19:55 -0400)]
Remove unused combineMaskU functions

15 years agoOptimize source reading in combine4
Søren Sandmann Pedersen [Fri, 1 May 2009 18:18:32 +0000 (14:18 -0400)]
Optimize source reading in combine4

15 years agoEnable mmxCombineSaturateU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:04:36 +0000 (03:04 -0400)]
Enable mmxCombineSaturateU

15 years agoEnable mmxCombineAddU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:04:29 +0000 (03:04 -0400)]
Enable mmxCombineAddU

15 years agoEnable mmxCombineXorU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:04:23 +0000 (03:04 -0400)]
Enable mmxCombineXorU

15 years agoEnable mmxCombineAtopReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:04:16 +0000 (03:04 -0400)]
Enable mmxCombineAtopReverseU

15 years agoEnable mmxCombineAtopU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:04:10 +0000 (03:04 -0400)]
Enable mmxCombineAtopU

15 years agoEnable mmxCombineOutReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:04:02 +0000 (03:04 -0400)]
Enable mmxCombineOutReverseU

15 years agoEnable mmxCombineOutU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:03:50 +0000 (03:03 -0400)]
Enable mmxCombineOutU

15 years agoEnable mmxCombineInReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:03:39 +0000 (03:03 -0400)]
Enable mmxCombineInReverseU

15 years agoEnable mmxCombineInU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:03:32 +0000 (03:03 -0400)]
Enable mmxCombineInU

15 years agoEnable mmxCombineOverReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:03:24 +0000 (03:03 -0400)]
Enable mmxCombineOverReverseU

15 years agoEnable mmxCombineOverU
Søren Sandmann Pedersen [Fri, 1 May 2009 07:03:16 +0000 (03:03 -0400)]
Enable mmxCombineOverU

15 years agoImplement the mmx combiners with masks (disabled)
Søren Sandmann Pedersen [Fri, 1 May 2009 07:02:58 +0000 (03:02 -0400)]
Implement the mmx combiners with masks (disabled)

15 years agoEnable sse2CombineSaturateU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:01:09 +0000 (01:01 -0400)]
Enable sse2CombineSaturateU

15 years agoEnable sse2CombineAddU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:52 +0000 (01:00 -0400)]
Enable sse2CombineAddU

15 years agoEnable sse2CombineAtopXorU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:47 +0000 (01:00 -0400)]
Enable sse2CombineAtopXorU

15 years agoEnable sse2CombineAtopReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:39 +0000 (01:00 -0400)]
Enable sse2CombineAtopReverseU

15 years agoEnable sse2CombineAtopU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:33 +0000 (01:00 -0400)]
Enable sse2CombineAtopU

15 years agoEnable sse2CombineOutReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:26 +0000 (01:00 -0400)]
Enable sse2CombineOutReverseU

15 years agoEnable sse2CombineOutU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:20 +0000 (01:00 -0400)]
Enable sse2CombineOutU

15 years agoEnable sse2CombineInReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:12 +0000 (01:00 -0400)]
Enable sse2CombineInReverseU

15 years agoEnable sse2CombineInU
Søren Sandmann Pedersen [Fri, 1 May 2009 05:00:07 +0000 (01:00 -0400)]
Enable sse2CombineInU

15 years agoEnable sse2CombineOverReverseU
Søren Sandmann Pedersen [Fri, 1 May 2009 04:59:59 +0000 (00:59 -0400)]
Enable sse2CombineOverReverseU

15 years agoEnable sse2CombineOverU
Søren Sandmann Pedersen [Fri, 1 May 2009 04:59:51 +0000 (00:59 -0400)]
Enable sse2CombineOverU

15 years agoImplement the sse2 combiners with masks (disabled)
Søren Sandmann Pedersen [Fri, 1 May 2009 04:59:29 +0000 (00:59 -0400)]
Implement the sse2 combiners with masks (disabled)

15 years agoUse memcpy() in fbCombineSrcU when there is no mask
Søren Sandmann Pedersen [Fri, 1 May 2009 04:58:38 +0000 (00:58 -0400)]
Use memcpy() in fbCombineSrcU when there is no mask

15 years agoHave the generic code go through the component alpha path always
Søren Sandmann Pedersen [Thu, 30 Apr 2009 21:59:09 +0000 (17:59 -0400)]
Have the generic code go through the component alpha path always

15 years agoGet rid of separate combineU and combineC types
Søren Sandmann Pedersen [Thu, 30 Apr 2009 21:53:48 +0000 (17:53 -0400)]
Get rid of separate combineU and combineC types

15 years agoChange type of combineU to take a mask
Søren Sandmann Pedersen [Thu, 30 Apr 2009 21:14:04 +0000 (17:14 -0400)]
Change type of combineU to take a mask

15 years agoMake combineC function type take const args
Søren Sandmann Pedersen [Thu, 30 Apr 2009 23:50:24 +0000 (19:50 -0400)]
Make combineC function type take const args

Fix type of mmx component alpha combiners

Fix type of sse2 component alpha combiners

Fix type of vmx component alpha combiners

15 years agoRemove accessor version of pixman-compose.c
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:54:32 +0000 (02:54 -0400)]
Remove accessor version of pixman-compose.c

15 years agoRemove unused xoff/yoff variables
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:51:09 +0000 (02:51 -0400)]
Remove unused xoff/yoff variables

15 years agoMove store logic into pixman-image.c
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:50:18 +0000 (02:50 -0400)]
Move store logic into pixman-image.c

15 years agoMove fetch logic to pixman-image.c
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:42:47 +0000 (02:42 -0400)]
Move fetch logic to pixman-image.c

15 years agoSimplify logic to compute store function
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:25:48 +0000 (02:25 -0400)]
Simplify logic to compute store function

15 years agoFormatting
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:14:13 +0000 (02:14 -0400)]
Formatting

15 years agoFactor out duplicated fetcher finding code
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:08:44 +0000 (02:08 -0400)]
Factor out duplicated fetcher finding code

15 years agoGet rid of SOURCE_IMAGE_CLASS_NEITHER again
Søren Sandmann Pedersen [Thu, 30 Apr 2009 06:03:03 +0000 (02:03 -0400)]
Get rid of SOURCE_IMAGE_CLASS_NEITHER again

15 years agoMore refactoring notes
Søren Sandmann Pedersen [Thu, 30 Apr 2009 05:49:13 +0000 (01:49 -0400)]
More refactoring notes

15 years agoAdd notes on how Render actually works
Søren Sandmann Pedersen [Thu, 30 Apr 2009 03:13:14 +0000 (23:13 -0400)]
Add notes on how Render actually works

15 years agoMove calls of the classification out of the if statements.
Søren Sandmann Pedersen [Thu, 30 Apr 2009 00:15:20 +0000 (20:15 -0400)]
Move calls of the classification out of the if statements.

15 years agoMove SourcePictClassify into pixman-image.c
Søren Sandmann Pedersen [Wed, 29 Apr 2009 23:55:19 +0000 (19:55 -0400)]
Move SourcePictClassify into pixman-image.c

In preparation for making pixman_image_t more of a real object, move
SourcePictClassify into pixman-image.c and expose it through a
function pointer. Later, this function will be split into smaller
functions depending on the exact type of the image.

15 years agoMore refactoring notes
Søren Sandmann Pedersen [Wed, 29 Apr 2009 05:44:56 +0000 (01:44 -0400)]
More refactoring notes

15 years agoAdd refactoring notes
Søren Sandmann Pedersen [Wed, 29 Apr 2009 03:02:49 +0000 (23:02 -0400)]
Add refactoring notes

15 years agoMention utils.h in test/Makefile.am so that make dist will pick it up
Søren Sandmann Pedersen [Mon, 4 May 2009 22:54:27 +0000 (18:54 -0400)]
Mention utils.h in test/Makefile.am so that make dist will pick it up

Pointed out by Julien Cristau.

15 years agoMove all the GTK+ test code into its own file, utils.c
Søren Sandmann Pedersen [Mon, 4 May 2009 22:34:54 +0000 (18:34 -0400)]
Move all the GTK+ test code into its own file, utils.c

15 years agoInclude string.h and fix warning in trap-test.c
Søren Sandmann Pedersen [Wed, 29 Apr 2009 02:49:31 +0000 (22:49 -0400)]
Include string.h and fix warning in trap-test.c

15 years agoAdd solaris-hwcap.mapfile to EXTRA_DIST
Alan Coopersmith [Tue, 28 Apr 2009 15:44:47 +0000 (08:44 -0700)]
Add solaris-hwcap.mapfile to EXTRA_DIST

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
15 years agoUpdated scaling test to support rgb565, source clipping, etc.
Siarhei Siamashka [Mon, 20 Apr 2009 13:13:44 +0000 (16:13 +0300)]
Updated scaling test to support rgb565, source clipping, etc.

Now test provides better coverage for various image scaling
cases. Unused byte for x8r8g8b8 format is ignored. Running
the test program without any command line options provides
a PASS/FAIL verdict based on the precalculated crc32 value
for using pixman with all the fastpath functions disabled,
which should simplify testing for correcteness.