profile/ivi/pixman.git
17 years agoAdd a few optimizations for solid fills
Søren Sandmann Pedersen [Sat, 16 Jun 2007 16:55:59 +0000 (12:55 -0400)]
Add a few optimizations for solid fills

17 years agoPlug leak of the gradient stops
Søren Sandmann Pedersen [Sat, 16 Jun 2007 05:40:07 +0000 (01:40 -0400)]
Plug leak of the gradient stops

17 years agoPlug leak in the bits=NULL case for pixman_image_create_bits()
Søren Sandmann Pedersen [Sat, 16 Jun 2007 05:15:05 +0000 (01:15 -0400)]
Plug leak in the bits=NULL case for pixman_image_create_bits()

17 years agoWhen setting identity transformations store them as NULL to prevent
Søren Sandmann Pedersen [Fri, 15 Jun 2007 18:33:57 +0000 (14:33 -0400)]
When setting identity transformations store them as NULL to prevent

hitting the general compositing code.

17 years agoTurn off debug spew for incorrect arguments
Søren Sandmann [Fri, 15 Jun 2007 05:45:04 +0000 (01:45 -0400)]
Turn off debug spew for incorrect arguments

17 years agoDisable source clipping by default
Søren Sandmann [Fri, 15 Jun 2007 04:15:03 +0000 (00:15 -0400)]
Disable source clipping by default

17 years agoUpdate TODO
Søren Sandmann [Thu, 14 Jun 2007 21:37:12 +0000 (17:37 -0400)]
Update TODO

17 years agoUpdate TODO
Søren Sandmann [Thu, 14 Jun 2007 21:35:28 +0000 (17:35 -0400)]
Update TODO

17 years agoUpdate TODO
Søren Sandmann [Thu, 14 Jun 2007 21:34:42 +0000 (17:34 -0400)]
Update TODO

17 years agoReset clip regions correctly when NULL is passed
Søren Sandmann [Thu, 14 Jun 2007 16:59:15 +0000 (12:59 -0400)]
Reset clip regions correctly when NULL is passed

17 years agoMake default clip region the full image
Søren Sandmann [Wed, 13 Jun 2007 03:50:04 +0000 (23:50 -0400)]
Make default clip region the full image

17 years agoDon't complain if users try to read non-existing data from images
Søren Sandmann [Wed, 13 Jun 2007 03:37:25 +0000 (23:37 -0400)]
Don't complain if users try to read non-existing data from images

17 years agoDon't require rowstride to be a multiple of 4 when bits is NULL
Søren Sandmann [Wed, 13 Jun 2007 02:53:35 +0000 (22:53 -0400)]
Don't require rowstride to be a multiple of 4 when bits is NULL

17 years agoAdd pixman_fill_rectangles()
Søren Sandmann [Wed, 13 Jun 2007 02:14:32 +0000 (22:14 -0400)]
Add pixman_fill_rectangles()

17 years agoAdd pixman_add_trapezoids() function
Søren Sandmann [Tue, 12 Jun 2007 19:32:27 +0000 (15:32 -0400)]
Add pixman_add_trapezoids() function

17 years agoAdd boolean returns to various setters
Søren Sandmann [Tue, 12 Jun 2007 19:27:31 +0000 (15:27 -0400)]
Add boolean returns to various setters

17 years agoAllow bits to be NULL when bit images are created
Søren Sandmann [Tue, 12 Jun 2007 18:30:53 +0000 (14:30 -0400)]
Allow bits to be NULL when bit images are created

17 years agoAdd various accessors; remove composite_rect
Søren Sandmann [Tue, 12 Jun 2007 18:24:40 +0000 (14:24 -0400)]
Add various accessors; remove composite_rect

17 years agoBump version number
Søren Sandmann Pedersen [Tue, 12 Jun 2007 02:02:03 +0000 (22:02 -0400)]
Bump version number

17 years agoMake use of pixman_fill_mmx() in various places. Delete #if0'ed code
Søren Sandmann Pedersen [Tue, 12 Jun 2007 01:39:24 +0000 (21:39 -0400)]
Make use of pixman_fill_mmx() in various places. Delete #if0'ed code

17 years agoAdd pixman_fill_mmx() function
Søren Sandmann Pedersen [Tue, 12 Jun 2007 01:35:14 +0000 (21:35 -0400)]
Add pixman_fill_mmx() function

17 years agoForgotten fbHaveMMX()
Søren Sandmann Pedersen [Mon, 11 Jun 2007 18:55:31 +0000 (14:55 -0400)]
Forgotten fbHaveMMX()

