summaryrefslogtreecommitdiff
path: root/miext/damage
AgeCommit message (Collapse)AuthorFilesLines
2008-10-23Fix previous cherry pick for API changesAdam Jackson1-1/+1
2008-10-23Wrap AddTraps in exa and damage.Keith Packard2-0/+54
This fine (and unused) function wasn't ever wrapped which made it not work under exa. (cherry picked from commit 06e7e1d0486e8c516a9b3219a2c86026f88825fc)
2008-10-02Unifdef ISCAdam Jackson3-0/+0
2008-08-31damage: choose less ambiguous function namesMaarten Maathuis2-39/+39
2008-08-30damage: initial attempt at a damage marker mechanismMaarten Maathuis3-12/+107
- This should allow drivers to recieve post submission events for X<->opengl synchronisation. - Lacking a testcase, i'm open to suggestion how to do it better. - The idea is: - driver recieves event - driver creates personal identification and inserts marker into X fifo. - when something wants to use an X pixmap, it checks if something is pending. - If so, it synchronizes the 2nd fifo using the initial identification. - Driver is not required to use interrupt based systems (price too high). - Lower latency is ofcource better. - If this is somehow unusable for you, then come up with improvements. - For that reason i wouldn't consider the api fixed for the moment.
2008-08-29damage: DamageReportRawRegion should set pDamage->damageMaarten Maathuis1-0/+2
- I found no evidence in the protocol, that it should be differently from all the other modes. - It seems to have been like this from day 1. - If anyone has evidence to the contrary, please enlighten me.
2008-08-29damage: internal functions start with a non-capital letterMaarten Maathuis1-3/+3
2008-08-29{damage,exa}: sanitise damageMaarten Maathuis2-32/+58
- Redo damage naming for more consistency. - Call post submission functions only where appropriate. - EXA can now live without it's odd damage workarounds.
2008-08-28Prepare for array-index based devPrivates.Tomas Carnecky1-4/+8
TODO: static indices can be made just an int; some indices can be combined.
2007-12-13Merge branch 'master' into XACE-SELINUXEamon Walsh1-3/+0
Conflicts: Xext/EVI.c Xext/bigreq.c Xext/cup.c Xext/dpms.c Xext/fontcache.c Xext/mitmisc.c Xext/xcmisc.c Xext/xf86bigfont.c Xext/xtest.c configure.ac dbe/dbe.c hw/darwin/darwin.h hw/darwin/darwinEvents.c hw/darwin/iokit/xfIOKit.h hw/darwin/iokit/xfIOKitCursor.c hw/darwin/quartz/fullscreen/fullscreen.c hw/darwin/quartz/fullscreen/quartzCursor.c hw/darwin/quartz/quartz.c hw/darwin/quartz/quartzCommon.h hw/darwin/quartz/quartzCursor.c hw/darwin/quartz/xpr/dri.c hw/darwin/quartz/xpr/dristruct.h hw/darwin/quartz/xpr/xprCursor.c hw/darwin/quartz/xpr/xprFrame.c hw/xfree86/modes/xf86RandR12.c include/cursor.h miext/rootless/rootlessCommon.h miext/rootless/rootlessScreen.c miext/rootless/rootlessWindow.c render/picturestr.h Trying to pick up the pieces from the darwin churn here...
2007-12-02Clean up many #if 0.Adam Jackson1-3/+0
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh1-2/+2
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05Damage: Remove usage of allocaDaniel Stone1-2/+2
Replace with heap allocations.
2007-09-19Merge branch 'master' into XACE-SELINUXEamon Walsh3-35/+9
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 Anholt2-35/+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-09-07Add DamagePendingRegion.Michel Dänzer2-0/+9
DamagePendingRegion returns a pointer to the region of a drawable that will be damaged by the current operation for damage records that chose to get damage reported only at the end of the operation.
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh2-38/+18
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 Jackson2-23/+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 Jackson3-6/+0
2007-03-27Move libcw setup to the only renderer requiring it (XAA).Eric Anholt1-10/+0
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.
2007-03-25Static cleanups, dead code deletion.Adam Jackson2-14/+10
2006-12-19Merge branch 'master' into exa-damagetrackMichel Dänzer2-3/+1
Conflicts: exa/exa_accel.c exa/exa_migration.c
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone2-3/+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-06-12Provide option to report damage after operation is complete.Eric Anholt3-37/+119
2006-04-30Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes.Adam Jackson1-3/+0
2006-02-16Make more extensions optional in build (for kdrive). Fix kdrive build forKeith Packard1-0/+2
actual hardware. Fix kdrive pointer signed/unsigned types. Add kdrive-required YX rotation functions. Replace rgb text file loading with static rgb color table.
2006-02-15Mark everything in misym.c as _X_EXPORT.Adam Jackson1-1/+1
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt1-0/+2
of (marginal) use in the drivers, and that usage remains.
2006-01-23wrap with if XORG / endifAlan Hourihane1-0/+2
2006-01-23#include "gcstruct.h"Alan Hourihane1-0/+1
2006-01-23add damage.h & damagestr.h to SDK headersAlan Hourihane1-0/+2
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-2/+2
module builds to reflect this change.
2005-10-06Bug #4699: Correct some memory leaks in EXA and damage related to regionEric Anholt1-8/+10
handling.
2005-08-07Bug #3989: Fix Composite builds, enable Composite build by default. (OlliAdam Jackson1-0/+2
Helenius)
2005-07-03Fix more include paths; add dix-config.h to XKB code.Daniel Stone1-3/+0
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone3-2/+14
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-01Adding initial build system.Daniel Stone1-0/+6
2005-06-09Bug #2469: More accurate damage reports. (Jonathan Lennox)Adam Jackson1-36/+58
2005-03-22Tue Mar 22 12:47:16 2005 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-1/+5
Only validate the source if it is a viewable window. Stops the cursor flickering when it is above an unviewable window.
2005-03-16Wed Mar 16 16:17:43 2005 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-3/+7
Only validate the source if it is a viewable window. Stops the cursor flickering when it is above an unviewable window.
2004-12-02//freedesktop.org/bugzilla/show_bug.cgi?id=1998): Fix Xserver standaloneRoland Mainz1-1/+3
build when RENDER extension includes are not availabe.
2004-11-23//freedesktop.org/bugzilla/show_bug.cgi?id=1204): Fix X11 test suiteRoland Mainz1-2/+2
(caused by DAMAGE layer) failure with Xvfb when rendering text using |XDrawText*()| (XDrawText() tests 1, 3, 4, 27, 28, 29, 30, 34, 37, 39, 41, 43 and XDrawText16() tests 1, 3, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34, 37, 39, 41, 43). Patch by Hong Bo Peng <penghb@cn.ibm.com> and Stefan Dirsch <sndirsch@suse.de>.
2004-09-03First set of documentation updates.Kevin E Martin1-8/+4
Include more correct fix for rootless interaction with damage (Bug #1168, Keith Packard).
2004-09-02Workaround for servers using rootless layer with damage (Bug #1168, TorreyXORG-6_7_99_904Kevin E Martin1-0/+8
T. Lyons).
2004-08-14Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32Keith Packard1-5/+9
visuals. Necessary to keep Flash from crashing. Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default)
2004-08-12Apply a kludge to initialize the composite wrapper before DamageSetup. IfEric Anholt1-0/+13
not, DamageSetup will wrap some operations first, and the cw initializes during ExtensionInit, so cw comes higher in the wrapping chain. cw going first will result in damage getting confused when the drawables get changed around.
2004-08-12Add call to SourceValidate() when pDst == pSrc, so misprite.c get a chanceKristian Høgsberg1-0/+13
to remove the sprite before the area is copied. The drivers handle pDst != pSrc (#1030).
2004-08-11Add COMPOSITE change to fbCopyWindow (not needed yet)Keith Packard2-30/+56
Xnest was half-using midispcur and doing a bad job of it. Replace all of that code with mipointer which does a lot of the work. Support DDXen which don't provide GetWindowPixmap, or which return NULL for the root pixmap.