summaryrefslogtreecommitdiff
path: root/composite
AgeCommit message (Collapse)AuthorFilesLines
2007-05-24Fix build of composite, dix, and randr when Xinerama is disabled.Luo Jie1-0/+2
2007-03-27Disable composite when Xinerama is active.Eric Anholt1-0/+5
It will likely take a decent bit of work to make that work right.
2007-03-27Disable Composite when the screen's visual is pseudocolor.Eric Anholt1-2/+15
Rendering fails badly in this case, and I don't care enough to fix it.
2007-03-27Refuse to initialize Composite if Render is not present.Eric Anholt1-0/+6
Composite relies on the presence of Render, in particular for the automatic compositing.
2007-03-25Static cleanups, dead code deletion.Adam Jackson4-25/+10
2006-12-15Convert callers of LookupWindow() to dixLookupWindow().Eamon Walsh1-3/+3
2006-12-05Bug #9219: Use pWin->viewable instead of pWin->realized to catch InputOnly ↵Aaron Plattner1-1/+1
windows too.
2006-12-05Bug #9219: Return BadMatch when trying to name the backing pixmap of an ↵Aaron Plattner1-1/+4
unrealized window. Before this change, ProcCompositeNameWindowPixmap would name the screen pixmap if !pWin->realized.
2006-08-08Add CompositeRegisterAlternateVisuals.Aaron Plattner3-12/+49
This provides drivers the ability to add their own alternate visuals and then register them with Composite for implicit redirection.
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-04-07Fri Apr 7 13:46:45 2006 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-1/+2
Use FreeResource instead of deleteCompOverlayClient()
2006-03-29Fix composite overlay window bug 6411Deron Johnson2-0/+11
2006-03-13Part 3 of 3 (Other parts are in proto and lib) Composite Version 0.3:Deron Johnson5-1/+463
CompositeGetOverlayWindow, CompositeReleaseOverlayWindow Xfixes Version 4.0: XFixesHideCursor, XFixesShowCursor
2006-01-12Thu Jan 12 17:09:18 2006 Søren Sandmann <sandmann@redhat.com>Søren Sandmann Pedersen1-0/+12
Add new functions to enable and disable events on Map and Unmap. Use them here to make sure Composite redirect doesn't cause Map/UnmapNotify events that would confuse window managers.
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-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone1-2/+2
2005-07-03Fix more include paths; add dix-config.h to XKB code.Daniel Stone4-12/+0
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone5-0/+20
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 Stone1-2/+2
2005-07-01Adding initial build system.Daniel Stone1-0/+8
2004-08-15Clip destination instead of source. Should be the same, but it looks nicerKeith Packard1-6/+5
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 Packard2-8/+12
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-35/+49
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 Packard1-0/+20
Make cw "own" the window pixmaps by wrapping GetWindowPixmap/SetWindowPixmap.
2004-08-13Empty damage object when freeing pixmap.Keith Packard4-9/+67
Wrap InstallColormap so that the DDX doesn't see colormaps from our ARGB visual (avoids lovely green tint to screen). Also, set visual->nplanes of ARGB visual to all used (including alpha) planes so DIX can set pixel values correctly. Translate automatic update regions correctly to account for borders When nplanes == 32 (ARGB visuals), mask in all ones for alpha values to allocated pixel values. Remove redundant fbAddTraps declaration Fix fbCopyWindow to work on non-screen pixmaps (not needed yet) Replace broken clipping code with that from modular tree. Respect subWindowMode.
2004-08-12Apply a kludge to initialize the composite wrapper before DamageSetup. IfEric Anholt1-3/+0
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 some issues reported by deronj:Eric Anholt2-3/+4
- Hopefully fix a crash in compCheckRedirect on unrealizing windows. - Remove an extern that doesn't point at anything.
2004-08-12Paint to parent window instead of parent window's pixmap (helps for serversKeith Packard1-5/+6
that don't have a pixmap for the root) Fix offsets for render drawing.
2004-08-07Remove alpha-related fields from visual structure to retain binaryKeith Packard1-3/+0
compatibilty. Applications using ARGB visuals will need to use Render or other mechanisms to compute pixel values instead of AllocColor
2004-08-03Major improvements to Composite wrapper. Several issues remain, but it nowEric Anholt1-0/+1
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-07-31Integrate COMPOSITEWRAP branch including composite wrapper. This code stillEric Anholt5-0/+2267
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.