summaryrefslogtreecommitdiff
path: root/hw/kdrive
AgeCommit message (Collapse)AuthorFilesLines
2007-02-17Fix bus error on startup in 64-bit XephyrAlan Coopersmith1-14/+9
hostx_get_visual_masks takes unsigned long * arguments, but was being passed pointers to CARD32's. (cherry picked from commit 5dcad9e9d7d9993d65f989219bee94a060bbf476)
2007-02-17kdrive/ephyr: free screen structDaniel Stone1-0/+2
Free screen->driver on screenFini, instead of just leaking it. (cherry picked from commit 0f6dd4aea6176507dbe1c90c950d332fecbcaacb)
2006-12-24remove last remaning 'linux'isms (bug #5613)Samuel Thibault1-1/+5
Make sure we don't build non-Linux stuff in configure.ac, and test based on userland, rather than kernel.
2006-12-01fixup configure.ac problems with DRI_SOURCES and LBX_SOURCESairlied1-2/+1
2006-08-31Fix previous commit breaking other kdrives pulling in fbdev.aMatthew Allum2-1/+3
2006-08-31Add framebuffer device command line switch for XfbdevMatthew Allum3-9/+29
2006-08-29Re-add support for tslib (1.0 release) and Xcalibrate extension.Matthew Allum13-81/+49
2006-08-29kdrive: remove @KDRIVE_LIBS@ from Xfoo_DEPENDENCIESDaniel Stone17-25/+16
2006-08-01Back out 'mystery' spurious host window hints.Matthew Allum1-6/+0
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson14-14/+0
2006-07-21fix KdXvCopyPackedData to actually workDaniel Stone1-1/+1
Remove extraneous bit shift in KdXvCopyPackedData, so it's actually useful.
2006-07-08Fix crash in Xephyr when running on host X with keymap width < 4 ( i.e xvnc )Matthew Allum1-12/+8
2006-07-08Add support to Xephyr for simulating 8bit grayscale.Matthew Allum2-7/+22
2006-06-01Die XTESTEXT1, die!Daniel Stone1-26/+0
2006-05-29Remove -xkbmap argument.Daniel Stone1-3/+0
2006-05-03Make Xephyr build on Solaris:Alan Coopersmith2-2/+5
Add #include <sys/file.h> on Solaris for FNONBLOCK/FASYNC definitions hw/kdriver/linux/Makefile.am Move agp.c & agp.h to KDRIVE_HW_SOURCES since they're not needed for Xephyr-only builds Add -lrt to XEPHYR_LIBS if needed to get nanosleep().
2006-04-30Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes.Adam Jackson7-24/+0
2006-04-26Add a helper for the Component Alpha Over case, which breaks the operationEric Anholt1-0/+6
down into an OutReverse and an Add. Turn off the fallback to software glyphs when component alpha, now that we expect all (new) drivers to be able to support it. Also, make Xephyr fall back in the CA Over case to exercise this code. This speeds up my rgb24text and ls -lR in gnome-terminal by a factor of 5.
2006-04-25Add an option to verify at the point of migration that pixmaps which aren'tEric Anholt1-0/+1
marked dirty are in fact not dirty. This will hopefully help catch issues like the previous commit. Leave it on in fakexa.
2006-04-18Missed in previous commit: Add a new migration scheme, called "Smart" forEric Anholt1-1/+1
lack of a better name. This one behaves somewhat between Greedy and Always. It moves in if we can accelerate, unless the destination is clean and shouldn't be kept in framebuffer according to the score, in which case we migrate out (and force-migrate anything where migration is free). This should help fix lack of acceleration for drivers without UTS since removing exaAsyncPixmapGCOps, and has removed one performance trap with Radeon I'd noticed. It is the new default.
2006-04-17Fix kdrive build by linking in libexa before KDRIVE_LIBS.Donnie Berkholz1-2/+2
2006-04-02../stubAdam Jackson2-14/+15
2006-04-01Clean up warnings and a debug printf.Eric Anholt1-3/+2
2006-03-31Add an option to EXA for the DDX to request that EXA hide the pixmap'sEric Anholt2-5/+93
devPrivate.ptr when pointing at offscreen memory, outside of exaPrepare/FinishAccess(). This was used with fakexa to find (by NULL dereference) many instances of un-Prepared CPU access to the framebuffer: - GC tiles used in several ops when fillStyle == FillTiled were never Prepared. - Migration could lead to un-Prepared access to mask data in render's Trapezoids and Triangles - PutImage's UploadToScreen failure fallback failed to Prepare.
2006-03-30Add a dependency on EXA, so it rebuilds when the library does. The manualEric Anholt1-1/+2
indicated I shouldn't do this, but experience indicates I should.
2006-03-30Add an UploadToScreen implementation, for testing PutImage support, andEric Anholt1-6/+53
make the DownloadFromScreen more robust.
2006-03-29Add a DownloadFromScreen implementation, used for testing GetImageEric Anholt1-0/+25
acceleration, and set the migration scheme to Always on init (since this is all for testing, and Always should make migration happen more frequently than Greedy).
2006-03-10If fakexa is enabled, create a larger buffer in the Ximage, but keep theEric Anholt4-36/+36
same width/height for front-buffer drawing. The fakexa code then uses this extra space for offscreen pixmaps. Note that this tones down the absurdity of fakexa's offscreen pixmap alignment requirements (odd alignment is too weird, so stick with "24", which is still strange but exists out there). It also fixes a couple of bugs in the fakexa implementation revealed by using offscreen pixmaps.
2006-03-09Rearrange EXA driver structures so that there's a hope of maintaining ABIEric Anholt2-27/+39
when extending the driver interface. The card and accel structures are merged into the ExaDriverRec, which is to be allocated using exaDriverAlloc(). The driver structure also grows exa_major and exa_minor, which drivers fill in and have checked by EXA (double-checking that the driver really did check that the EXA version was correct). Removes exaInitCard(), which is replaced by the driver filling in the rec by hand, and the exaGetVersion() and related EXA_*VERSION which are replaced by always using the XFree86 loadable module versioning.
2006-03-07Add appropriate MIT license. Oops.Eric Anholt1-0/+28
2006-03-07Add a new flag to ephyr, "-fakexa", which turns on an EXA accelerationEric Anholt4-5/+383
implementation that calls fb to get its work done. The purpose is to have a trusted EXA driver for use with testing changes to the core of EXA. However, fakexa has not received much testing yet, lacks offscreen pixmaps support, and doesn't reliably provide garbage when EXA doesn't get its syncing right. All of these should be fixed soon.
2006-02-16Make more extensions optional in build (for kdrive). Fix kdrive build forKeith Packard26-26/+49
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-15Remove the waitSync from KdDisableScreen and push it off to drivers'Eric Anholt4-3/+10
disableAccel hook, which is more correct anyway. This makes kdrive.c not have any knowledge of kaa, opening the way for using exa from kdrive.
2006-02-13Move call to xf86WrapperInit() to OsVendorInit() in xf86Init.c and removeBenjamin Herrenschmidt1-3/+1
stubs in other DDX.
2006-02-12Add missing HAVE_DIX_CONFIG_H which caused issues with mismatched screenEric Anholt2-0/+3
structure interpretations, and remove a bunch of unused junk from kdrive-config.h. Xephyr almost works on my amd64.
2006-02-11Remove libcwrapper damage from GLX (requires fresh Mesa HEAD), and get itEric Anholt1-0/+3
compiling in kdrive.
2006-02-10Merge from kdrive: use RECT_PRIM to avoid tearing in xvideo.Eric Anholt2-22/+31
2006-02-10Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSesEric Anholt3-5/+16
without linux VT switching, fbdev, and vm86 support.
2006-01-10Add all subdirs used to DIST_SUBDIRS, and files to EXTRA_DIST.Daniel Stone1-0/+3
Attempt to build xeglmodule.c, not xglxmodule.c. Add xf86Sbus.h to EXTRA_DIST, as _HEADERS doesn't appear to get the same treatment as _SOURCES in terms of automatically DISTing.
2005-12-29Make kdInputMachine static const, shrinks .data a bit.Adam Jackson1-1/+2
2005-12-28Enough build fixes to get {sdl,ephyr,fake} to link.Adam Jackson5-18/+19
2005-12-27s/XSERVER/KDRIVE/Adam Jackson18-18/+18
2005-12-27Remove Imakefiles.Adam Jackson15-259/+0
2005-12-27Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.hAdam Jackson161-159/+168
2005-08-08Build with modular X.org libraries and headers.kdrive-initial-importKeith Packard13-8/+25
composite/compwindow.c Don't damage unmoved windows. Let border clip reset leave damage alone, pending actual damage for painting.
2005-08-05Make Xephyr work without shadow fbMatthew Allum2-313/+411
2005-07-06Added hardware support for transformation matrix (zoom, rotation, etc...).Damien Ciabrini2-102/+240
Fixed the composition function for RGB and A8 format. Avoid syncing hardware after HW fills or copies.
2005-07-06Fix offset alignment code in the offscreen memory allocator to preventDamien Ciabrini1-3/+7
textures from being allocated in the next free memory area.
2005-06-30Another Xephyr focus/modifier fixMatthew Allum3-10/+13
2005-06-29Add support for gradients and solid fills to Render.Lars Knoll1-3/+4
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.