Søren Sandmann Pedersen
ec126e29e4
Require pixman 0.9.5; Use pixman_image_set_source_clipping() to fix
...
bug 11620 (reported by Jens Stroebel.
(cherry picked from commit 53941c8e68
)
2007-08-23 12:19:28 -07:00
Aaron Plattner
71ddf917d7
stride is in FbBits-sized chunks, but xoff is not.
...
Fixes corruption problems with composite rendering to redirected windows in
depth 16.
(cherry picked from commit 6a32a96d8d
)
2007-08-23 12:19:25 -07:00
Aaron Plattner
7cc53ae10a
Bug #12015 : Use the right offsets in the dst arguments of pixman_blt.
...
(cherry picked from commit 32666d7722
)
2007-08-23 12:19:20 -07:00
Søren Sandmann Pedersen
aa3c6aaaab
Require pixman-1 0.9.4, update pixman includes to new scheme
2007-08-06 19:00:59 -04:00
Aaron Plattner
74feba4d77
Don't unwrap too early in libwfb for Composite.
...
Don't call fbFinishWrap until the pixman_image_t that stores the pointer is
actually freed. This prevents corruption or crashes caused by accessing a
wrapped pointer after the wrapping is torn down.
2007-08-06 14:22:49 -07:00
Alan Coopersmith
7c0ca27f6d
"fbpict.c", line 215: void function cannot return value
2007-07-11 17:16:59 -07:00
Adam Jackson
bcb2352742
Clean up unused #ifdefs from fb.
2007-07-05 15:56:25 -04:00
Adam Jackson
4d76075dbb
Death to RCS tags.
2007-06-29 14:06:52 -04:00
Aaron Plattner
1e189ed1da
Handle tileStride > 1 in fbEvenTile.
...
Patch courtesy of James Jones.
2007-06-27 10:16:40 -07:00
Søren Sandmann Pedersen
19cde59c41
In fbFill() make sure the drawable is validated when pixman_fill() succeeds.
...
In fbSolidBoxClipped() don't return when pixman_fill() succeeds.
2007-06-22 00:39:28 -04:00
Arcady Goldmints-Orlov
5138f710a1
Fixed fbSolidBoxClipped() to fill the right place.
...
Changed an X2 to a Y1.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2007-06-20 16:46:22 -07:00
Søren Sandmann Pedersen
78179ae827
Remove fbmmx.[ch] files
2007-06-11 22:46:42 -04:00
Søren Sandmann Pedersen
eb2d7fe02f
Replace fbFillmmx() with pixman_fill() and remove fbmmx.[ch]
2007-06-11 22:43:01 -04:00
Søren Sandmann Pedersen
d1d85c04e2
Delete fbBltmmx().
2007-06-11 21:25:42 -04:00
Søren Sandmann Pedersen
3f9adb18f1
Port a few forgotten fbSolidFillmmx()'es to fbFillmmx(). Use pixman_blt() instead of fbBltmmx()
...
in fbCopyNToN().
2007-06-11 15:19:27 -04:00
Søren Sandmann Pedersen
d06099b38e
Remove fbCopyAreammx() and fbSolidFillmmx()
2007-06-11 14:10:33 -04:00
Søren Sandmann Pedersen
d4a034370c
Split fbSolidFillmmx() into a new FbFillmmx() function. Call that from fbFill().
2007-06-11 14:10:33 -04:00
Søren Sandmann Pedersen
3210902a73
Split fbCopyAreammx() into a new fbBltmmx() function; call this
...
function from fbCopyNToN().
2007-06-11 14:10:33 -04:00
Søren Sandmann Pedersen
54e023cec0
Don't pass regions to pixman_image_composite() anymore.
2007-06-11 09:43:15 -04:00
Aaron Plattner
9c47b86bd9
Add new fb symbols to wfbrename.h.
...
Avoids crashes when wfbComposite calls the wrong image_from_pict.
2007-06-07 13:57:12 -07:00
Søren Sandmann Pedersen
567b5bf765
Delete fbCompositeCopyAreammx()
2007-06-05 20:26:49 -04:00
Søren Sandmann Pedersen
49ed31c0b3
Remove most of the fast-path MMX operations from fbmmx. fbCopyAreammx
...
and fbSolidFillmmx are still needed by other code.
2007-06-05 17:48:33 -04:00
Benjamin Herrenschmidt
e5ce982381
Include pixman.h from fb.h or compile of some files will fail
...
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2007-06-03 09:40:37 +10:00
Soren Sandmann Pedersen
047bf3349b
Delete trapezoid rendering code; replace with pixman calls
2007-05-23 16:56:05 -04:00
Soren Sandmann Pedersen
9d87ef4e0d
- Make image_from_pict() non-static
...
- Delete fbedge.c and fbedgeimp.h
- Use pixman_rasterize_edges() in fbtrap.c
2007-05-23 15:50:25 -04:00
Soren Sandmann Pedersen
3ba3ede9bb
Add missing offsets for window coordinates - reported by Colin Harrison
2007-05-23 12:56:04 -04:00
Soren Sandmann Pedersen
56fd927155
Remove fast path code from fbpict.c
...
Remove the various fast path functions from fbpict, and instead use
pixman_image_composite().
2007-05-21 20:00:25 -04:00
Soren Sandmann Pedersen
756acea23a
Use pixman_image_set_indexed() to make 8 bit work
2007-05-18 14:06:21 -04:00
Soren Sandmann Pedersen
7916419a00
Comment out setup of general MMX code
2007-05-18 14:06:21 -04:00
Soren Sandmann Pedersen
998164bac6
Move fbCompositeGeneral() to fbpict.c and remove fbcompose.c
2007-05-18 14:06:21 -04:00
Soren Sandmann Pedersen
a2e3614eb8
Break image_from_pict() into a few subfunctions.
2007-05-18 14:06:21 -04:00
Soren Sandmann Pedersen
c5ef84c325
Make the general compositing code create a pixman image and call
...
pixman_image_composite(). Leave the general code commented out for now.
2007-05-18 14:06:21 -04:00
Soren Sandmann Pedersen
0375009a97
Remove excessive unrolling in fbCompositeSrc_x888x8x8888() and fix bug where
...
the source alpha was used instead of 0xff.
2007-05-17 12:59:24 -04:00
Soren Sandmann Pedersen
546465ee6a
Make fbFetch_b8g8r8() actually write the read value to the buffer
2007-05-16 17:42:04 -04:00
Soren Sandmann Pedersen
3da842bf93
Revert various fast path functions to their pre-pixman-merge state
...
since they fail rendercheck. Remove their associated macros.
See bug 10903.
2007-05-15 14:57:14 -04:00
Soren Sandmann Pedersen
d2f813f7db
New fbWalkCompositeRegion() function
...
This new function walks the composite region and calls a rectangle
compositing function on each compositing rectangle. Previously there
were buggy duplicates of this code in fbcompose.c and
miext/rootles/safealpha/safeAlphaPicture.c.
2007-05-03 12:17:24 -04:00
Soren Sandmann Pedersen
e0959adcd8
Add fbCompositeRect() as another special case in the switch of doom in fbpict.c
...
This is phase one of getting the two region walkers in fbcompose.c and
fbpict.c merged together.
2007-05-03 12:17:24 -04:00
Keith Packard
71fc5b3e93
Fix for a divide by zero that can be triggered by a malicious client.
...
Problem reported by Derek Abdine of rapid7.com. Thanks.
2007-05-02 11:41:11 +02:00
Michel Dänzer
5e4b3232da
Fix fbCompositeTrans_0888xnx0888 build for wfb on big endian.
2007-04-29 23:38:22 +02:00
Michel Dänzer
2866e0bac9
Fix a couple of picture repeat fields incorrectly compared to RepeatNormal.
2007-04-29 23:38:13 +02:00
Soren Sandmann Pedersen
78a2045535
Pixman merging
...
More msvc++ porting
2007-04-27 15:20:24 -04:00
Soren Sandmann Pedersen
6c4f1826bf
Bug fix in fbCompositeIn_nx8x8888
...
Make sure both halves of the dst word is set to zero when the masks
are both 0.
2007-04-27 08:13:45 -04:00
Soren Sandmann Pedersen
2208c6087d
Change expand_alpha_rev to expand_alpha in mmxSaturateU
2007-04-26 14:40:30 -04:00
Soren Sandmann Pedersen
a300ef84ce
Fix typo in previous commit
2007-04-26 14:37:53 -04:00
Soren Sandmann Pedersen
0ebe48be59
Pixman merge
...
- Changes to support MS Visual C++
- use inline instead of __inline__
- Fix rounding errors (Billy Biggs, from xserver via pixman)
2007-04-26 14:36:32 -04:00
Soren Sandmann Pedersen
0ff7c94fcf
Pixman merge
...
Make use of fbCompositeSrcAdd_8888x8x8mmx
2007-04-26 10:56:02 -04:00
Soren Sandmann Pedersen
701ccb4a22
Pixman merge
...
- Remove stray default label
- Integrate new MMX ops SolidMaskSrc_nx8x8888mmx, In_8x8mmx, and
In_nx8x8mmx
- Formatting changes to reduce diff noise
2007-04-26 10:49:06 -04:00
Soren Sandmann Pedersen
a54ef54db1
Pixman merge
...
Make sure fbCompositeSrc_x888x8x8888mmx and fbCompositeSrc_8888x8x8888mmx
are used when possible.
2007-04-26 10:24:25 -04:00
Soren Sandmann Pedersen
3571b8e65b
More pixman merging
...
- Move some code around to minimize diff noise
- Add mmx ops from pixman that never made it into X
- Merge Jeff Muizelaar's bugfixes to fbCompositeSrc_8888x8x8888mmx and
fbCompositeSrc_x888x8x8888mmx.
2007-04-26 10:06:47 -04:00
Soren Sandmann Pedersen
67347739b0
Don't treat convolution filters as transformations.
...
Some rearrangement of code to get it closer to pixman.
2007-04-25 22:22:22 -04:00