17 years agoRename fbHaveMMX() pixman_have_mmx()
Søren Sandmann Pedersen [Mon, 11 Jun 2007 18:54:44 +0000 (14:54 -0400)]
Rename fbHaveMMX() pixman_have_mmx()
Guard pixman_blt_mmx() with pixman_have_mmx()

17 years agoAdd pixman_blt_mmx() based on fbBltmmx() from the X server.
Søren Sandmann Pedersen [Mon, 11 Jun 2007 18:41:01 +0000 (14:41 -0400)]
Add pixman_blt_mmx() based on fbBltmmx() from the X server.

Implement fbCompositeAreammx() in terms of it.

Uncomment calls to fbCompositeAreammx() in pixman-pict.c

Add public pixman_blt() that just returns false if not using mmx.

17 years agoBump version number
Søren Sandmann Pedersen [Mon, 11 Jun 2007 13:15:05 +0000 (09:15 -0400)]
Bump version number

17 years agoAdd a version of miComputeCompositeRegion; call it from
Søren Sandmann Pedersen [Mon, 11 Jun 2007 04:22:19 +0000 (00:22 -0400)]
Add a version of miComputeCompositeRegion; call it from
pixman_image_composite(). Remove const from return value of
pixman_region_rectangles().

17 years agoFix bug in pixman_image_set_filter() where only the parameters were
Søren Sandmann Pedersen [Tue, 5 Jun 2007 15:33:17 +0000 (11:33 -0400)]
Fix bug in pixman_image_set_filter() where only the parameters were
updated, not the filter type. Reported by Michel Dänzer.

17 years agoAdd .gitignore file
Daniel Stone [Thu, 24 May 2007 13:24:39 +0000 (16:24 +0300)]
Add .gitignore file

17 years agoUse canonical autogen.sh
Daniel Stone [Thu, 24 May 2007 13:19:40 +0000 (16:19 +0300)]
Use canonical autogen.sh

Use the standard autogen.sh, which allows for srcdir != builddir.

17 years agoDeclare the two new trapezoid functions in pixman.h
Soren Sandmann Pedersen [Wed, 23 May 2007 20:38:38 +0000 (16:38 -0400)]
Declare the two new trapezoid functions in pixman.h

17 years agoAdd pixman-trap with the trapezoid rasterization code from the X server.
Søren Sandmann [Wed, 23 May 2007 20:40:23 +0000 (16:40 -0400)]
Add pixman-trap with the trapezoid rasterization code from the X server.

Add two different trapezoid types that X makes use of.

17 years agoMake sure gradient-test.c builds when srcdir != buildir. Patch from
Soren Sandmann Pedersen [Wed, 23 May 2007 20:09:49 +0000 (16:09 -0400)]
Make sure gradient-test.c builds when srcdir != buildir. Patch from
Julien Cristau <jcristau@debian.org>.

17 years agoFix bug in rasterizeEdges() where the stride was treated as if in
Søren Sandmann [Wed, 23 May 2007 19:39:03 +0000 (15:39 -0400)]
Fix bug in rasterizeEdges() where the stride was treated as if in
bytes, when it was in uint32_t's. Formatting fixes. Delete misleading
comment from pixman-private.h

17 years agoFix function name
Soren Sandmann Pedersen [Wed, 23 May 2007 16:18:09 +0000 (12:18 -0400)]
Fix function name

17 years agoAdd more edge functions
Soren Sandmann Pedersen [Tue, 22 May 2007 17:39:25 +0000 (13:39 -0400)]
Add more edge functions

17 years agoAdd implementation of edge rasterization
Soren Sandmann Pedersen [Tue, 22 May 2007 16:52:52 +0000 (12:52 -0400)]
Add implementation of edge rasterization

17 years agoAdd edge data types
Soren Sandmann Pedersen [Tue, 22 May 2007 15:58:46 +0000 (11:58 -0400)]
Add edge data types

17 years agoDetect endianness
Søren Sandmann [Tue, 22 May 2007 14:00:46 +0000 (10:00 -0400)]
Detect endianness

17 years agoInclude string.h in pixman-pict.c
Søren Sandmann [Tue, 22 May 2007 13:54:19 +0000 (09:54 -0400)]
Include string.h in pixman-pict.c

17 years agoCheck for getisax() support
Søren Sandmann [Tue, 22 May 2007 13:51:54 +0000 (09:51 -0400)]
Check for getisax() support

