profile/ivi/pixman.git
16 years agoBump version to 0.10.0.
Søren Sandmann Pedersen [Thu, 27 Mar 2008 14:07:11 +0000 (10:07 -0400)]
Bump version to 0.10.0.

Also a bunch of changes to the release make targets

16 years agoMake username configurable; add Makefile.win32 to EXTRA_DIST
Søren Sandmann Pedersen [Thu, 27 Mar 2008 12:37:29 +0000 (08:37 -0400)]
Make username configurable; add Makefile.win32 to EXTRA_DIST

16 years agoFix up unsigned long long/ullong usage
Vladimir Vukicevic [Wed, 26 Mar 2008 23:10:43 +0000 (16:10 -0700)]
Fix up unsigned long long/ullong usage

A few stray "unsigned long long"s were in place, along with
a ullong typedef outside of the appropriate ifdef.

16 years agoMake it distcheck
Søren Sandmann [Wed, 26 Mar 2008 06:20:42 +0000 (02:20 -0400)]
Make it distcheck

16 years agoMove version functions from pixman-version.c into pixman-utils.c.
Søren Sandmann [Wed, 26 Mar 2008 05:49:56 +0000 (01:49 -0400)]
Move version functions from pixman-version.c into pixman-utils.c.

Delete pixman-version.c

16 years agoMake pixman-version.h print an error if you include it by itself
Søren Sandmann [Wed, 26 Mar 2008 03:11:19 +0000 (23:11 -0400)]
Make pixman-version.h print an error if you include it by itself

16 years agoUpdate TODO
Søren Sandmann [Wed, 26 Mar 2008 03:07:03 +0000 (23:07 -0400)]
Update TODO

16 years agoEliminate duplicate case values that were breaking the compilation.
Carl Worth [Wed, 26 Mar 2008 02:43:40 +0000 (19:43 -0700)]
Eliminate duplicate case values that were breaking the compilation.

16 years agoNew API: pixman_format_supported_destination and pixman_format_supported_source
Carl Worth [Tue, 25 Mar 2008 20:12:29 +0000 (13:12 -0700)]
New API: pixman_format_supported_destination and pixman_format_supported_source

These functions allow for callers to use the PIXMAN_FORMAT macro to
construct a format code and to then determine if the resulting code
is supported by pixman for either destination or source surfaces.

16 years agoAdd pixman_version function and related macros
Carl Worth [Mon, 24 Mar 2008 21:51:09 +0000 (14:51 -0700)]
Add pixman_version function and related macros

The complete new API here makes available compile-tim version checks:

PIXMAN_VERSION
PIXMAN_VERSION_STRING
PIXMAN_VERSION_ENCODE

as well as run-time version checks:

pixman_version()
pixman_version_string()

16 years agoIncrement pixman version to 0.9.7
Carl Worth [Mon, 24 Mar 2008 19:00:46 +0000 (12:00 -0700)]
Increment pixman version to 0.9.7

This represents the in-development state, (so that the next release
will be 0.9.8 with an even-number micro component).

16 years agoDocument incrementing the micro version immediately after a release
Carl Worth [Mon, 24 Mar 2008 18:58:33 +0000 (11:58 -0700)]
Document incrementing the micro version immediately after a release

This is a cairo-like scheme where the version number is incremented
both immediately before and immediately after a release.

16 years agoOnly define pixman_have_sse() as function if USE_SSE2 is also defined
Vladimir Vukicevic [Tue, 25 Mar 2008 18:45:56 +0000 (11:45 -0700)]
Only define pixman_have_sse() as function if USE_SSE2 is also defined

.. otherwise it's already a macro evaluating to FALSE.

16 years agoMove fbFetchTransformed and friends into pixman-transformed.c.
Aaron Plattner [Sat, 22 Mar 2008 01:59:45 +0000 (18:59 -0700)]
Move fbFetchTransformed and friends into pixman-transformed.c.

