summaryrefslogtreecommitdiff
path: root/mi
AgeCommit message (Collapse)AuthorFilesLines
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh19-149/+154
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05mi: Remove usage of allocaDaniel Stone16-128/+128
Replace with heap allocations.
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner6-11/+16
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-29Change the GLX module to initialize after COMPOSITE.Kristian Høgsberg1-10/+10
This changes the module initalization order so that the GLX module initializes after COMPOSITE. The reason for this change is to be able to initialize a GLX visual config for the COMPOSITE ARGB visual.
2007-10-25Merge branch 'master' into XACE-SELINUXEamon Walsh1-4/+1
Conflicts: GL/glx/glxscreens.c hw/xnest/Screen.c render/glyph.c render/glyphstr.h render/render.c
2007-10-18Simplify and clean up GLX visual initialization.Kristian Høgsberg1-4/+1
Instead of the fragile setup where we filter the modes common between the DDX generated GLX visuals and the DRI driver generated fbconfigs, we now just take the fbconfigs returned by the DRI driver to be our supported set.
2007-10-17Merge branch 'master' into XACE-SELINUXEamon Walsh2-2/+2
Conflicts: os/access.c
2007-10-17xselinux: Started reworking extension using new XACE hooks.Eamon Walsh1-5/+1
2007-10-14mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSIBen Byer1-2/+1
2007-10-02Fix #12650: "windows not receiving mouse events in multiple screens context"Dodji Seketeli1-0/+1
* dix/events.c, include/dix.h: (UpdateSpriteForScreen): added this to update the mouse sprite context when we switch from a pScreen to another. * mi/mipointer.c: (miPointerWarpCursor): as we are switching to a new pScreen, don't forget to update the mouse sprite context.
2007-09-19Merge branch 'master' into XACE-SELINUXEamon Walsh5-344/+96
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-13Merge remote branch 'origin/master' into paint-windowEric Anholt1-44/+65
Conflicts: mi/miexpose.c
2007-09-13Remove the PaintWindow optimization.Eric Anholt5-139/+20
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-12Try again to fix drawable and tile offsets in miPaintWindowKeith Packard1-16/+29
Many coordinate spaces are hard. Let's go drinking.
2007-09-12miPaintWindow draw to window for background.Keith Packard1-42/+52
Instead of drawing to window pixmap for everything, draw to window for background as that works for Xnest and Xdmx; draw to pixmap for borders which neither of those X servers use.
2007-09-12Rewrite miPaintWindow to draw to window pixmap.Keith Packard1-198/+48
miPaintWindow was drawing to the root window, or (sometimes) drawing to the window after smashing the window clip list. This is losing, and easily fixed by just drawing to the window pixmap.
2007-08-30devPrivates rework: convert CursorRec and CursorBits over to new interface.Eamon Walsh1-7/+10
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh9-122/+84
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 Walsh11-4254/+38
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 Jackson10-4252/+37
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-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-16xace: add hooks + new access codes: core protocol screensaver requestsEamon Walsh1-2/+2
2007-08-14xace: add hooks + new access codes: core protocol GC requestsEamon Walsh3-6/+8
2007-08-06Require pixman-1 0.9.4, update pixman includes to new schemeSøren Sandmann Pedersen1-1/+1
2007-08-03security: drop the "declare extension security" dix call. Use theEamon Walsh1-5/+1
SecurityPolicy configuration file instead.
2007-08-02Merge branch 'master' into XACE-SELINUXEamon Walsh5-15/+22
Conflicts: dix/devices.c dix/property.c include/dix.h
2007-07-03Make Composite manual redirect windows not clip their parent.Keith Packard1-10/+21
This patch changes the semantics of manual redirect windows so that they no longer affect the clip list of their parent. Doing this means the parent can draw to the area covered by the child without using IncludeInferiors. More importantly, this also means that the parent receives expose events when that region is damaged by other actions.
2007-06-29Death to RCS tags.Adam Jackson3-4/+0
2007-06-19mieqEnqueue: Make local queue tail variables unsigned.Michel Dänzer1-1/+1
So the modulo arithmetic actually works as intended... thanks to Peter Hutterer for pointing out the problem.
2007-06-11Merge branch 'master' into XACE-SELINUXEamon Walsh1-16/+6
Conflicts: dix/dixutils.c
2007-06-11mieq queue handling cleanups.Michel Dänzer1-16/+6
In particular, fix handling of wraparounds in mieqEnqueue.
2007-05-22Merge branch 'master' into XACE-SELINUXEamon Walsh7-792/+76
Conflicts: include/miscstruct.h
2007-05-15Port large amounts of the region code to pixmanSoren Sandmann Pedersen1-679/+50
2007-05-15Add new InitRegions() function called from dix/mainSoren Sandmann Pedersen1-0/+7
2007-05-11Remove mfb and cfb from include paths where they're not needed.Adam Jackson1-2/+0
2007-05-11Use system copy of cbrt() if available.Adam Jackson3-55/+11
Also move the replacement inline into miarc.c, since that's the only user.
2007-05-11Use _X_INLINE instead of ad-hoc #defines.Adam Jackson2-31/+5
2007-05-11Make the use of ICEIL slightly less ugly.Adam Jackson4-22/+3
2007-04-19Revert "Suppress software cursor removal during rotated shadow buffer drawing."Keith Packard3-36/+4
This reverts commit 999b681cf3973af4191506e49cde06963b11a774. Replacing this with simpler code that just disables SourceValidate during rotation redisplay.
2007-04-18Suppress software cursor removal during rotated shadow buffer drawing.Eric Anholt3-4/+36
2007-04-18Remove libminimi build.Eric Anholt1-5/+2
It appears to have been a leftover of a previous incarnation of the build system that didn't handle miinitext.c well.
2007-04-17Merge branch 'master' into XACE-SELINUXEamon Walsh2-5/+5
Conflicts: dix/privates.c
2007-04-10mieq: Use larger default queue sizeDaniel Stone1-1/+1
Use a default queue size of 512 rather than 256, else Xephyr is too slow without a host cursor, so events get stuck in the queue.
2007-04-09Bug #10560: Code-Cleanup: function declarations () -> (void)Stefan Huehner2-4/+4
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
2007-03-26Merge branch 'master' into XACE-SELINUXEamon Walsh36-1112/+627
2007-03-25Static and dead code cleanup from mi/Adam Jackson19-573/+61
2007-03-25Static cleanups, dead code deletion.Adam Jackson2-3/+3
2007-03-21mieq: Allow event handlers for arbitrary events to be setDaniel Stone2-0/+27
Allow arbitrary events to use mieq by letting custom handlers be set.
2007-03-09mi: remove 'register' keywords.Peter Hutterer25-556/+556