17 years agoCheck for MMX in the build system
Søren Sandmann [Tue, 22 May 2007 13:49:23 +0000 (09:49 -0400)]
Check for MMX in the build system

17 years agoUpdate TODO
Søren Sandmann [Tue, 22 May 2007 04:04:39 +0000 (00:04 -0400)]
Update TODO

17 years agoMake the mmx code compile
Søren Sandmann [Tue, 22 May 2007 04:03:31 +0000 (00:03 -0400)]
Make the mmx code compile

17 years agoAdd pixman-mmx.[ch] and move macros around to make it compile.
Søren Sandmann [Tue, 22 May 2007 03:46:24 +0000 (23:46 -0400)]
Add pixman-mmx.[ch] and move macros around to make it compile.
Not yet hooked up.

17 years agoUse the general code if the images have read/write functions
Soren Sandmann Pedersen [Tue, 22 May 2007 00:03:37 +0000 (20:03 -0400)]
Use the general code if the images have read/write functions

17 years agoUpdate TODO
Soren Sandmann Pedersen [Mon, 21 May 2007 21:51:41 +0000 (17:51 -0400)]
Update TODO

17 years agoFix bug in fbCompositeGetSolid() where a format was compared to a format type
Soren Sandmann Pedersen [Mon, 21 May 2007 19:03:41 +0000 (15:03 -0400)]
Fix bug in fbCompositeGetSolid() where a format was compared to a format type

17 years agoMake pixman_image_composite() take a region parameter; comment out non-implemented...
Soren Sandmann Pedersen [Mon, 21 May 2007 18:27:40 +0000 (14:27 -0400)]
Make pixman_image_composite() take a region parameter; comment out non-implemented functions from the switch of doom

17 years agoAdd slightly changed copy of miComputeCompositeRegion() to pixman-pict.c
Søren Sandmann [Mon, 21 May 2007 14:00:05 +0000 (10:00 -0400)]
Add slightly changed copy of miComputeCompositeRegion() to pixman-pict.c

17 years agoMove mod and div macros to pixman-private.h
Søren Sandmann [Sat, 19 May 2007 21:19:39 +0000 (17:19 -0400)]
Move mod and div macros to pixman-private.h

17 years agoAdd fbComposeGetStart() macro
Søren Sandmann [Sat, 19 May 2007 21:13:02 +0000 (17:13 -0400)]
Add fbComposeGetStart() macro

17 years agoAdd fbComposeGetSolid() macro
Søren Sandmann [Sat, 19 May 2007 21:05:23 +0000 (17:05 -0400)]
Add fbComposeGetSolid() macro

17 years agoAdd implementation of can_get_solid()
Søren Sandmann [Sat, 19 May 2007 20:44:40 +0000 (16:44 -0400)]
Add implementation of can_get_solid()

17 years agoVarious formatting/style tweaks
Søren Sandmann [Sat, 19 May 2007 20:40:10 +0000 (16:40 -0400)]
Various formatting/style tweaks

17 years agoAdd macro FUNC that expands to __PRETTY_FUNCTION__ or __func__
Søren Sandmann [Sat, 19 May 2007 19:53:37 +0000 (15:53 -0400)]
Add macro FUNC that expands to __PRETTY_FUNCTION__ or __func__
depending on the compiler.

17 years agoInclude limits.h in pixman-compose.c; patch from Alan Coopersmith
Søren Sandmann [Sat, 19 May 2007 16:04:21 +0000 (12:04 -0400)]
Include limits.h in pixman-compose.c; patch from Alan Coopersmith

17 years agoAdd pixman-pict.c which is a version of fbpict.c. It compiles, but
Soren Sandmann Pedersen [Fri, 18 May 2007 19:21:51 +0000 (15:21 -0400)]
Add pixman-pict.c which is a version of fbpict.c. It compiles, but
isn't hooked up to anything.

17 years agoMake pixman_image_set_indexed() not copy its argument
Soren Sandmann Pedersen [Fri, 18 May 2007 17:38:26 +0000 (13:38 -0400)]
Make pixman_image_set_indexed() not copy its argument

17 years agoFree the indexed table when the image is freed
Soren Sandmann Pedersen [Fri, 18 May 2007 16:04:16 +0000 (12:04 -0400)]
Free the indexed table when the image is freed

17 years agoAdd new function pixman_image_set_indexed()
Soren Sandmann Pedersen [Fri, 18 May 2007 15:54:01 +0000 (11:54 -0400)]
Add new function pixman_image_set_indexed()