16 years agoMove pixmanFetchSourcePict and friends into pixman-source.c.
Aaron Plattner [Sat, 22 Mar 2008 01:18:50 +0000 (18:18 -0700)]
Move pixmanFetchSourcePict and friends into pixman-source.c.

16 years agoMove fetch, fetchPixel, and store routines into pixman-access.c.
Aaron Plattner [Sat, 22 Mar 2008 01:06:54 +0000 (18:06 -0700)]
Move fetch, fetchPixel, and store routines into pixman-access.c.

16 years agoGet rid of fbPrepareAccess and fbFinishAccess, since the former was unused and neithe...
Aaron Plattner [Sat, 22 Mar 2008 00:13:32 +0000 (17:13 -0700)]
Get rid of fbPrepareAccess and fbFinishAccess, since the former was unused and neither one did anything anyway.

16 years agoRename pixman-compose-operators.c to pixman-combine.c and fix the build.
Aaron Plattner [Fri, 21 Mar 2008 21:15:34 +0000 (14:15 -0700)]
Rename pixman-compose-operators.c to pixman-combine.c and fix the build.

Add pixman-combine.c to the source list.  Make the functions in it static.  Call
fbCombineInU through the PIXMAN_COMPOSE_FUNCTIONS table.  Declare the functions
tables as extern in pixman-private.h.

16 years ago[PATCH] Moved all composition operators from pixman-compose.c to their own c/h file
Antoine Azar [Thu, 21 Feb 2008 08:38:46 +0000 (03:38 -0500)]
[PATCH] Moved all composition operators from pixman-compose.c to their own c/h file

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
16 years agoFix computation of x_offset in pixman_add_traps.
Kamalneet Singh [Wed, 19 Mar 2008 14:02:11 +0000 (10:02 -0400)]
Fix computation of x_offset in pixman_add_traps.

16 years agoFix the SSE related AMD64 build breakage
nmiell@gmail.com [Sat, 15 Mar 2008 05:23:19 +0000 (22:23 -0700)]
Fix the SSE related AMD64 build breakage

The introduction of pixman_have_sse() copied the #ifdef __amd64__
found around pixman_have_mmx() in pixman-mmx.c but didn't include the
equivalents of the macros in pixman-mmx.h. As a result, the AMD64 link
fails because the pixman_have_sse() function doesn't exist.

I also introduced header inclusion guards to pixman-mmx.h and
pixman-sse.h while I was at it.

16 years agoFix typo; include pixman-sse.h
Søren Sandmann [Fri, 14 Mar 2008 23:24:28 +0000 (19:24 -0400)]
Fix typo; include pixman-sse.h

16 years agoRequire MMX and MMX_Extensions for SSE. Various code style fixes.
Søren Sandmann [Fri, 14 Mar 2008 23:20:34 +0000 (19:20 -0400)]
Require MMX and MMX_Extensions for SSE. Various code style fixes.

16 years agoAdd build system support for SSE2.
Rodrigo Kumpera [Fri, 14 Mar 2008 23:11:17 +0000 (19:11 -0400)]
Add build system support for SSE2.

16 years agoEnable/fix MMX compilation under Win32 with Visual Studio
Frederic Plourde [Thu, 13 Mar 2008 21:24:08 +0000 (14:24 -0700)]
Enable/fix MMX compilation under Win32 with Visual Studio

16 years agoAdd rounding epsilon for NEAREST filter after transformation, not before.
Søren Sandmann [Tue, 11 Mar 2008 03:41:52 +0000 (23:41 -0400)]
Add rounding epsilon for NEAREST filter after transformation, not before.

For nearest filtering, the transformed location must be rounded to the
nearest sample. For locations that precisely in the middle between two
samples, we round down by adding -epsilon to the coordinates.

Before, we would do this on untransformed coordinates. This patch
changes it to happen after transformation. It also clarifies the
difference between sample locations and rounding.

