summaryrefslogtreecommitdiff
path: root/fb
AgeCommit message (Collapse)AuthorFilesLines
2007-12-02Clean up many #if 0.Adam Jackson1-3/+0
2007-11-15Save pixmap allocation hints into the PixmapRec.Aaron Plattner3-4/+8
2007-11-05fb: Remove usage of allocaDaniel Stone2-13/+13
Replace with heap storage.
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner4-4/+6
These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows.
2007-10-02fbcmap_mi.c: add a missing apiDodji Seketeli1-0/+8
* fb/fbcmap_mi.c: (fbSetVisualTypesAndMasks): added this entry point that was missing. This is useful so that servers using this entry point can use fbcmap_mi.c, and be obliged to stick to fbcmap.c. Note that fbcmap.c does implement this entry point. Up to now, kdrive based server could not use fbcmap_mi.c because this entry point was missing. The will allow Xephyr to properly use GL.
2007-09-27Add the FB_ACCESS_WRAPPER checksAlan Hourihane1-0/+10
2007-09-27Fix bug #12286Alan Hourihane1-4/+23
2007-09-13Remove the PaintWindow optimization.Eric Anholt7-146/+0
This was an attempt to avoid scratch gc creation and validation for paintwin because that was expensive. This is not the case in current servers, and the danger of failure to implement it correctly (as seen in all previous implementations) is high enough to justify removing it. No performance difference detected with x11perf -create -move -resize -circulate on Xvfb. Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-08-25Implement core protocol backing store exclusively in terms of Composite.Adam Jackson4-87/+0
Composite's automatic redirection is a more general mechanism than the ad-hoc BS machinery, so it's much prettier to implement the one in terms of the other. Composite now wraps ChangeWindowAttributes and activates automatic redirection for windows with backing store requested. The old backing store infrastructure is completely gutted: ABI-visible structures retain the function pointers, but they never get called, and all the open-coded conditionals throughout the DIX layer to implement BS are gone. Note that this is still not a strictly complete implementation of backing store, since Composite will throw the bits away on unmap and therefore WhenMapped and Always hints are equivalent.
2007-08-23Revert "Revert "Require pixman 0.9.5; Use pixman_image_set_source_clipping() ↵Søren Sandmann Pedersen1-0/+1
to fix"" since the pixman changes have been pushed now. This reverts commit 57f7f2a5327a2d967a726bb4706e4f6b2f4b2cea.
2007-08-22Revert "Require pixman 0.9.5; Use pixman_image_set_source_clipping() to fix"Eric Anholt1-1/+0
The corresponding pixman code hasn't been pushed, so revert until the code is ready. This reverts commit 53941c8e68014619d3ded7f8bc0f07d9a38bb9b1.
2007-08-22Revert "Fix <pixman.h> include to <pixman/pixman.h>"Eric Anholt1-1/+1
The pixman headers have been located under pixman-1/ instead of pixman/ since around 2007-08-06, and pixman-1.pc has the updated include paths to account for this. This reverts commit feb1b3e45513bd6eaa2e6a5ee536183f20d9cb68.
2007-08-22Fix <pixman.h> include to <pixman/pixman.h>Alan Hourihane1-1/+1
2007-08-21Require pixman 0.9.5; Use pixman_image_set_source_clipping() to fixSøren Sandmann Pedersen1-0/+1
bug 11620 (reported by Jens Stroebel.
2007-08-16stride is in FbBits-sized chunks, but xoff is not.Aaron Plattner1-3/+3
Fixes corruption problems with composite rendering to redirected windows in depth 16.
2007-08-16Bug #12015: Use the right offsets in the dst arguments of pixman_blt.Aaron Plattner1-2/+2
2007-08-06Require pixman-1 0.9.4, update pixman includes to new schemeSøren Sandmann Pedersen1-1/+1
2007-08-06Don't unwrap too early in libwfb for Composite.Aaron Plattner4-17/+16
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-07-11"fbpict.c", line 215: void function cannot return valueAlan Coopersmith1-1/+1
2007-07-05Clean up unused #ifdefs from fb.Adam Jackson4-75/+2
2007-06-29Death to RCS tags.Adam Jackson28-56/+0
2007-06-27Handle tileStride > 1 in fbEvenTile.Aaron Plattner2-5/+8
Patch courtesy of James Jones.
2007-06-22In fbFill() make sure the drawable is validated when pixman_fill() succeeds.Søren Sandmann Pedersen1-32/+22
In fbSolidBoxClipped() don't return when pixman_fill() succeeds.
2007-06-20Fixed fbSolidBoxClipped() to fill the right place.Arcady Goldmints-Orlov1-1/+1
Changed an X2 to a Y1. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2007-06-11Remove fbmmx.[ch] filesSøren Sandmann Pedersen2-121/+0
2007-06-11Replace fbFillmmx() with pixman_fill() and remove fbmmx.[ch]Søren Sandmann Pedersen7-385/+20
2007-06-11Delete fbBltmmx().Søren Sandmann Pedersen2-145/+0
2007-06-11Port a few forgotten fbSolidFillmmx()'es to fbFillmmx(). Use pixman_blt() ↵Søren Sandmann Pedersen3-30/+31
instead of fbBltmmx() in fbCopyNToN().
2007-06-11Remove fbCopyAreammx() and fbSolidFillmmx()Søren Sandmann Pedersen2-66/+0
2007-06-11Split fbSolidFillmmx() into a new FbFillmmx() function. Call that from fbFill().Søren Sandmann Pedersen3-18/+43
2007-06-11Split fbCopyAreammx() into a new fbBltmmx() function; call thisSøren Sandmann Pedersen3-38/+61
function from fbCopyNToN().
2007-06-11Don't pass regions to pixman_image_composite() anymore.Søren Sandmann Pedersen1-140/+140
2007-06-07Add new fb symbols to wfbrename.h.Aaron Plattner1-0/+2
Avoids crashes when wfbComposite calls the wrong image_from_pict.
2007-06-05Delete fbCompositeCopyAreammx()Søren Sandmann Pedersen2-36/+0
2007-06-05Remove most of the fast-path MMX operations from fbmmx. fbCopyAreammxSøren Sandmann Pedersen2-2734/+0
and fbSolidFillmmx are still needed by other code.
2007-06-03Include pixman.h from fb.h or compile of some files will failBenjamin Herrenschmidt3-3/+2
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2007-05-23Delete trapezoid rendering code; replace with pixman callsSoren Sandmann Pedersen1-167/+12
2007-05-23- Make image_from_pict() non-staticSoren Sandmann Pedersen7-588/+201
- Delete fbedge.c and fbedgeimp.h - Use pixman_rasterize_edges() in fbtrap.c
2007-05-23Add missing offsets for window coordinates - reported by Colin HarrisonSoren Sandmann Pedersen1-0/+13
2007-05-21Remove fast path code from fbpict.cSoren Sandmann Pedersen2-1697/+23
Remove the various fast path functions from fbpict, and instead use pixman_image_composite().
2007-05-18Use pixman_image_set_indexed() to make 8 bit workSoren Sandmann Pedersen1-0/+4
2007-05-18Comment out setup of general MMX codeSoren Sandmann Pedersen1-0/+6
2007-05-18Move fbCompositeGeneral() to fbpict.c and remove fbcompose.cSoren Sandmann Pedersen3-4363/+19
2007-05-18Break image_from_pict() into a few subfunctions.Soren Sandmann Pedersen1-183/+189
2007-05-18Make the general compositing code create a pixman image and callSoren Sandmann Pedersen2-3/+234
pixman_image_composite(). Leave the general code commented out for now.
2007-05-17Remove excessive unrolling in fbCompositeSrc_x888x8x8888() and fix bug whereSoren Sandmann Pedersen1-63/+22
the source alpha was used instead of 0xff.
2007-05-16Make fbFetch_b8g8r8() actually write the read value to the bufferSoren Sandmann Pedersen1-0/+1
2007-05-15Revert various fast path functions to their pre-pixman-merge stateSoren Sandmann Pedersen1-515/+36
since they fail rendercheck. Remove their associated macros. See bug 10903.
2007-05-03New fbWalkCompositeRegion() functionSoren Sandmann Pedersen3-196/+143
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-03Add fbCompositeRect() as another special case in the switch of doom in fbpict.cSoren Sandmann Pedersen3-15/+56
This is phase one of getting the two region walkers in fbcompose.c and fbpict.c merged together.