17 years agoFix wrong type in composite-test.c
Soren Sandmann Pedersen [Thu, 17 May 2007 14:19:29 +0000 (10:19 -0400)]
Fix wrong type in composite-test.c

17 years agoAdd a TODO file. Indent pixman-compose.c
Soren Sandmann Pedersen [Thu, 17 May 2007 13:12:09 +0000 (09:12 -0400)]
Add a TODO file. Indent pixman-compose.c

17 years agoAdd macro magic in pixman-private.h to allow reading and writing to
Søren Sandmann [Wed, 16 May 2007 23:35:55 +0000 (19:35 -0400)]
Add macro magic in pixman-private.h to allow reading and writing to
happen through functions. Use them in pixman-compose.c; also delete
unnecessary READ and WRITE macros that always operate on host memory.
Add accessor functions to composite-test.c

17 years agoAdd an image argument to all the store functions
Soren Sandmann Pedersen [Wed, 16 May 2007 15:13:11 +0000 (11:13 -0400)]
Add an image argument to all the store functions

Some tweaks to composite-test.c

17 years agoAdd an image argument to all the fetch functions
Soren Sandmann Pedersen [Wed, 16 May 2007 15:07:54 +0000 (11:07 -0400)]
Add an image argument to all the fetch functions

17 years agoMove some macros from pixman-compose.c to pixman-private.h
Soren Sandmann Pedersen [Wed, 16 May 2007 15:03:09 +0000 (11:03 -0400)]
Move some macros from pixman-compose.c to pixman-private.h

17 years agoAdd API to have accessor functions on pixman
Soren Sandmann Pedersen [Wed, 16 May 2007 14:56:08 +0000 (10:56 -0400)]
Add API to have accessor functions on pixman

17 years agoVarious formatting fixes
Soren Sandmann Pedersen [Tue, 15 May 2007 20:40:40 +0000 (16:40 -0400)]
Various formatting fixes

Rename pixman_image_composite() to pixman_image_composite_rect()

17 years agoFix typo in pixman.h
Soren Sandmann Pedersen [Tue, 15 May 2007 16:15:46 +0000 (12:15 -0400)]
Fix typo in pixman.h

17 years agoReplace hack to get standard integer types with #if/#elif construction
Soren Sandmann Pedersen [Tue, 15 May 2007 16:13:01 +0000 (12:13 -0400)]
Replace hack to get standard integer types with #if/#elif construction

17 years agoDon't build GTK+ test programs if GTK+ is not available
Soren Sandmann Pedersen [Tue, 15 May 2007 15:08:24 +0000 (11:08 -0400)]
Don't build GTK+ test programs if GTK+ is not available

17 years agoExport pixman_region_reset
Søren Sandmann [Sat, 12 May 2007 23:24:42 +0000 (19:24 -0400)]
Export pixman_region_reset

17 years agoExport a pixman_region_selfcheck
Søren Sandmann [Sat, 12 May 2007 21:58:50 +0000 (17:58 -0400)]
Export a pixman_region_selfcheck

17 years agoExport pixman_region_equal()
Søren Sandmann [Sat, 12 May 2007 21:55:48 +0000 (17:55 -0400)]
Export pixman_region_equal()

17 years agoAdd new pixman_region_set_static_pointers
Søren Sandmann [Sat, 12 May 2007 21:32:43 +0000 (17:32 -0400)]
Add new pixman_region_set_static_pointers

17 years agoMake the region data struct public
Soren Sandmann Pedersen [Fri, 11 May 2007 02:15:57 +0000 (22:15 -0400)]
Make the region data struct public

17 years agoMake the pixman_transform_point_3d() function public
Soren Sandmann Pedersen [Thu, 10 May 2007 20:14:40 +0000 (16:14 -0400)]
Make the pixman_transform_point_3d() function public

17 years agoChange the names of a few functions to prevent them from clashing with the X names
Soren Sandmann Pedersen [Thu, 10 May 2007 20:08:12 +0000 (16:08 -0400)]
Change the names of a few functions to prevent them from clashing with the X names

17 years agoUse a radial gradient in the gradien-test
Søren Sandmann [Thu, 10 May 2007 14:13:54 +0000 (10:13 -0400)]
Use a radial gradient in the gradien-test

17 years agoMake sure 64 bit fixed point types are signed
Søren Sandmann [Thu, 10 May 2007 13:30:17 +0000 (09:30 -0400)]
Make sure 64 bit fixed point types are signed