Reported by Robert O'Callahan.

16 years agoFixed transformed/untransformed cases of extend_pad by using fbfetchtransformed in...
Antoine Azar [Wed, 5 Mar 2008 23:27:11 +0000 (15:27 -0800)]
Fixed transformed/untransformed cases of extend_pad by using fbfetchtransformed in all cases and making sure no fast path can be taken.

16 years agoUpdate TODO
Søren Sandmann [Fri, 29 Feb 2008 23:32:44 +0000 (18:32 -0500)]
Update TODO

16 years agoFix EXTEND_PAD for untransformed sources
Antoine Azar [Tue, 26 Feb 2008 21:36:22 +0000 (16:36 -0500)]
Fix EXTEND_PAD for untransformed sources

16 years agoFix another NULL dereference in pixman-compose.c, reported by Joel
Søren Sandmann Pedersen [Tue, 26 Feb 2008 01:12:42 +0000 (20:12 -0500)]
Fix another NULL dereference in pixman-compose.c, reported by Joel
Bosveld.

Update TODO.

16 years agoFix a NULL pointer dereference in fbFetchFromNRectangles().
Bertram Felgenhauer [Thu, 14 Feb 2008 15:40:54 +0000 (16:40 +0100)]
Fix a NULL pointer dereference in fbFetchFromNRectangles().
As pointed out by Soeren Sandmann Pedersen, calling
pixman_region_contains_point with a NULL box argument leads to a crash.
Also fix a few warnings.

16 years agoRefactor fbFetchTransformed()
Antoine Azar [Tue, 29 Jan 2008 10:53:03 +0000 (11:53 +0100)]
Refactor fbFetchTransformed()

16 years agoInclude only pixman-private.h, not pixman.h, in local .c files
Vladimir Vukicevic [Sun, 27 Jan 2008 22:49:12 +0000 (14:49 -0800)]
Include only pixman-private.h, not pixman.h, in local .c files

This is so that changes (such as symbol renames) can take place in
pixman-private and ensure that they're included before the prototypes from
pixman.h.  pixman-private.h includes pixman.h right at the start.

16 years agoexport pixman_transform_point_3d function
Bertram Felgenhauer [Wed, 23 Jan 2008 15:08:48 +0000 (16:08 +0100)]
export pixman_transform_point_3d function

16 years agoA tiny amount of ifdef reduction.
Carl Worth [Wed, 23 Jan 2008 00:33:58 +0000 (16:33 -0800)]
A tiny amount of ifdef reduction.

Just moving two common assignments outside the condition to
drop the #else part.

16 years agoMerge commit 'inte/sampling'
Carl Worth [Wed, 23 Jan 2008 00:31:44 +0000 (16:31 -0800)]
Merge commit 'inte/sampling'

16 years agoIgnore test/fetch-test
Carl Worth [Tue, 30 Oct 2007 20:03:18 +0000 (13:03 -0700)]
Ignore test/fetch-test

16 years agoAdd release-publish target and RELEASING instructions
Carl Worth [Tue, 30 Oct 2007 19:52:19 +0000 (12:52 -0700)]
Add release-publish target and RELEASING instructions

16 years agoeliminate a special case in fbRasterizeEdges{4,8}.
Bertram Felgenhauer [Tue, 22 Jan 2008 07:00:05 +0000 (08:00 +0100)]
eliminate a special case in fbRasterizeEdges{4,8}.

16 years agofix cairo's a1-traps-sample test
Bertram Felgenhauer [Tue, 22 Jan 2008 06:57:54 +0000 (07:57 +0100)]
fix cairo's  a1-traps-sample  test
For 1 bit alpha targets, the left and right boundaries of edges were
not rounded correctly.

16 years agofix cairo's a1-image-sample test
Bertram Felgenhauer [Sat, 19 Jan 2008 12:29:56 +0000 (13:29 +0100)]
fix cairo's  a1-image-sample  test
Move the sampling point for image surfaces very slightly so that it's in
the upper left quadrant of the pixel.

