summaryrefslogtreecommitdiff
path: root/miext
AgeCommit message (Collapse)AuthorFilesLines
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 Stone51-19/+223
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 Stone4-0/+8
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone3-3/+3
2005-07-01Adding initial build system.Daniel Stone5-0/+50
2005-06-09Bug #2469: More accurate damage reports. (Jonathan Lennox)Adam Jackson1-36/+58
2005-05-18rewrite the rootless compositing code (1) compiles which is already a hugeZack Rusin1-191/+238
improvement ;) , 2) matches the new render composition semantics)
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone9-9/+9
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-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-09Fix crash with more than one screen reported by John Davidorff Pell.Torrey Lyons1-2/+25
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn39-40/+40
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-11-22Windows does not have ffs() implementation. added oneAlexander Gottwald1-1/+1
Enable RootlessSafeAlpha and RootlessAcceleration for the Windows port too
2004-10-25Fix rootless Cygwin crash due to acceleration code illegally modifying aTorrey Lyons1-6/+37
const structure (Reported by Kensuke Matsuzaki).
2004-10-08Allow rootless implementations to override frame reordering. This is usedTorrey Lyons2-2/+26
on Mac OS X when genie-restoring from the Dock to ensure that the animation completes before drawing the frame.
2004-09-18Bugzilla #1032: Make rootless acceleration functions compatible withTorrey Lyons4-12/+107
Damage.
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-27Bug #1101: Fix PaintWindow in the pixmap case when the window's origin isEric Anholt1-25/+23
not at the backing pixmap's origin. Resulted in incorrect rendering in at least aisleriot, fluxbox, and KDE apps, and probably many more. While here, move the ParentRelative loop above the drawable grab -- may improve correctness with ParentRelative background origins as well. Note that the border code doesn't handle ParentRelative yet.
2004-08-26Bug #1138: Wrap funcs in CW's GC ops as well. While this is unnecessaryEric Anholt2-1/+6
according to the rules as I understand them (bug #1045), not everybody follows the rules. GC funcs were being called on the same GC from within GC ops, and the cwValidateGC caused a loop in the funcs chain that resulted in a crash, notably in cwPolylines.
2004-08-18Fix CopyArea for non-redir dst, redir src (Bug #1105, Eric Anholt).Kevin E Martin2-173/+26
2004-08-15Clip destination instead of source. Should be the same, but it looks nicerKeith Packard1-52/+59
to me. Clean up transition between cheap and expensive GC wrappers by using the prologue and epilogue macros. Before, the GC would be left unvalidated sometimes which would cause all kinds of entertaining bugs against a DDX which cares (XAA).
2004-08-15Remove debugging code which did a full tree walk on every window operationKeith Packard1-5/+4
Eliminate needless (and, it turns out, dangerous) call to ChangeGC on DestroyGCPrivate. in cwSetWindowPixmap, check if the pixmap is the screen pixmap and disable the wrapper by setting the private to NULL.
2004-08-15Copy bits from parent window when allocating pixmaps so that Background ==Keith Packard1-1/+15
None works. Copy filter to backing picture during validation. Mark picture serialNumber when setting Filter or Transform so Validate occurs. Initialize xf86Screens[i]->pScreen to NULL so that RADEON driver doesn't crash during server reset using old pScreen.
2004-08-15Redraw window borders when switching window pixmaps aroundKeith Packard3-14/+49
Make cw "own" the window pixmaps by wrapping GetWindowPixmap/SetWindowPixmap.
2004-08-14Fix offsets again. Really, it works this time. Promise.Keith Packard1-11/+12
2004-08-14Fix offsets, do whole region at once by using GC clippingKeith Packard1-15/+35
2004-08-14Fix clip list computation and setting to ignore clip changes to "real"Keith Packard3-70/+109
GC/Picture and track serial numbers correctly when copying pCompositeClip down.
2004-08-14Wrap CopyWindow in cw, which fixes scrolling in many apps.Eric Anholt2-0/+44
2004-08-14Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32Keith Packard3-27/+41
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-12Fix various cw issues, including a couple reported by deronj:Eric Anholt4-48/+41
- Fix wrapping of GC ops/funcs according to policy described in bug #1045. - Remove ValidateGC/ValidatePictures on the redirected drawables/pictures -- it's not needed, and DDXs shouldn't be seeing redirected drawables in render or GC ops/funcs when cw is running. - Mark all GC/Picture state as dirty when moving from redirected to non-redirected, since it hadn't been passed down in Change* or Validate* while redirected. - Remove CreatePicture wrapper that didn't do anything. - Comment on why AddTraps wrapper isn't needed.
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-12Paint to parent window instead of parent window's pixmap (helps for serversKeith Packard1-2/+2
that don't have a pixmap for the root) Fix offsets for render drawing.
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.
2004-08-07Fix minor timestamp lossage in mieq.Keith Packard1-9/+8
Replace miSprite implementation with Damage-based one. Otherwise damage and misprite conflict causing looping. Change pScreen usage around a bit to eliminate warnings
2004-08-07Clean up cw initialization, make sure wrappers re-wrap on exit.Keith Packard1-19/+11
2004-08-06Fix missing ';' in cw.c and unwrap the render wrapper properly.Eric Anholt3-5/+24
2004-08-05- Add a new Render function, CopyPicture, which will update a picture withEric Anholt3-114/+116
the flagged bits from a source picture. Approved in principle by keithp. - Use CopyPicture and SetTransform to update most of the backing picture's state in the composite wrapper. Filters are still missing. - Don't allocate a picture private, now that we calculate clipping properly and don't need the serialNumber or stateChanges. - Use the format of the source pixmap rather than generating the format from the window's visual. - Wrap the rest of the Render primitives that were stubbed out before.
2004-08-04- Always validate the backing GC in cwValidateGC, not just when the clipEric Anholt1-20/+18
list changes. - Use FillTiled instead of FillSolid for painting tiled border/background pixmaps, and don't needlessly change the scratch GC's defaults. - Use the preferred dixChangeGC instead of DoChangeGC. - Simplify a silly loop and clean up a couple of comments.
2004-08-03programs/Xserver/hw/xfree86/ddc/xf86DDC.hMatthieu Herrb4-9/+9
programs/Xserver/hw/xfree86/vgahw/vgaHW.c programs/Xserver/hw/xfree86/vgahw/vgaHW.h programs/Xserver/miext/shadow/shadow.h programs/Xserver/miext/shadow/shpacked.c programs/Xserver/miext/shadow/shplanar.c programs/Xserver/miext/shadow/shrotate.c Fix glitches in pointer to functions declarations.
2004-08-03Major improvements to Composite wrapper. Several issues remain, but it nowEric Anholt4-209/+274
appears stable in limited testing. - Allocate the picture private, avoiding segfault. - Wrap PaintWindow to draw the background/border to the backing pixmap (based on Deron Johnson's comptran.c). - Set the x_off/y_off returns to translate coordinates properly. - Don't bother allocating temporary areas for the modified coordinates. Layers above are responsible for handling lower layers changing the arguments, so cw doesn't have to worry about it. mibstore.c has to do the allocation because it calls down twice (front buffer and backing store). (Suggested by keithp) - Handle the mode argument to PolyPoint, Polylines, and FillPolygon. - Remove some dead elements in the cw privates. - Kill a prototype warning in compinit.c by adding the cw.h header.
2004-08-03Bug #962: Remove LoaderSymbol calls introduced by the dlloader work soAdam Jackson4-1/+21
DoLoadableServer NO builds work again.
2004-07-31Integrate COMPOSITEWRAP branch including composite wrapper. This code stillEric Anholt4-0/+1718
has several issues, including: - CopyWindow and PaintWindow wrappers missing (will be done soon) - Some segfaults seen in the Render wrappers. - Xprt server build breaks with Composite. - DDXs must be recompiled for Composite due to VisualRec size change. - Composite bugs pointed out by Deron Johnson in email. Also, reorder XFixes initialization according to comments by Keith which are also in xserver CVS.
2004-07-31Integrate latest damage bits, including the addition of Composite code.Eric Anholt1-13/+81
Includes REGION_INIT -> REGION_NULL necessary to avoid segfaults with inlined region macros.
2004-07-30Add generic rootless layer documentation missed from last commit.Torrey Lyons1-0/+403
2004-07-30Merge many XDarwin improvements:Torrey Lyons4-71/+131
- Fix launch of X clients by double clicking in the Finder when there is a space in the path (Torrey T. Lyons). - Interpret scroll wheel mouse events correctly when shift is held down (Benjamin Burke). - Add option to always use Mac command key equivalents (John Harper and Torrey T. Lyons). - Add support for dynamic screen configuration changes in rootless mode (John Harper and Torrey T. Lyons). - Add documentation on generic rootless layer (Torrey T. Lyons).
2004-07-29Use LibraryTargetName when not building a loadable serverKevin E Martin1-1/+1
Move extern function declarations to window.h Cleaned up code since client's saveSet is no longer defined as a pointer* Added externs back in Change #if to #ifdef to fix compiler warning Add function declarations that were inadvertently removed by previous check in Disable extensions that are not (yet) supported by DMX