summaryrefslogtreecommitdiff
path: root/include/xorg-server.h.in
AgeCommit message (Collapse)AuthorFilesLines
2018-03-28xorg: Remove unused definitions from xorg-server.h.inThierry Reding1-9/+0
There is no code around that will ever define values for the XLOADABLE, WORKING_UNALIGNED_INT or XORG_RELEASE symbols, so they will always end up commented out and are therefore completely useless. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2017-11-06dix: Remove ffs.cAdam Jackson1-3/+0
Your libc has ffs, I promise. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-04-25xorg: Change __XCONFIGFILE__ to XCONFIGFILE (and DIR) to fix scan.c.Eric Anholt1-1/+1
parser/scan.c was checking for #ifdef XCONFIGFILE and XCONFIGDIR and defaulting to "xorg.conf", and "xorg.conf.d", so if you had changed __XCONFIGFILE__ to anything else, it would have got out of sync. Settle on the name without gratuitous underscores. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
2017-03-23kdrive: Remove vestiges of TSLIB support.Eric Anholt1-3/+0
The actual code was gone in 27819950e4158326e0f83a30f2e8968b932625ef, but some checks remained. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2015-10-06kdrive: Delete unused TOUCHSCREEN define.Jamey Sharp1-3/+0
There's nothing in configure to enable this, and KdTsPhyScreen isn't defined anywhere. [ajax: Rebase, also clean up Xfbdev] Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>
2015-04-21Import reallocarray() from OpenBSDAlan Coopersmith1-0/+3
Wrapper for realloc() that checks for overflow when multiplying arguments together, so we don't have to add overflow checks to every single call. For documentation on usage, see: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Matt Turner <mattst88@gmail.com>
2014-07-31Add X_BYTE_ORDER to xorg-server.hKeith Packard1-0/+3
Drivers don't get to use dix-config.h, they use xorg-server.h instead. Add X_BYTE_ORDER to that file so drivers can see the value. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-07-30Fix files including xorg-server.h by mistakeKeith Packard1-0/+4
A few files in the server are including xorg-server.h, which is only for use by Xorg server drivers. This fixes those errors and then adds a check to make sure it doesn't happen again. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2014-01-22Add 'FONT_PATH_NAME_ELEMENT_CONST' to dix-config.h and xorg-server.hKeith Packard1-0/+3
This signals to the fontsproto code that the X server has been fixed to allow the name member in a FontPathElement struct to be declared const to eliminate piles of warnings when assigning string constants to them. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2013-11-11Make XTrans FD passing support optional. Define only on LinuxKeith Packard1-0/+3
Until other operating systems have a libXtrans port for FD passing, disable this on non-Linux systems. Note that this define affects how libXtrans gets built into the X server, which is why it need only define the symbol Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-04Disable DRI3 and sync fence FD functions if xshmfence isn't availableKeith Packard1-0/+3
Make sure the server can build when the xshmfence library isn't present Signed-off-by: Keith Packard <keithp@keithp.com>
2013-10-31present: Add Present extensiondri3Keith Packard1-0/+3
Provides both a software implementation using timers and driver hooks to base everything on vblank intervals. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-31dri3: Add DRI3 extensionKeith Packard1-0/+3
Adds DRM compatible fences using futexes. Uses FD passing to get pixmaps from DRM applications. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2012-07-10Remove last renmants of XFree86LOADER defineDaniel Stone1-1/+1
Not to be confused with XFree86Loader or XorgLoader. Which are both now dead too. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2012-07-06xfree86: use udev to provide device enumeration for kms devices (v10)Dave Airlie1-0/+3
On Linux in order for future hotplug work, we are required to interface to udev to detect device creation/removal. In order to try and get some earlier testing on this, this patch adds the ability to use udev for device enumeration on Linux. At startup the list of drm/kms devices is probed and this info is used to load drivers. A new driver probing method is introduced that passes the udev device info to the driver for probing. The probing integrates with the pci probing code and will fallback to the pci probe and old school probe functions in turn. The flags parameter to the probe function will be used later to provide hotplug and gpu screen flags for the driver to behave in a different way. This patch changes the driver ABI, all drivers should at least be set with a NULL udev probe function after this commit. v2: rename to platform bus, now with 100% less udev specific, this version passes config_odev_attribs around which are an array of id/string pairs, then the udev code can attach the set of attribs it understands, the OS specific code can attach its attrib, and then the core/drivers can lookup the required attribs. also add MATCH_PCI_DEVICES macro. This version is mainly to address concerns raised by ajax. v3: Address comments from Peter. fix whitespace that snuck in. rework to use a linked list with some core functions that xf86 wraps. v4: add free list, fix struct whitespace. ajax this address most of your issues? v5: drop probe ifdef, fix logic issue v6: some overhaul after more testing. Implement primaryBus for platform devices. document hotplug.h dev attribs - drop sysname attrib fix build with udev kms disabled make probing work like the PCI probe code, match against bus id if one exists, or primary device. RFC: add new bus id support "PLAT:syspath". we probably want to match on this a bit different, or use a different property maybe. I was mainly wanting this for use with specifying usb devices in xorg.conf directly, but PLAT:path could also work I suppose. v6.1: add missing noop platform function v7: fix two interactions with pci probing and slot claiming, prevents pci and platform trying to load two drivers for same slot. v8: test with zaphod mode on -ati driver, fixup resulting issue clean up common probe code into another function, change busid matching to allow dropping end of strings. v9: fix platform probing logic so it actually works. v9.1: fix pdev init to NULL properly. v10: address most of Keith's concerns. v4 was thanks to Reviewed-by: Adam Jackson <ajax@redhat.com> v5 was Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-12-05Fix gcc warnings about redundant declarations of fallback functionsAlan Coopersmith1-0/+21
Ensure ffs, strndup, strlcat, etc. aren't defined by our headers if they're already defined in the system headers. This does export the HAVE_FFS, HAVE_STRNDUP, etc. definitions to drivers, but if you built the Xserver with a libc that had those, and then build the drivers with a less capable libc, you're going to have problems anyway, and this should solve some reported problems with conflicts between our strndup definition and gcc magic for it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-02-23xfree86: Fix the sdk headers to be multilib-safeAdam Jackson1-3/+4
Use _LP64 (verified on gcc and sun compilers) instead of _XSERVER64 in internal header usage, and always define _XSERVER64 for modules if _LP64 is defined. Prevents differing xorg-server.h between 32 and 64 bit packages. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-08-13Remove support for Solaris x86 releases older than Solaris 8Alan Coopersmith1-3/+0
If you want to run a pre-1999 kernel, you'll need a pre-2009 X server [Some pre-Solaris 8 VT support is left by this patch to allow reuse by the new Solaris VT support that follows in the next patch.] Signed-off-by: Aaron Zang <Aaron.Zang@Sun.COM> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-24xorg-server.h.in: Export the X Access Control Extension (XACE), too.Oliver McFadden1-0/+3
Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-02-16Remove two more define XKB leftovers.Peter Hutterer1-3/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-22XKB: Make XKB mandatoryDaniel Stone1-6/+0
No more #ifdef XKB, because you can't disable the build, and no more noXkbExtension either. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-21Update xorg-server.h.in & Xnest to use new XKB default #definesAlan Coopersmith1-4/+4
2009-01-07XQuartz: Fat binary buildfixesJeremy Huddleston1-13/+0
Let Xarch.h set X_BYTE_ORDER for us. Determine _XSERVER64 at build time. (cherry picked from commit f54736c2b0b537c8322ecb2db8e9cee5eea68165)
2008-08-11The smart scheduler is not optional.Mathieu Bérard1-3/+0
2008-07-17Remove dead code, useless #defines, et alDaniel Stone1-15/+0
2008-07-17Dead code removalDaniel Stone1-3/+0
Remove a whole bunch of code that was never built, be it entire files or just dead ifdefs.
2008-07-16XFree86: Remove XFree86-Misc extensionDaniel Stone1-3/+0
Its last remaining purpose in life has been destroyed by input properties. Au revoir: it's been fun, by which I mean awful.
2008-06-25XTrap delenda est.Adam Jackson1-3/+0
2008-04-18Nuke the MIT-SUNDRY-NONSTANDARD extension.Eric Anholt1-3/+0
This extension provided bug-compatibility with pre-X11R6, but has been stubbed out in our server since 2006 to return BadRequest when you actually asked for it.
2008-04-10Remove NDEBUG (assert() disable) define from the X Server.Eric Anholt1-3/+0
A few pieces of code were abusing this define for other purposes, which are converted to #ifndef DEBUG instead. There should be no ABI consequences to this change. The rationale is that having the define in xorg-server.h also disables assert() drivers, which is unexpected, and also difficult to avoid since xorg-server.h is included in their config.h, and you can't put a #undef in config.h. As for removing it from the server instead of moving it to an internal header, we probably shouldn't have unnecessary assert()s in critical server paths anyway, and if we do we could #define NDEBUG in the specific cases needed.
2008-02-14Add DRI2 module.Kristian Høgsberg1-0/+3
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-6/+0
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-15Clean up some garbage in driver enumeration.Adam Jackson1-6/+0
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh1-6/+0
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05Remove all traces of external RGB database (and Speedo)Daniel Stone1-6/+0
Remove all references to an external RGB database (which hasn't been enabled for a very long time). Also get rid of some references to Speedo fonts.
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh1-3/+0
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-26Add XSERVER_LIBPCIACCESS to xorg-server.h when using libpciaccessKeith Packard1-0/+3
2007-07-12Add __SOL8__ to xorg-server.h.in since xf86-input-kbd needs it to buildAlan Coopersmith1-0/+3
2007-02-17autoconf goodness for XDarwin, courtesy of pogmaBen Byer1-1/+11
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone1-0/+3
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-01Ditch more alternate-loader braindamage.Daniel Stone1-6/+0
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-6/+0
2005-12-01Add missing XvExtension and XvMCExtension defines.Kevin E Martin1-0/+6
2005-11-10Fix typo to enable DGA support.XORG-6_99_99_902Kevin E Martin1-1/+1
EXTMODULE is required to build DGA support into extmod.
2005-09-13Add some initial BSD support for the xorg server. Incomplete on NetBSD,Eric Anholt1-0/+15
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually run it yet.
2005-09-12Define WITH_VGAHW, since we always build it; add to Xorg headers.Daniel Stone1-0/+3
2005-08-21Add _XSERVER64 definition to config headers.Daniel Stone1-0/+3
2005-07-29Need to define SVR4 on SVR4-ish systems since many headers and source filesAlan Coopersmith1-0/+3
check for it, expecting Imake to have defined it already. (Should be replaced with more specific checks & defines, but there's too many to get them all right now.)
2005-07-15Move drm up to os-support since the files are shared by multiple platforms.Kevin E Martin1-4/+6
Fix the dri and drm build. Fix server-side DMX extension build. Make xf4bpp use the correct version of mfbline.c for mfbseg.c. Add #ifndef _HEADERNAME_H_/#define _HEADERNAME_H_/.../#endif to the headers.
2005-07-13dlloader is the default in 6.9, but the loader doesn't get told to preferAdam Jackson1-0/+3
dlloader modules unless you -DDLOPEN_HACK.