summaryrefslogtreecommitdiff
path: root/fb
AgeCommit message (Collapse)AuthorFilesLines
2007-11-20Remove some duplicate include statements.Eamon Walsh1-1/+0
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh3-4/+8
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-15Save pixmap allocation hints into the PixmapRec.Aaron Plattner3-4/+8
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh5-17/+19
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
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-17Merge branch 'master' into XACE-SELINUXEamon Walsh2-4/+41
Conflicts: os/access.c
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-19Merge branch 'master' into XACE-SELINUXEamon Walsh7-146/+0
Conflicts: afb/afbpntwin.c afb/afbscrinit.c afb/afbwindow.c cfb/cfb.h cfb/cfballpriv.c cfb/cfbscrinit.c cfb/cfbwindow.c configure.ac fb/wfbrename.h hw/xfree86/xf4bpp/ppcIO.c hw/xfree86/xf4bpp/ppcPntWin.c hw/xfree86/xf4bpp/ppcWindow.c hw/xfree86/xf8_32bpp/cfbscrinit.c mfb/mfb.h mfb/mfbpntwin.c mfb/mfbscrinit.c mfb/mfbwindow.c mi/miexpose.c Note: conflicts caused by devPrivates rework vs. paintwindow changes.
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-28devPrivates rework: since API is already broken, switch everythingEamon Walsh9-116/+64
over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates.
2007-08-28Merge branch 'master' into XACE-SELINUXEamon Walsh8-110/+23
Conflicts: include/miscstruct.h mi/mibstore.c mi/midispcur.c os/Makefile.am
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-08-02Merge branch 'master' into XACE-SELINUXEamon Walsh35-814/+47
Conflicts: dix/devices.c dix/property.c include/dix.h
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-11Merge branch 'master' into XACE-SELINUXEamon Walsh13-3607/+292
Conflicts: dix/dixutils.c
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-22Merge branch 'master' into XACE-SELINUXEamon Walsh7-5376/+1169
Conflicts: include/miscstruct.h
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