16 years agoAvoid use of C++ keyword xor in header
Alp Toker [Tue, 15 Jan 2008 21:34:57 +0000 (16:34 -0500)]
Avoid use of C++ keyword xor in header

16 years agoRemove trailing ; in SETUP_YV12 macro
Vladimir Vukicevic [Wed, 16 Jan 2008 00:51:59 +0000 (16:51 -0800)]
Remove trailing ; in SETUP_YV12 macro

Causes compilation problems with MSVC.

16 years agoRemove last CVS $Id$ tags
Vladimir Vukicevic [Wed, 7 Nov 2007 00:15:01 +0000 (16:15 -0800)]
Remove last CVS $Id$ tags

16 years agoDon't use the pixbuf fast paths when the source picture has alpha. Bug
Søren Sandmann [Thu, 20 Dec 2007 05:23:18 +0000 (00:23 -0500)]
Don't use the pixbuf fast paths when the source picture has alpha. Bug
13650, reported by Wu Nian.

16 years agoGuard MMX get_fast_path() with pixman_have_mmx()
Søren Sandmann [Fri, 7 Dec 2007 23:59:54 +0000 (18:59 -0500)]
Guard MMX get_fast_path() with pixman_have_mmx()

16 years agoUse -fvisibility=hidden by default.
Søren Sandmann [Mon, 3 Dec 2007 18:14:42 +0000 (13:14 -0500)]
Use -fvisibility=hidden by default.

Add a PIXMAN_EXPORT macro that expands to the appropriate GCC magic.
Various formatting fixes.

16 years agoMake the tables static; remove unused flag
Søren Sandmann [Sun, 2 Dec 2007 03:50:05 +0000 (22:50 -0500)]
Make the tables static; remove unused flag

16 years agoSet maskRepeat to FALSE when the function is NEED_SOLID_MASK
Søren Sandmann [Sun, 2 Dec 2007 02:56:25 +0000 (21:56 -0500)]
Set maskRepeat to FALSE when the function is NEED_SOLID_MASK

16 years agoConditionalize MMX code with USE_MMX
Søren Sandmann [Sun, 2 Dec 2007 01:55:56 +0000 (20:55 -0500)]
Conditionalize MMX code with USE_MMX

16 years agoAdd some commented-out plain C fast paths.
Søren Sandmann [Sun, 2 Dec 2007 01:54:13 +0000 (20:54 -0500)]
Add some commented-out plain C fast paths.

16 years agoDelete switch of doom.
Søren Sandmann [Sun, 2 Dec 2007 01:46:29 +0000 (20:46 -0500)]
Delete switch of doom.

16 years agoCheck for correct op.
Søren Sandmann [Sun, 2 Dec 2007 01:41:49 +0000 (20:41 -0500)]
Check for correct op.

16 years agoAdd code to locate fast paths. Comment out switch of doom.
Søren Sandmann [Sun, 2 Dec 2007 01:35:03 +0000 (20:35 -0500)]
Add code to locate fast paths. Comment out switch of doom.

16 years agoBeginning of the end for the Switch of Doom.
Søren Sandmann [Sun, 2 Dec 2007 00:56:26 +0000 (19:56 -0500)]
Beginning of the end for the Switch of Doom.

Add tables with information about the MMX and plain-C fast paths.
Update TODO.

17 years agoTrack name change from pixman.pc to pixman-1.pc in .gitignore
Carl Worth [Tue, 30 Oct 2007 18:48:31 +0000 (11:48 -0700)]
Track name change from pixman.pc to pixman-1.pc in .gitignore