17 years agoAdd a transformation to the gradient test
Søren Sandmann [Thu, 10 May 2007 13:16:34 +0000 (09:16 -0400)]
Add a transformation to the gradient test

17 years agoUse fixpoint instead of double in gradient test
Søren Sandmann [Wed, 9 May 2007 22:18:38 +0000 (18:18 -0400)]
Use fixpoint instead of double in gradient test

17 years agoRemove AM_MAINTAINER_MODE ; add new gradient-test
Søren Sandmann [Wed, 9 May 2007 22:10:30 +0000 (18:10 -0400)]
Remove AM_MAINTAINER_MODE ; add new gradient-test

17 years agoFix various stupid mistakes, such as inverted return_if_fail() tests
Soren Sandmann Pedersen [Wed, 9 May 2007 18:20:57 +0000 (14:20 -0400)]
Fix various stupid mistakes, such as inverted return_if_fail() tests
and only allocating space for a pointer instead of an image.

17 years agoRemove *error from solid fill constructor
Soren Sandmann Pedersen [Wed, 9 May 2007 15:22:56 +0000 (11:22 -0400)]
Remove *error from solid fill constructor

17 years agoVarious formatting fixes
Soren Sandmann Pedersen [Wed, 9 May 2007 15:12:21 +0000 (11:12 -0400)]
Various formatting fixes

17 years agoHandle setting of NULL properties
Soren Sandmann Pedersen [Wed, 9 May 2007 15:09:59 +0000 (11:09 -0400)]
Handle setting of NULL properties

17 years agoMake images ref counted. Memory management.
Soren Sandmann Pedersen [Wed, 9 May 2007 15:00:06 +0000 (11:00 -0400)]
Make images ref counted. Memory management.

17 years agoExport pixman_gradient_stop; get rid of *error argument from init functions.
Soren Sandmann Pedersen [Wed, 9 May 2007 13:47:33 +0000 (09:47 -0400)]
Export pixman_gradient_stop; get rid of *error argument from init functions.

Add return_if_fail macros to pixman-private.h

17 years agoChange to use malloced image instead of stack allocated
Soren Sandmann Pedersen [Wed, 9 May 2007 12:20:43 +0000 (08:20 -0400)]
Change to use malloced image instead of stack allocated

17 years agoApply bad hack to avoid including config.h
Soren Sandmann Pedersen [Tue, 8 May 2007 21:02:44 +0000 (17:02 -0400)]
Apply bad hack to avoid including config.h

17 years agoInstall header file in pixman/pixman.h
Soren Sandmann Pedersen [Tue, 8 May 2007 18:24:32 +0000 (14:24 -0400)]
Install header file in pixman/pixman.h

17 years agoFix libpixman.pc.in
Soren Sandmann Pedersen [Tue, 8 May 2007 18:00:13 +0000 (14:00 -0400)]
Fix libpixman.pc.in

17 years agoAdd setters for various properties
Soren Sandmann Pedersen [Tue, 8 May 2007 17:37:03 +0000 (13:37 -0400)]
Add setters for various properties

17 years agoMake the test program test something useful.
Soren Sandmann Pedersen [Tue, 8 May 2007 17:19:51 +0000 (13:19 -0400)]
Make the test program test something useful.

Also add a check that the public image struct is big enough to contain the
private union.

17 years agoAdd a simple test program; fix linking problems
Soren Sandmann Pedersen [Tue, 8 May 2007 14:48:27 +0000 (10:48 -0400)]
Add a simple test program; fix linking problems

17 years agoImplement pixman_image_composite() in terms of fbCompositeRect().
Soren Sandmann Pedersen [Tue, 8 May 2007 14:32:54 +0000 (10:32 -0400)]
Implement pixman_image_composite() in terms of fbCompositeRect().

17 years agoAdd a version of fbcompose.c. Fixes and additions to make it compile
Søren Sandmann [Tue, 8 May 2007 02:36:15 +0000 (22:36 -0400)]
Add a version of fbcompose.c. Fixes and additions to make it compile

17 years agoFix copyright notice
Soren Sandmann Pedersen [Sun, 6 May 2007 16:46:42 +0000 (12:46 -0400)]
Fix copyright notice

17 years agoAdd fixed point macros, add declarations for image init functions
Soren Sandmann Pedersen [Sat, 5 May 2007 03:45:19 +0000 (23:45 -0400)]
Add fixed point macros, add declarations for image init functions