summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa
AgeCommit message (Collapse)AuthorFilesLines
2007-11-05XFree86: Remove usage of allocaDaniel Stone9-39/+39
Replace with heap allocations.
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner1-5/+7
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-09-19Merge branch 'master' into XACE-SELINUXEamon Walsh10-518/+6
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 Anholt9-514/+1
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-09-04bgPixel (unsigned long) is 64-bit on x86_64, so -1 != 0xffffffffHong Liu1-4/+5
This patch should fix bug 8080.
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh10-94/+60
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-25Implement core protocol backing store exclusively in terms of Composite.Adam Jackson4-219/+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-06-29Death to RCS tags.Adam Jackson2-4/+0
2007-05-11Make the use of ICEIL slightly less ugly.Adam Jackson1-4/+0
2007-03-28Move the XAA private indices to be static.Adam Jackson7-16/+8
Technically this is an ABI break, if you aren't smart enough to be using the getter functions. Cope.
2007-03-27Move libcw setup to the only renderer requiring it (XAA).Eric Anholt2-0/+9
Additionally, protect libcw setup behind checks for Render, to avoid segfaulting if Render isn't available (xnest). The previous setup was an ABI-preserving dance, which is better nuked now. Now, anything that needs libcw must explicitly initialize it, and miDisableCompositeWrapper (previously only called by EXA and presumably binary drivers) is gone.
2006-09-18Remove smashing of CFLAGS from server build.Keith Packard1-1/+1
CFLAGS is a user variable, extracted from the environment at configure time and settable by the user at build time. We must not override this variable.
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson37-40/+0
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone1-1/+1
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-07-03Fix bugs in support for new repeatTypes in XAA and EXA.Eric Anholt1-1/+7
EXA now won't pass pictures with new repeatTypes to drivers. We can add a flag for them to support it at a later time.
2006-07-01Merge branch 'origin'Keith Packard1-1/+4
2006-07-01Bug #7381: Coordinates get wrapped in accelerated line drawing on pixmapPaul Mackerras1-14/+5
XAAPolylinesWideSolid was adding the drawable origin onto each element in the pPts array. Since the values got stored back into the pPts array, they got truncated to 16 bits, causing the overflow I saw. This patch avoids storing the coords back into the pPts array (and actually reduces the size of the code too :). Now the 32-bit sum of coords + origin doesn't get truncated to 16 bits, and the problem is solved.
2006-06-21Bug 4320: Fastpath corner case improvement for Composite.Matthias Hopf1-1/+4
2006-06-05Ensure all *ModuleData symbols are marked _X_EXPORT. Start removingAdam Jackson1-10/+1
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO ifdefs surrounding a call to a function added in XFree86 4.1 (!). Miscellaneous static markings.
2006-05-11Bug #4320: Improved XAA Composite fastpath.Matthias Hopf1-6/+13
2006-04-30Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes.Adam Jackson2-6/+0
2006-02-11<sys/limits.h> -> <limits.h> so we can compile on non-BSD OS'esAlan Coopersmith1-1/+1
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt33-48/+22
of (marginal) use in the drivers, and that usage remains.
2005-12-22Adjust the rules for auto-generating some source files, so that they workEric Anholt1-28/+31
on both GNU make and FreeBSD's make.
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-1/+1
2005-11-29Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadableKevin E Martin1-1/+1
module builds to reflect this change.
2005-10-13Dist NOTES.Kristian Høgsberg1-1/+2
Dist helper shell scripts. Dist XAA.HOWTO and a few more unused C files. Dist xorgconf.cpp. Fix DIST_EXTRA typo. Clean yacc and lex generated files only during make maintainer-clean as we don't expect users to have those tools installed.
2005-09-13Bug #594: CAN-2005-2495: Fix exploitable integer overflow in pixmapDaniel Stone1-0/+3
creation, where we could create a far smaller pixmap than we thought, allowing changes to arbitrary chunks of memory. (Søren Sandmann Pedersen)
2005-08-24Remove use of dix-config and xorg-config.h from public headers.Daniel Stone4-15/+0
2005-08-11Thu Aug 11 11:43:32 2005 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-3/+20
Make sure we don't crash on glyphs with NULL bits. Bug 659.
2005-07-26fb/Makefile.am: add fbpseudocolor.h to sdk_HEADERSSøren Sandmann Pedersen1-2/+2
hw/xfree86/xaa/Makefile.am: add xaaWrapper.h to sdk_HEADERS
2005-07-13Dear libtool: Loadable modules do not need version numbers. kthnxbye.Adam Jackson1-0/+2
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone29-29/+29
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone41-3/+167
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-02Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.Daniel Stone1-0/+2
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone29-32/+32
2005-07-01Adding initial build system.Daniel Stone1-0/+63
2005-07-01Add support for gradients and solid fills to Render.Lars Knoll1-18/+18
Changed the semantics of the Convolution filter a bit. It now doesn't try to normalize the filter values but leaves this to the client. This gives more reasonable behaviour in the limit where the filter parameters sum up to 0.
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone32-36/+36
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-02-02Bug #1294: Make sure RenderAccel hooks get wrapped in XAA init.Adam Jackson1-29/+33
2004-12-06Use the same method of finding the screen pixmap of COMPOSITE extension isEgbert Eich1-436/+40
compiled in or not. Removed stale make variable. Updated xaaWrapper.c: Under certain circumstances the accel path was not used when possible. Removed some debugging stuff and stale code that had been commented out. Check if maps are really installed before attempting to list them.
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn1-1/+1
2004-08-29Don't define _XOPEN_SOURCE before including math.h on Solaris - it's notAlan Coopersmith1-2/+3
needed on older releases, and breaks builds on Solaris 10. (Same as bugzilla #189).
2004-08-14Bug #1077: Fix source copy performance problem exposed by Composite.Eric Anholt1-6/+71
2004-08-04- Add two new XAA hooks, SetupForCPUToScreenTexture2 andEric Anholt3-12/+68
SetupForCPUToScreenAlphaTexture2. These add a dstFormat argument after the previous format argument, which the driver needs to use to properly set up the destination format. Two new arrays are added for the list of destination formats supported that correspond to the previous format arrays for sources. - Make Render acceleration only occur when the new hook for that acceleration type is supplied and the dst format list is set, along with the src format list being set. Without knowing the destination format, the Render acceleration couldn't properly support all the destinations it might encounter. - Bump XAA module minor version. - Update the Radeon Render acceleration to use the new hooks when the XAA module is sufficiently new. Fix a bug in the src/dst alpha booleans for ops, and use them to set blend_cntl to support destinations without alpha. Add missing PICT_a1r5g5b5 texture format, and add list terminator. (!)
2004-08-03Fix declaration of XAACachePlanarMonoStippleProc. RenameMatthieu Herrb2-5/+4
XAACachePlanarMonoStippleWeak to XAAGetCachePlanarMonoStipple() for consistency with other parts of xaa and fix forward declaration in xaalocal.h. Fixes last comments on Bug #962.
2004-08-03Bug #962: Remove LoaderSymbol calls introduced by the dlloader work soAdam Jackson4-2/+26
DoLoadableServer NO builds work again.
2004-07-30An experimental pseudocolor emulation layer. Not fully completed, currentlyEgbert Eich2-0/+933
only works for 16bpp.
2004-07-30Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, allAdam Jackson6-22/+70
framebuffer formats except cfb and the overlay modes should work, and r128 and radeon need to be loaded from the ati driver (both issues to be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga drivers. elfloader users shouldn't be affected.
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich42-43/+45