17 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting
Alan Hourihane [Wed, 24 Oct 2007 20:39:34 +0000 (21:39 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting

17 years agoBump version number
Søren Sandmann Pedersen [Wed, 24 Oct 2007 19:48:45 +0000 (15:48 -0400)]
Bump version number

17 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting
Alan Hourihane [Thu, 18 Oct 2007 16:33:43 +0000 (17:33 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting

Conflicts:

pixman/pixman-compose.c
pixman/pixman.h

17 years agoOnly compile with -msse on x86-64.
Søren Sandmann [Thu, 18 Oct 2007 00:01:27 +0000 (20:01 -0400)]
Only compile with -msse on x86-64.

17 years agoMake stride signed in various places. This should fix some the
Søren Sandmann [Wed, 17 Oct 2007 23:20:55 +0000 (19:20 -0400)]
Make stride signed in various places. This should fix some the
crashers that people have reported in bug 12398.

17 years agoRemove comma from enumerator list. Bug 12621, reported by Matt Kraai.
Søren Sandmann [Wed, 17 Oct 2007 22:43:13 +0000 (18:43 -0400)]
Remove comma from enumerator list. Bug 12621, reported by Matt Kraai.

17 years agoAdd README file based on text from Bjorn Lindquist
Søren Sandmann [Wed, 17 Oct 2007 22:40:28 +0000 (18:40 -0400)]
Add README file based on text from Bjorn Lindquist

17 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting
Alan Hourihane [Wed, 17 Oct 2007 18:39:41 +0000 (19:39 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting

Conflicts:

pixman/pixman-image.c

17 years agoFixed the declaration of pixman_image_set_source_clipping().
Tilman Sauerbeck [Sat, 29 Sep 2007 20:45:42 +0000 (22:45 +0200)]
Fixed the declaration of pixman_image_set_source_clipping().

17 years ago[pixman-image] [mlk] Free the locally allocated bits.
Chris Wilson [Thu, 27 Sep 2007 11:46:46 +0000 (12:46 +0100)]
[pixman-image] [mlk] Free the locally allocated bits.

If we fail to allocate the image, remember to free the bits if we have
created the buffer on behalf of the caller.

17 years ago[pixman-image] Avoid a potential malloc(0).
Chris Wilson [Thu, 27 Sep 2007 11:44:44 +0000 (12:44 +0100)]
[pixman-image] Avoid a potential malloc(0).

Do not attempt to allocate bits if either the image width or height is
0 - Cairo has a habit of attempting to create such surfaces when
generating glyphs. The malloc(0) may return a NULL pointer and be treated
as an out-of-memory error.

17 years ago[pixman-image] Avoid integer overflow when allocating bits.
Chris Wilson [Thu, 27 Sep 2007 11:40:59 +0000 (12:40 +0100)]
[pixman-image] Avoid integer overflow when allocating bits.

Check for potential overflows at every step of the calculation of the
buffer size required for the pixels.

(Fixes https://bugs.freedesktop.org/show_bug.cgi?id=11627)

17 years agoFix special case selection when the mask has a transform
Jeff Muizelaar [Thu, 20 Sep 2007 19:40:17 +0000 (15:40 -0400)]
Fix special case selection when the mask has a transform

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=c19ece1d8c32dc81740a4036a642661f54064e75
was a mismerge that avoided setting the maskTransform condition when the mask
has a transform.  This allowed a special case routine to be chosen when the
mask had a transform, which is not expected by the special case routines.

17 years agoPrevent promotion to unsigned when calculating strides.
José Fonseca [Mon, 17 Sep 2007 17:49:40 +0000 (18:49 +0100)]
Prevent promotion to unsigned when calculating strides.

17 years agoUse a consistent type for stride and more importantly, use always a signed type.
José Fonseca [Mon, 17 Sep 2007 16:08:31 +0000 (17:08 +0100)]
Use a consistent type for stride and more importantly, use always a signed type.

17 years agoRemove the macro magic from READ/WRITE macros.
José Fonseca [Fri, 14 Sep 2007 14:48:18 +0000 (15:48 +0100)]
Remove the macro magic from READ/WRITE macros.

17 years agoRemove the MMX code path for YV12 for the meanwhile, as pixel output is not
José Fonseca [Fri, 14 Sep 2007 09:53:32 +0000 (10:53 +0100)]
Remove the MMX code path for YV12 for the meanwhile, as pixel output is not
exactly the same as the non-MMX code.

This reverts commit c61d6ae39e5039dcb27bf95334a86520b562bbc5.

17 years agoFix build breakage when under the influence of USE_MMX
Carl Worth [Tue, 11 Sep 2007 15:29:06 +0000 (16:29 +0100)]
Fix build breakage when under the influence of USE_MMX

This was recently broken (dc7c047d1c68f343b66e81d9e79084e4171e2634) when
removing an assignment to noinst_LTLIBRARIES.

17 years ago[memlk] don't try to allocate new data for 0-rectangle regions
Vladimir Vukicevic [Mon, 10 Sep 2007 22:20:44 +0000 (15:20 -0700)]
[memlk] don't try to allocate new data for 0-rectangle regions

17 years agoMMX code path for YV12 copy, taken from the xserver glucose-2 branch.
José Fonseca [Fri, 7 Sep 2007 09:52:01 +0000 (10:52 +0100)]
MMX code path for YV12 copy, taken from the xserver glucose-2 branch.

17 years agoYUV formats fetch support.
José Fonseca [Fri, 7 Sep 2007 09:49:21 +0000 (10:49 +0100)]
YUV formats fetch support.

17 years agoNew test for image fetching.
José Fonseca [Thu, 6 Sep 2007 11:27:12 +0000 (12:27 +0100)]
New test for image fetching.

17 years agoPerform stride calculations inside the callback functions.
José Fonseca [Wed, 5 Sep 2007 20:56:24 +0000 (21:56 +0100)]
Perform stride calculations inside the callback functions.

17 years ago[win32] Makefile and compilation fixes for win32
Vladimir Vukicevic [Tue, 4 Sep 2007 18:19:33 +0000 (11:19 -0700)]
[win32] Makefile and compilation fixes for win32

17 years agocompilation: build edge/compose with accessors separately
Vladimir Vukicevic [Tue, 4 Sep 2007 18:18:40 +0000 (11:18 -0700)]
compilation: build edge/compose with accessors separately

Simplify the build by creating a new file for pixman-compose and
pixman-edge built with accessor functions.

17 years agoDon't copy unused bits to an alpha channel
Carl Worth [Wed, 5 Sep 2007 00:24:04 +0000 (17:24 -0700)]
Don't copy unused bits to an alpha channel

This bug was identified by cairo's rgb24-ignore-alpha test which
blends RGB24 over ARGB32 and notices that "alpha" values are
making it from the source to the destination.

17 years agorasterize traps that extend outside of the image bounds correctly
Vladimir Vukicevic [Sun, 26 Aug 2007 06:30:41 +0000 (23:30 -0700)]
rasterize traps that extend outside of the image bounds correctly

Traps that extend outside of the image bounds are rasterized incorrectly
currently; the problem is a signed vs. unsigned comparison that got
introduced when a width parameter went from int -> uint.  This patch
puts it back to int (since it's stored as an int in the bits structure
to begin with), and also fixes a similar warning in the memset wrapper

17 years agoSet accessors for the destination image in composite-test.c
Søren Sandmann [Fri, 24 Aug 2007 20:49:29 +0000 (16:49 -0400)]
Set accessors for the destination image in composite-test.c

17 years agoAdd missing comma in enum
Søren Sandmann [Fri, 24 Aug 2007 20:30:10 +0000 (16:30 -0400)]
Add missing comma in enum

17 years agoRemove trailing comma in enum
Søren Sandmann [Fri, 24 Aug 2007 20:19:31 +0000 (16:19 -0400)]
Remove trailing comma in enum

17 years agoAdd conjoint and disjoint operators to pixman.h
Søren Sandmann [Fri, 24 Aug 2007 20:12:30 +0000 (16:12 -0400)]
Add conjoint and disjoint operators to pixman.h

17 years agoMerge branch 'master' of ssh+git://sandmann@git.freedesktop.org/git/pixman
Søren Sandmann Pedersen [Tue, 21 Aug 2007 20:31:45 +0000 (16:31 -0400)]
Merge branch 'master' of ssh+git://sandmann@git.freedesktop.org/git/pixman

17 years agoFix bug 12039, based on Chris Wilson's patch.
Søren Sandmann Pedersen [Tue, 21 Aug 2007 18:11:54 +0000 (14:11 -0400)]
Fix bug 12039, based on Chris Wilson's patch.

17 years agoFix failure to set identity transform in pixman.
Eric Anholt [Mon, 20 Aug 2007 19:58:47 +0000 (12:58 -0700)]
Fix failure to set identity transform in pixman.

While here, optimize out a free/malloc in the case where a transform
existed previously and the new transform is non-identity.

17 years agoAdd pixman_image_set_source_clipping()
Søren Sandmann Pedersen [Fri, 17 Aug 2007 22:01:09 +0000 (18:01 -0400)]
Add pixman_image_set_source_clipping()

17 years agoFix typo AC_MAJOR -> PIXMAN_MAJOR
Carl Worth [Wed, 15 Aug 2007 17:16:11 +0000 (10:16 -0700)]
Fix typo AC_MAJOR -> PIXMAN_MAJOR

This typo was causing build failures for some. Thanks to David Sharp for
pointing out the problem.

17 years agoRemove redundant defines.
Aaron Plattner [Tue, 14 Aug 2007 23:16:27 +0000 (16:16 -0700)]
Remove redundant defines.

17 years agoOne more minor wrapping fix
Arcady Goldmints-Orlov [Tue, 14 Aug 2007 00:37:59 +0000 (17:37 -0700)]
One more minor wrapping fix

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
17 years agoRemove unnecessary wrapping from fbFetch/fbStore.
Arcady Goldmints-Orlov [Mon, 13 Aug 2007 22:20:18 +0000 (15:20 -0700)]
Remove unnecessary wrapping from fbFetch/fbStore.

These functions fetch from a picture to a scanline buffer, or store
from a scanline buffer to a picture. Since pixman allocates its own
scanline buffer, we don't need to wrap accesses to it.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
17 years agoDon't skip fbFetch/fbStore when PIXMAN_FB_ACCESSORS is enabled.
Aaron Plattner [Tue, 14 Aug 2007 00:26:51 +0000 (17:26 -0700)]
Don't skip fbFetch/fbStore when PIXMAN_FB_ACCESSORS is enabled.

pixman_composite_rect_general_accessors skips the fetch / store steps by setting
store to NULL when the op is ADD or OVER and the dest format is [ax]8r8g8b8.
This optimization is only valid when no accessors are in play.

17 years agoUpdate .pc file for library version name change.
Eric Anholt [Tue, 7 Aug 2007 03:06:48 +0000 (20:06 -0700)]
Update .pc file for library version name change.

17 years agoReturn a bool from pixman_image_unref.
Aaron Plattner [Wed, 1 Aug 2007 21:16:55 +0000 (14:16 -0700)]
Return a bool from pixman_image_unref.

Returns TRUE when the refcount reaches 0 and the image is freed.

17 years agoBump version number; fix typo in configure.ac
Søren Sandmann Pedersen [Mon, 6 Aug 2007 21:28:06 +0000 (17:28 -0400)]
Bump version number; fix typo in configure.ac

17 years agoChange the library name to pixman-1
Søren Sandmann Pedersen [Mon, 6 Aug 2007 21:24:44 +0000 (17:24 -0400)]
Change the library name to pixman-1
Set the soname to something based on the library version.