├── VERSION ├── hw ├── dmx │ ├── config │ │ ├── test-a.in │ │ ├── test-b.in │ │ ├── test-b.out │ │ ├── test-c.in │ │ ├── test-d.in │ │ ├── test-e.in │ │ ├── test-f.in │ │ ├── test-i.in │ │ ├── test-i.out │ │ ├── test-k.in │ │ ├── test-k.out │ │ ├── test-f.out │ │ ├── test-g.in │ │ ├── test-g.out │ │ ├── man │ │ │ └── Makefile.am │ │ ├── test-h.in │ │ ├── test-h.out │ │ ├── test-a.out │ │ ├── test-d.out │ │ ├── test-e.out │ │ ├── test-c.out │ │ ├── TODO │ │ ├── test-j.out │ │ ├── test-j.in │ │ ├── test-l.in │ │ └── test-l.out │ ├── man │ │ └── Makefile.am │ ├── doxygen │ │ └── footer.html │ ├── glxProxy │ │ └── meson.build │ ├── input │ │ └── meson.build │ └── examples │ │ └── meson.build ├── xquartz │ ├── bundle │ │ ├── PkgInfo │ │ ├── Resources │ │ │ ├── X11.icns │ │ │ ├── ar.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── ca.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── cs.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── da.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── el.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── fi.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── he.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── hr.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── hu.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── ko.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── no.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── pl.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── pt.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── ro.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── ru.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── sk.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── sv.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── th.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── tr.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── uk.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── Dutch.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── French.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── German.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── pt_PT.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── zh_CN.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── zh_TW.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── English.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── Italian.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── Japanese.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ └── Spanish.lproj │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ ├── X11.sh │ │ ├── Xquartz.plist │ │ ├── cpprules.in │ │ └── mk_bundke.sh │ ├── man │ │ └── Makefile.am │ ├── pbproxy │ │ ├── trick_autotools.c │ │ └── Makefile.am │ ├── mach-startup │ │ └── mach_startup_types.h │ ├── GL │ │ ├── Makefile.am │ │ └── visualConfigs.h │ ├── xpr │ │ └── Makefile.am │ ├── meson.build │ ├── sanitizedCarbon.h │ └── Makefile.am ├── kdrive │ ├── meson.build │ ├── ephyr │ │ └── man │ │ │ └── Makefile.am │ ├── Makefile.am │ └── src │ │ ├── meson.build │ │ └── Makefile.am ├── xfree86 │ ├── dri2 │ │ ├── pci_ids │ │ │ ├── vmwgfx_pci_ids.h │ │ │ ├── virtio_gpu_pci_ids.h │ │ │ ├── i810_pci_ids.h │ │ │ ├── Makefile.am │ │ │ ├── i915_pci_ids.h │ │ │ ├── radeon_pci_ids.h │ │ │ └── r200_pci_ids.h │ │ ├── Makefile.am │ │ ├── meson.build │ │ └── dri2int.h │ ├── utils │ │ ├── Makefile.am │ │ ├── man │ │ │ ├── Makefile.am │ │ │ └── cvt.man │ │ └── gtf │ │ │ └── Makefile.am │ ├── man │ │ ├── xorg.conf.d.man │ │ ├── Xwrapper.config.man │ │ └── Makefile.am │ ├── exa │ │ ├── man │ │ │ └── Makefile.am │ │ ├── Makefile.am │ │ └── meson.build │ ├── common │ │ ├── xf86Build.h.in │ │ ├── xorgHelper.c │ │ └── xf86Build.sh │ ├── fbdevhw │ │ ├── man │ │ │ ├── Makefile.am │ │ │ └── fbdevhw.man │ │ ├── Makefile.am │ │ ├── README │ │ └── meson.build │ ├── drivers │ │ └── Makefile.am │ ├── i2c │ │ ├── i2c_def.h │ │ ├── Makefile.am │ │ └── meson.build │ ├── os-support │ │ ├── bus │ │ │ ├── nobus.c │ │ │ └── Makefile.am │ │ ├── stub │ │ │ ├── stub_bell.c │ │ │ ├── stub_video.c │ │ │ ├── stub_init.c │ │ │ └── Makefile.am │ │ ├── misc │ │ │ └── Makefile.am │ │ ├── hurd │ │ │ └── Makefile.am │ │ ├── Makefile.am │ │ ├── bsd │ │ │ └── bsd_kmod.c │ │ ├── shared │ │ │ └── platform_noop.c │ │ ├── linux │ │ │ └── Makefile.am │ │ └── solaris │ │ │ └── Makefile.am │ ├── xkb │ │ ├── Makefile.am │ │ └── meson.build │ ├── int10 │ │ ├── x86emu.c │ │ ├── xf86int10module.c │ │ ├── Makefile.am │ │ └── stub.c │ ├── ddc │ │ ├── Makefile.am │ │ └── meson.build │ ├── vgahw │ │ ├── meson.build │ │ ├── Makefile.am │ │ └── vgaHWmodule.c │ ├── Xorg.sh.in │ ├── vbe │ │ ├── meson.build │ │ ├── Makefile.am │ │ └── vbe_module.c │ ├── x86emu │ │ ├── meson.build │ │ └── Makefile.am │ ├── shadowfb │ │ ├── Makefile.am │ │ ├── meson.build │ │ ├── sfbmodule.c │ │ └── shadowfb.h │ ├── doc │ │ └── Makefile.am │ ├── ramdac │ │ ├── xf86RamDacPriv.h │ │ ├── BTPriv.h │ │ ├── Makefile.am │ │ ├── meson.build │ │ ├── IBMPriv.h │ │ └── TIPriv.h │ ├── loader │ │ ├── meson.build │ │ └── Makefile.am │ ├── dri │ │ ├── meson.build │ │ └── Makefile.am │ ├── glamor_egl │ │ └── meson.build │ ├── modes │ │ ├── meson.build │ │ └── Makefile.am │ ├── parser │ │ ├── Makefile.am │ │ └── meson.build │ └── dixmods │ │ └── meson.build ├── vfb │ ├── man │ │ └── Makefile.am │ ├── Makefile.am │ └── meson.build ├── xnest │ ├── man │ │ └── Makefile.am │ ├── Init.h │ ├── Handlers.h │ ├── Drawable.h │ ├── meson.build │ ├── icon │ ├── Screen.h │ ├── Visual.h │ ├── Events.h │ ├── Pointer.h │ ├── Keyboard.h │ ├── XNFont.h │ ├── Handlers.c │ ├── Makefile.am │ └── Args.h ├── xwin │ ├── X.ico │ ├── man │ │ └── Makefile.am │ ├── dri │ │ ├── Makefile.am │ │ ├── meson.build │ │ └── windowsdri.h │ ├── glx │ │ └── winpriv.h │ └── winclipboard │ │ ├── Makefile.am │ │ └── meson.build ├── meson.build └── Makefile.am ├── miext ├── Makefile.am ├── damage │ ├── Makefile.am │ └── meson.build ├── rootless │ └── Makefile.am ├── sync │ ├── Makefile.am │ ├── meson.build │ └── misyncshm.h ├── shadow │ ├── Makefile.am │ ├── meson.build │ ├── shrot16pack.c │ ├── shrot32pack.c │ └── shrot8pack.c └── Android.mk ├── Xext ├── xvdisp.h ├── dpmsproc.h └── Android.mk ├── ChangeLog ├── record ├── Makefile.am ├── meson.build └── Android.mk ├── damageext ├── Makefile.am ├── meson.build └── Android.mk ├── pseudoramiX ├── meson.build ├── Makefile.am └── pseudoramiX.h ├── xserver.ent.in ├── dbe ├── Makefile.am ├── meson.build └── Android.mk ├── xfixes ├── Makefile.am ├── meson.build └── Android.mk ├── man └── Makefile.am ├── xkb ├── ddxPrivate.c ├── README.compiled ├── Android.mk ├── meson.build └── Makefile.am ├── dri3 ├── Makefile.am └── meson.build ├── composite ├── Makefile.am ├── meson.build └── Android.mk ├── include ├── optionstr.h ├── dix-config-apple-verbatim.h ├── version-config.h.in ├── xwayland-config.h.in ├── version-config.h ├── xsha1.h ├── xwin-config.h.meson.in ├── kdrive-config.h ├── xkb-config.h.in ├── xwin-config.h.in ├── xkb-config.h └── globals.h ├── config ├── Android.mk ├── meson.build └── Makefile.am ├── test ├── tests-common.h ├── sync │ └── meson.build ├── scripts │ ├── xvfb-piglit.sh │ └── xephyr-glamor-piglit.sh ├── bigreq │ └── meson.build ├── meson.build ├── tests-common.c ├── tests.h ├── README └── tests.c ├── doc ├── Makefile.am ├── dtrace │ └── Makefile.am └── filter-xmlto.sh ├── render ├── Makefile.am ├── meson.build └── Android.mk ├── os ├── xstrans.c └── Android.mk ├── autogen.sh ├── exa ├── Makefile.am └── meson.build ├── present ├── Makefile.am ├── Android.mk ├── meson.build └── presentext.h ├── android └── Android.mk ├── xorg-server.pc.in ├── randr ├── Makefile.am ├── Android.mk └── meson.build ├── fb ├── Android.mk ├── Makefile.am └── meson.build ├── mi ├── mioverlay.h ├── Android.mk ├── Makefile.am └── meson.build ├── dix ├── meson.build ├── Android.mk └── buildatoms ├── Xi └── xibarriers.h ├── Android.mk └── glamor └── Makefile.am /VERSION: -------------------------------------------------------------------------------- 1 | xorg-server-1.20.3 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-a.in: -------------------------------------------------------------------------------- 1 | error 2 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLx11a -------------------------------------------------------------------------------- /hw/dmx/config/test-b.in: -------------------------------------------------------------------------------- 1 | # comment 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-b.out: -------------------------------------------------------------------------------- 1 | # comment 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-c.in: -------------------------------------------------------------------------------- 1 | virtual 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-d.in: -------------------------------------------------------------------------------- 1 | display 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-e.in: -------------------------------------------------------------------------------- 1 | display; 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-f.in: -------------------------------------------------------------------------------- 1 | virtual { 2 | } 3 | -------------------------------------------------------------------------------- /hw/kdrive/meson.build: -------------------------------------------------------------------------------- 1 | subdir('src') 2 | subdir('ephyr') 3 | -------------------------------------------------------------------------------- /miext/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = sync damage shadow rootless 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-i.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | param a b; # comment 3 | } 4 | -------------------------------------------------------------------------------- /hw/dmx/config/test-i.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | param a b; # comment 3 | } 4 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/vmwgfx_pci_ids.h: -------------------------------------------------------------------------------- 1 | CHIPSET(0x0405, SVGAII, SVGAII) 2 | -------------------------------------------------------------------------------- /hw/xfree86/utils/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = \ 2 | gtf \ 3 | cvt \ 4 | man 5 | -------------------------------------------------------------------------------- /hw/xfree86/man/xorg.conf.d.man: -------------------------------------------------------------------------------- 1 | .so man@filemansuffix@/xorg.conf.@filemansuffix@ 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-k.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option +xinerama -syncbatch 0; 3 | } 4 | -------------------------------------------------------------------------------- /hw/dmx/config/test-k.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option "+xinerama -syncbatch 0"; 3 | } 4 | -------------------------------------------------------------------------------- /hw/dmx/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = Xdmx.man 3 | -------------------------------------------------------------------------------- /hw/vfb/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = Xvfb.man 3 | -------------------------------------------------------------------------------- /hw/xfree86/man/Xwrapper.config.man: -------------------------------------------------------------------------------- 1 | .so man@appmansuffix@/Xorg.wrap.@appmansuffix@ 2 | -------------------------------------------------------------------------------- /Xext/xvdisp.h: -------------------------------------------------------------------------------- 1 | extern void XineramifyXv(void); 2 | extern void XvResetProcVector(void); 3 | -------------------------------------------------------------------------------- /hw/xnest/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = Xnest.man 3 | -------------------------------------------------------------------------------- /hw/xquartz/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = Xquartz.man 3 | -------------------------------------------------------------------------------- /hw/kdrive/ephyr/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = Xephyr.man 3 | -------------------------------------------------------------------------------- /hw/xfree86/exa/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | driverman_PRE = exa.man 3 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/ChangeLog -------------------------------------------------------------------------------- /hw/dmx/config/test-f.out: -------------------------------------------------------------------------------- 1 | parse error on line 2 at token "}" 2 | syntax error, unexpected "}"B} 3 | -------------------------------------------------------------------------------- /hw/xfree86/utils/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = cvt.man gtf.man 3 | -------------------------------------------------------------------------------- /hw/xfree86/common/xf86Build.h.in: -------------------------------------------------------------------------------- 1 | #define BUILD_DATE @BUILD_DATE@ 2 | #define BUILD_TIME @BUILD_TIME@ 3 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | driverman_PRE = fbdevhw.man 3 | -------------------------------------------------------------------------------- /hw/xwin/X.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xwin/X.ico -------------------------------------------------------------------------------- /hw/dmx/config/test-g.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1280x1024; 3 | display d1:0 1280x1024; 4 | } 5 | -------------------------------------------------------------------------------- /hw/dmx/config/test-g.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1280x1024; 3 | display d1:0 1280x1024; 4 | } 5 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/virtio_gpu_pci_ids.h: -------------------------------------------------------------------------------- 1 | CHIPSET(0x0010, VIRTGL, VIRTGL) 2 | CHIPSET(0x1050, VIRTGL, VIRTGL) 3 | -------------------------------------------------------------------------------- /hw/xfree86/drivers/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = 2 | 3 | if XORG_DRIVER_MODESETTING 4 | SUBDIRS += modesetting 5 | endif 6 | -------------------------------------------------------------------------------- /hw/xwin/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = XWin.man 3 | fileman_PRE = XWinrc.man 4 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/i2c_def.h: -------------------------------------------------------------------------------- 1 | #ifndef __I2C_DEF_H__ 2 | #define __I2C_DEF_H__ 3 | 4 | #include "xf86i2c.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /hw/xquartz/pbproxy/trick_autotools.c: -------------------------------------------------------------------------------- 1 | int 2 | this_is_just_here_to_make_automake_work() 3 | { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /hw/dmx/config/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = xdmxconfig.man vdltodmx.man dmxtodmx.man 3 | -------------------------------------------------------------------------------- /hw/dmx/config/test-h.in: -------------------------------------------------------------------------------- 1 | # comment a 2 | # comment b 3 | ## comment c 4 | # <-- tab 5 | # Next comment is empty 6 | # 7 | # Non empty 8 | -------------------------------------------------------------------------------- /hw/dmx/config/test-h.out: -------------------------------------------------------------------------------- 1 | # comment a 2 | # comment b 3 | ## comment c 4 | # <-- tab 5 | # Next comment is empty 6 | # 7 | # Non empty 8 | -------------------------------------------------------------------------------- /hw/dmx/config/test-a.out: -------------------------------------------------------------------------------- 1 | parse error on line 1 at token "error" 2 | syntax error, unexpected string expecting "virtual" or comment (e.g., #...) 3 | -------------------------------------------------------------------------------- /hw/dmx/config/test-d.out: -------------------------------------------------------------------------------- 1 | parse error on line 1 at token "display" 2 | syntax error, unexpected "display" expecting "virtual" or comment (e.g., #...) 3 | -------------------------------------------------------------------------------- /hw/dmx/config/test-e.out: -------------------------------------------------------------------------------- 1 | parse error on line 1 at token "display" 2 | syntax error, unexpected "display" expecting "virtual" or comment (e.g., #...) 3 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/bus/nobus.c: -------------------------------------------------------------------------------- 1 | void 2 | __noop_to_appease_ar__(void); 3 | 4 | void 5 | __noop_to_appease_ar__(void) 6 | { 7 | return; 8 | } 9 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/X11.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/X11.icns -------------------------------------------------------------------------------- /hw/dmx/config/test-c.out: -------------------------------------------------------------------------------- 1 | parse error on line 2 at token " " 2 | syntax error, unexpected $end, expecting "{" or string or dimension (e.g., 2x2 or 1024x768) 3 | -------------------------------------------------------------------------------- /record/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = librecord.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | librecord_la_SOURCES = record.c set.c 6 | 7 | EXTRA_DIST = set.h 8 | -------------------------------------------------------------------------------- /damageext/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdamageext.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | libdamageext_la_SOURCES = \ 6 | damageext.c \ 7 | damageextint.h 8 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/i810_pci_ids.h: -------------------------------------------------------------------------------- 1 | CHIPSET(0x7121, I810, i8xx) 2 | CHIPSET(0x7123, I810_DC100, i8xx) 3 | CHIPSET(0x7125, I810_E, i8xx) 4 | CHIPSET(0x1132, I815, i8xx) 5 | -------------------------------------------------------------------------------- /pseudoramiX/meson.build: -------------------------------------------------------------------------------- 1 | libxserver_pseudoramix = static_library('libxserver_pseudoramiX', 2 | 'pseudoramiX.c', 3 | include_directories: inc, 4 | dependencies: common_dep, 5 | ) 6 | -------------------------------------------------------------------------------- /xserver.ent.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ar.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ca.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ca.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/cs.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/cs.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/da.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/el.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/el.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/fi.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/he.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/he.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/hr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/hr.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/hu.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/hu.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ko.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/no.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/pl.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/pt.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ro.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ro.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ru.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sk.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/sk.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/sv.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/th.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/th.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/tr.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/tr.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/uk.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/uk.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Dutch.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/French.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/German.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/pt_PT.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/zh_CN.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/zh_TW.lproj/Localizable.strings -------------------------------------------------------------------------------- /pseudoramiX/Makefile.am: -------------------------------------------------------------------------------- 1 | # Fake Xinerama extension 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | noinst_LTLIBRARIES = libPseudoramiX.la 6 | 7 | libPseudoramiX_la_SOURCES = pseudoramiX.c pseudoramiX.h 8 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Italian.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Japanese.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Spanish.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ar.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ca.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ca.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/cs.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/cs.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/da.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/el.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/el.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/fi.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/he.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/he.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/hr.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/hr.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/hu.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/hu.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ko.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/no.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/pl.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/pt.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ro.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ro.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/ru.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sk.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/sk.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/sv.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/th.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/th.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/tr.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/tr.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/uk.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/uk.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /pseudoramiX/pseudoramiX.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Minimal implementation of PanoramiX/Xinerama 3 | */ 4 | 5 | void 6 | PseudoramiXAddScreen(int x, int y, int w, int h); 7 | void 8 | PseudoramiXResetScreens(void); 9 | -------------------------------------------------------------------------------- /hw/xfree86/xkb/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxorgxkb.la 2 | 3 | AM_CFLAGS = @XORG_CFLAGS@ @DIX_CFLAGS@ 4 | AM_CPPFLAGS = @XORG_INCS@ 5 | 6 | libxorgxkb_la_SOURCES = xkbVT.c xkbPrivate.c xkbKillSrv.c 7 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Dutch.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/pt_PT.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/zh_CN.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/zh_TW.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/French.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/German.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Italian.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Japanese.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/green-green-avk/android_external_xorg_server/master/hw/xquartz/bundle/Resources/Spanish.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/dmx/config/TODO: -------------------------------------------------------------------------------- 1 | Fri May 31 13:20:17 2002 2 | 3 | 1) Sanitize values from input boxes. 4 | 5 | 2) Add canvas colors to cavas widget resources or to command-line options. 6 | 7 | 3) Add ability to edit option line(s) and wall. 8 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/stub/stub_bell.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86_OSlib.h" 6 | 7 | void 8 | xf86OSRingBell(int loudness, int pitch, int duration) 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /record/meson.build: -------------------------------------------------------------------------------- 1 | srcs_record = [ 2 | 'record.c', 3 | 'set.c', 4 | ] 5 | 6 | libxserver_record = static_library('libxserver_record', 7 | srcs_record, 8 | include_directories: inc, 9 | dependencies: common_dep, 10 | ) 11 | -------------------------------------------------------------------------------- /damageext/meson.build: -------------------------------------------------------------------------------- 1 | srcs_damageext = [ 2 | 'damageext.c', 3 | ] 4 | 5 | libxserver_damageext = static_library('libxserver_damageext', 6 | srcs_damageext, 7 | include_directories: inc, 8 | dependencies: common_dep, 9 | ) 10 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libi2c.la 2 | 3 | libi2c_la_SOURCES = xf86i2c.c 4 | 5 | AM_CPPFLAGS = $(XORG_INCS) 6 | 7 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 8 | 9 | sdk_HEADERS = xf86i2c.h i2c_def.h 10 | -------------------------------------------------------------------------------- /dbe/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdbe.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = dbestruct.h 7 | endif 8 | 9 | libdbe_la_SOURCES = \ 10 | dbe.c \ 11 | midbe.c \ 12 | midbe.h 13 | -------------------------------------------------------------------------------- /xfixes/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxfixes.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | libxfixes_la_SOURCES = \ 6 | cursor.c \ 7 | region.c \ 8 | saveset.c \ 9 | select.c \ 10 | xfixes.c \ 11 | xfixes.h \ 12 | xfixesint.h 13 | -------------------------------------------------------------------------------- /hw/xwin/dri/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libWindowsDRI.la 2 | 3 | libWindowsDRI_la_SOURCES = \ 4 | windowsdri.c \ 5 | windowsdri.h 6 | 7 | AM_CFLAGS = $(DIX_CFLAGS) \ 8 | @WINDOWSDRI_CFLAGS@ \ 9 | -I$(top_srcdir)/hw/xwin/ 10 | -------------------------------------------------------------------------------- /hw/xquartz/mach-startup/mach_startup_types.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACH_STARTUP_TYPES_H_ 2 | #define _MACH_STARTUP_TYPES_H_ 3 | 4 | #define STRING_T_SIZE 1024 5 | 6 | typedef char string_t[STRING_T_SIZE]; 7 | typedef string_t * string_array_t; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /hw/xfree86/int10/x86emu.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "debug.c" 7 | #include "decode.c" 8 | #include "fpu.c" 9 | #include "ops.c" 10 | #include "ops2.c" 11 | #include "prim_ops.c" 12 | #include "sys.c" 13 | -------------------------------------------------------------------------------- /man/Makefile.am: -------------------------------------------------------------------------------- 1 | # Xserver.man covers options generic to all X servers built in this tree 2 | # (i.e. those handled in the os/utils.c options processing instead of in 3 | # the DDX-level options processing) 4 | 5 | include $(top_srcdir)/manpages.am 6 | appman_PRE = Xserver.man 7 | -------------------------------------------------------------------------------- /xkb/ddxPrivate.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include 7 | #include "windowstr.h" 8 | #include 9 | 10 | int 11 | XkbDDXPrivate(DeviceIntPtr dev, KeyCode key, XkbAction *act) 12 | { 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /dri3/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdri3.la 2 | AM_CFLAGS = \ 3 | -DHAVE_XORG_CONFIG_H \ 4 | @DIX_CFLAGS@ @XORG_CFLAGS@ 5 | 6 | libdri3_la_SOURCES = \ 7 | dri3.h \ 8 | dri3_priv.h \ 9 | dri3.c \ 10 | dri3_request.c \ 11 | dri3_screen.c 12 | 13 | sdk_HEADERS = dri3.h 14 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/misc/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | noinst_LTLIBRARIES = libmisc.la 3 | 4 | libmisc_la_SOURCES = SlowBcopy.c 5 | 6 | #AM_LDFLAGS = -r 7 | 8 | AM_CPPFLAGS = $(XORG_INCS) 9 | 10 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 11 | 12 | EXTRA_DIST = $(I386_SRCS) $(PORTIO_SRCS) 13 | -------------------------------------------------------------------------------- /hw/dmx/doxygen/footer.html: -------------------------------------------------------------------------------- 1 |
2 | Generated on $datetime for $projectname by doxygen $doxygenversion
3 | 4 | 5 | -------------------------------------------------------------------------------- /miext/damage/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdamage.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | AM_CPPFLAGS = -I$(srcdir)/../cw 6 | 7 | if XORG 8 | sdk_HEADERS = damage.h damagestr.h 9 | endif 10 | 11 | libdamage_la_SOURCES = \ 12 | damage.c \ 13 | damage.h \ 14 | damagestr.h 15 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/stub/stub_video.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86_OSlib.h" 6 | #include "xf86OSpriv.h" 7 | 8 | void 9 | xf86OSInitVidMem(VidMemInfoPtr pVidMem) 10 | { 11 | pVidMem->initialised = TRUE; 12 | return; 13 | } 14 | -------------------------------------------------------------------------------- /hw/xfree86/man/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/manpages.am 2 | appman_PRE = Xorg.man 3 | fileman_PRE = xorg.conf.man xorg.conf.d.man 4 | 5 | if SUID_WRAPPER 6 | appman_PRE += Xorg.wrap.man 7 | fileman_PRE += Xwrapper.config.man 8 | else 9 | EXTRA_DIST += Xorg.wrap.man Xwrapper.config.man 10 | endif 11 | -------------------------------------------------------------------------------- /hw/xfree86/xkb/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_xkb = [ 2 | 'xkbVT.c', 3 | 'xkbPrivate.c', 4 | 'xkbKillSrv.c', 5 | ] 6 | 7 | xorg_xkb = static_library('xorg_xkb', 8 | srcs_xorg_xkb, 9 | include_directories: [inc, xorg_inc], 10 | dependencies: common_dep, 11 | c_args: xorg_c_args, 12 | ) 13 | -------------------------------------------------------------------------------- /xfixes/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xfixes = [ 2 | 'cursor.c', 3 | 'region.c', 4 | 'saveset.c', 5 | 'select.c', 6 | 'xfixes.c', 7 | ] 8 | 9 | libxserver_xfixes = static_library('libxserver_xfixes', 10 | srcs_xfixes, 11 | include_directories: inc, 12 | dependencies: common_dep, 13 | ) 14 | -------------------------------------------------------------------------------- /composite/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libcomposite.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = compositeext.h 7 | endif 8 | 9 | libcomposite_la_SOURCES = \ 10 | compalloc.c \ 11 | compext.c \ 12 | compint.h \ 13 | compinit.c \ 14 | compoverlay.c \ 15 | compwindow.c 16 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | pci_id_driver_map.h \ 3 | i810_pci_ids.h \ 4 | i915_pci_ids.h \ 5 | i965_pci_ids.h \ 6 | r200_pci_ids.h \ 7 | r300_pci_ids.h \ 8 | r600_pci_ids.h \ 9 | radeon_pci_ids.h \ 10 | radeonsi_pci_ids.h \ 11 | virtio_gpu_pci_ids.h \ 12 | vmwgfx_pci_ids.h 13 | -------------------------------------------------------------------------------- /dbe/meson.build: -------------------------------------------------------------------------------- 1 | srcs_dbe = [ 2 | 'dbe.c', 3 | 'midbe.c', 4 | ] 5 | 6 | hdrs_dbe = [ 7 | 'dbestruct.h', 8 | ] 9 | 10 | libxserver_dbe = static_library('libxserver_dbe', 11 | srcs_dbe, 12 | include_directories: inc, 13 | dependencies: common_dep, 14 | ) 15 | 16 | install_data(hdrs_dbe, install_dir: xorgsdkdir) 17 | -------------------------------------------------------------------------------- /hw/xfree86/ddc/Makefile.am: -------------------------------------------------------------------------------- 1 | sdk_HEADERS = edid.h xf86DDC.h 2 | 3 | noinst_LTLIBRARIES = libddc.la 4 | 5 | libddc_la_SOURCES = ddc.c interpret_edid.c print_edid.c ddcProperty.c 6 | 7 | AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../i2c 8 | 9 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 10 | 11 | EXTRA_DIST = DDC.HOWTO 12 | -------------------------------------------------------------------------------- /include/optionstr.h: -------------------------------------------------------------------------------- 1 | #ifndef OPTIONSTR_H_ 2 | #define OPTIONSTR_H_ 3 | #include "list.h" 4 | 5 | struct _InputOption { 6 | GenericListRec list; 7 | char *opt_name; 8 | char *opt_val; 9 | int opt_used; 10 | char *opt_comment; 11 | }; 12 | 13 | #endif /* INPUTSTRUCT_H */ 14 | -------------------------------------------------------------------------------- /hw/kdrive/Makefile.am: -------------------------------------------------------------------------------- 1 | if XEPHYR 2 | XEPHYR_SUBDIRS = ephyr 3 | endif 4 | 5 | SERVER_SUBDIRS = \ 6 | $(XEPHYR_SUBDIRS) 7 | 8 | SUBDIRS = \ 9 | src \ 10 | $(SERVER_SUBDIRS) 11 | 12 | DIST_SUBDIRS = ephyr src 13 | 14 | relink: 15 | $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done 16 | -------------------------------------------------------------------------------- /hw/xfree86/vgahw/meson.build: -------------------------------------------------------------------------------- 1 | shared_module('vgahw', 2 | [ 'vgaHW.c', 'vgaHWmodule.c'], 3 | include_directories: [ inc, xorg_inc ], 4 | dependencies: common_dep, 5 | c_args: xorg_c_args, 6 | install: true, 7 | install_dir: module_dir, 8 | ) 9 | 10 | install_data('vgaHW.h', install_dir: xorgsdkdir) 11 | -------------------------------------------------------------------------------- /config/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-config 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_SRC_FILES := \ 8 | config.c 9 | 10 | include $(BUILD_STATIC_LIBRARY) 11 | -------------------------------------------------------------------------------- /hw/xfree86/vgahw/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libvgahw.la 2 | libvgahw_la_LDFLAGS = -avoid-version 3 | libvgahw_la_LIBADD = $(PCIACCESS_LIBS) 4 | libvgahw_la_SOURCES = vgaHW.c vgaHWmodule.c 5 | AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c 6 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 7 | 8 | sdk_HEADERS = vgaHW.h 9 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_i2c = [ 2 | 'xf86i2c.c' 3 | ] 4 | 5 | xorg_i2c = static_library('xorg_i2c', 6 | srcs_xorg_i2c, 7 | include_directories: [inc, xorg_inc], 8 | dependencies: common_dep, 9 | c_args: xorg_c_args, 10 | ) 11 | 12 | install_data(['xf86i2c.h', 'i2c_def.h'], install_dir: xorgsdkdir) 13 | -------------------------------------------------------------------------------- /include/dix-config-apple-verbatim.h: -------------------------------------------------------------------------------- 1 | /* Do not include this file directly. It is included at the end of */ 2 | 3 | /* Correctly set _XSERVER64 for OSX fat binaries */ 4 | #if defined(__LP64__) && !defined(_XSERVER64) 5 | #define _XSERVER64 1 6 | #elif !defined(__LP64__) && defined(_XSERVER64) 7 | #undef _XSERVER64 8 | #endif 9 | -------------------------------------------------------------------------------- /damageext/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-damageext 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_SRC_FILES := \ 8 | damageext.c 9 | 10 | include $(BUILD_STATIC_LIBRARY) 11 | -------------------------------------------------------------------------------- /test/tests-common.h: -------------------------------------------------------------------------------- 1 | #ifndef TESTS_COMMON_H 2 | #define TESTS_COMMON_H 3 | 4 | #include "tests.h" 5 | 6 | #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0])) 7 | 8 | #define run_test(func) run_test_in_child(func, #func) 9 | 10 | void run_test_in_child(int (*func)(void), const char *funcname); 11 | 12 | #endif /* TESTS_COMMON_H */ 13 | -------------------------------------------------------------------------------- /dbe/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-dbe 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_SRC_FILES := \ 8 | dbe.c \ 9 | midbe.c 10 | 11 | include $(BUILD_STATIC_LIBRARY) 12 | -------------------------------------------------------------------------------- /hw/xfree86/Xorg.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Execute Xorg.wrap if it exists otherwise execute Xorg directly. 4 | # This allows distros to put the suid wrapper in a separate package. 5 | 6 | basedir=@SUID_WRAPPER_DIR@ 7 | if [ -x "$basedir"/Xorg.wrap ]; then 8 | exec "$basedir"/Xorg.wrap "$@" 9 | else 10 | exec "$basedir"/Xorg "$@" 11 | fi 12 | -------------------------------------------------------------------------------- /hw/xfree86/vbe/meson.build: -------------------------------------------------------------------------------- 1 | shared_module('vbe', 2 | [ 'vbe.c', 'vbeModes.c', 'vbe_module.c' ], 3 | include_directories: [ inc, xorg_inc ], 4 | dependencies: common_dep, 5 | c_args: xorg_c_args, 6 | install: true, 7 | install_dir: module_dir, 8 | ) 9 | 10 | install_data(['vbe.h', 'vbeModes.h'], install_dir: xorgsdkdir) 11 | -------------------------------------------------------------------------------- /record/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-record 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_SRC_FILES := \ 8 | record.c \ 9 | set.c 10 | 11 | include $(BUILD_STATIC_LIBRARY) 12 | -------------------------------------------------------------------------------- /hw/xfree86/x86emu/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_x86emu = [ 2 | 'debug.c', 3 | 'decode.c', 4 | 'fpu.c', 5 | 'ops2.c', 6 | 'ops.c', 7 | 'prim_ops.c', 8 | 'sys.c', 9 | ] 10 | 11 | xorg_x86emu = static_library('x86emu', 12 | srcs_xorg_x86emu, 13 | include_directories: [inc, xorg_inc], 14 | dependencies: common_dep, 15 | ) 16 | -------------------------------------------------------------------------------- /hw/xwin/dri/meson.build: -------------------------------------------------------------------------------- 1 | srcs_windows_dri = [ 2 | 'windowsdri.c', 3 | 'windowsdri.h', 4 | ] 5 | 6 | xwin_windowsdri = static_library( 7 | 'WindowsDRI', 8 | srcs_windows_dri, 9 | include_directories: [ inc, include_directories('../') ], 10 | dependencies: [ 11 | windowsdri_dep, 12 | pixman_dep, 13 | ], 14 | ) 15 | -------------------------------------------------------------------------------- /include/version-config.h.in: -------------------------------------------------------------------------------- 1 | /* version-config.h.in: not generated */ 2 | 3 | #ifndef VERSION_CONFIG_H 4 | #define VERSION_CONFIG_H 5 | 6 | /* Vendor man version */ 7 | #undef VENDOR_MAN_VERSION 8 | 9 | /* Vendor name */ 10 | #undef VENDOR_NAME 11 | 12 | /* Vendor release */ 13 | #undef VENDOR_RELEASE 14 | 15 | #endif /* VERSION_CONFIG_H */ 16 | 17 | -------------------------------------------------------------------------------- /hw/dmx/config/test-j.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option "aaa aa cc"; 3 | param { # comment 1 4 | a b; 5 | c d; 6 | x y z; # comment 2 7 | } 8 | param e f g h; # comment 3 9 | param e f g hlskdjflskdfjsd #comment 4 10 | flksdjf sldkfjsldkfjsdlf lsdkfjsldkfjlsdkjflskdjflsdkjfl lkjsdlfjsdlfkjsdlfj; 11 | } 12 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libshadowfb.la 2 | libshadowfb_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG) 3 | libshadowfb_la_SOURCES = sfbmodule.c shadowfb.c 4 | libshadowfb_la_LIBADD = $(PIXMAN_LIBS) 5 | 6 | sdk_HEADERS = shadowfb.h 7 | 8 | AM_CPPFLAGS = $(XORG_INCS) 9 | 10 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 11 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/meson.build: -------------------------------------------------------------------------------- 1 | shared_module('shadowfb', 2 | [ 'shadowfb.c', 'sfbmodule.c'], 3 | include_directories: [ inc, xorg_inc ], 4 | dependencies: common_dep, 5 | c_args: xorg_c_args, 6 | install: true, 7 | install_dir: module_dir, 8 | link_with: e, 9 | ) 10 | 11 | install_data('shadowfb.h', install_dir: xorgsdkdir) 12 | -------------------------------------------------------------------------------- /hw/dmx/config/test-j.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option aaa # bbb 3 | aa cc; 4 | param { # comment 1 5 | a b; 6 | c d; 7 | x y z; # comment 2 8 | } 9 | param e f g h; # comment 3 10 | param e f g hlskdjflskdfjsd #comment 4 11 | flksdjf sldkfjsldkfjsdlf 12 | "lsdkfjsldkfjlsdkjflskdjflsdkjfl" "lkjsdlfjsdlfkjsdlfj"; 13 | } 14 | -------------------------------------------------------------------------------- /hw/xwin/glx/winpriv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Export window information for the Windows-OpenGL GLX implementation. 3 | * 4 | * Authors: Alexander Gottwald 5 | */ 6 | 7 | #include 8 | #include 9 | 10 | HWND winGetWindowInfo(WindowPtr pWin); 11 | Bool winCheckScreenAiglxIsSupported(ScreenPtr pScreen); 12 | void winSetScreenAiglxIsActive(ScreenPtr pScreen); 13 | -------------------------------------------------------------------------------- /include/xwayland-config.h.in: -------------------------------------------------------------------------------- 1 | /* xwayland-config.h.in: not at all generated. */ 2 | #ifndef _XWAYLAND_CONFIG_H_ 3 | #define _XWAYLAND_CONFIG_H_ 4 | 5 | #include 6 | 7 | /* Build glamor support for Xwayland */ 8 | #undef XWL_HAS_GLAMOR 9 | 10 | /* Build eglstream support for Xwayland */ 11 | #undef XWL_HAS_EGLSTREAM 12 | 13 | #endif /* _XWAYLAND_CONFIG_H_ */ 14 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS=pci_ids 2 | 3 | noinst_LTLIBRARIES = libdri2.la 4 | AM_CFLAGS = \ 5 | -DHAVE_XORG_CONFIG_H \ 6 | @DIX_CFLAGS@ @XORG_CFLAGS@ \ 7 | -I$(top_srcdir)/hw/xfree86/common \ 8 | -I$(top_srcdir)/hw/xfree86/os-support/bus 9 | 10 | libdri2_la_SOURCES = \ 11 | dri2.c \ 12 | dri2.h \ 13 | dri2ext.c \ 14 | dri2int.h 15 | 16 | sdk_HEADERS = dri2.h 17 | -------------------------------------------------------------------------------- /miext/damage/meson.build: -------------------------------------------------------------------------------- 1 | srcs_miext_damage = [ 2 | 'damage.c', 3 | ] 4 | 5 | hdrs_miext_damage = [ 6 | 'damage.h', 7 | 'damagestr.h', 8 | ] 9 | 10 | libxserver_miext_damage = static_library('libxserver_miext_damage', 11 | srcs_miext_damage, 12 | include_directories: inc, 13 | dependencies: common_dep, 14 | ) 15 | 16 | install_data(hdrs_miext_damage, install_dir: xorgsdkdir) 17 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = dtrace 2 | 3 | if ENABLE_DEVEL_DOCS 4 | if HAVE_XMLTO 5 | 6 | # Main DocBook/XML files (DOCTYPE book) 7 | docbook = Xserver-spec.xml Xinput.xml 8 | 9 | # Generate DocBook/XML output formats with or without stylesheets 10 | include $(top_srcdir)/devbook.am 11 | 12 | endif HAVE_XMLTO 13 | endif ENABLE_DEVEL_DOCS 14 | 15 | EXTRA_DIST = smartsched filter-xmlto.sh 16 | -------------------------------------------------------------------------------- /hw/dmx/config/test-l.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1x2; 3 | display d1:0 +3+4; 4 | display d2:0 100x200 @1x1; 5 | display d3:0 +3+4 @2x2; 6 | display d4:0 100x200+3+4 @3x3; 7 | display d5:0 / 1x2+3+4; 8 | display d6:0 / 1x2; 9 | display d7:0 / +3+4; 10 | display d8:0 / 1x2+3+4 @4x4; 11 | display d9:0 11x22+33+44 / 111x222+333+444 @1000x1100; 12 | } 13 | -------------------------------------------------------------------------------- /hw/dmx/config/test-l.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1x2; 3 | display d1:0 +3+4; 4 | display d2:0 100x200 @1x1; 5 | display d3:0 +3+4 @2x2; 6 | display d4:0 100x200+3+4 @3x3; 7 | display d5:0 / 1x2+3+4; 8 | display d6:0 / 1x2; 9 | display d7:0 / +3+4; 10 | display d8:0 / 1x2+3+4 @4x4; 11 | display d9:0 11x22+33+44 / 111x222+333+444 @1000x1100; 12 | } 13 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_dri2 = [ 2 | 'dri2.c', 3 | 'dri2ext.c', 4 | ] 5 | 6 | xorg_dri2 = static_library('xorg_dri2', 7 | srcs_xorg_dri2, 8 | include_directories: [inc, xorg_inc], 9 | dependencies: [ 10 | common_dep, 11 | libdrm_dep, 12 | ], 13 | c_args: xorg_c_args, 14 | ) 15 | 16 | install_data('dri2.h', install_dir: xorgsdkdir) 17 | -------------------------------------------------------------------------------- /test/sync/meson.build: -------------------------------------------------------------------------------- 1 | xcb_dep = dependency('xcb', required: false) 2 | xcb_sync_dep = dependency('xcb-sync', required: false) 3 | 4 | if get_option('xvfb') 5 | if xcb_dep.found() and xcb_sync_dep.found() 6 | sync = executable('sync', 'sync.c', dependencies: [xcb_dep, xcb_sync_dep]) 7 | test('sync', simple_xinit, args: [sync, '--', xvfb_server]) 8 | endif 9 | endif 10 | -------------------------------------------------------------------------------- /miext/rootless/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CFLAGS = $(DIX_CFLAGS) $(XSERVER_CFLAGS) 2 | 3 | noinst_LTLIBRARIES = librootless.la 4 | librootless_la_SOURCES = \ 5 | rootlessCommon.c \ 6 | rootlessGC.c \ 7 | rootlessScreen.c \ 8 | rootlessValTree.c \ 9 | rootlessWindow.c 10 | 11 | EXTRA_DIST = \ 12 | README.txt \ 13 | rootless.h \ 14 | rootlessCommon.h \ 15 | rootlessConfig.h \ 16 | rootlessWindow.h 17 | -------------------------------------------------------------------------------- /render/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = librender.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | librender_la_SOURCES = \ 6 | animcur.c \ 7 | filter.c \ 8 | glyph.c \ 9 | matrix.c \ 10 | miindex.c \ 11 | mipict.c \ 12 | mirect.c \ 13 | mitrap.c \ 14 | mitri.c \ 15 | picture.c \ 16 | render.c 17 | 18 | if XORG 19 | sdk_HEADERS = picture.h mipict.h glyphstr.h picturestr.h 20 | endif 21 | -------------------------------------------------------------------------------- /hw/xfree86/doc/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | if ENABLE_DEVEL_DOCS 3 | if HAVE_XMLTO 4 | 5 | # Main DocBook/XML files (DOCTYPE book) 6 | docbook = ddxDesign.xml 7 | 8 | # Generate DocBook/XML output formats with or without stylesheets 9 | include $(top_srcdir)/devbook.am 10 | 11 | endif HAVE_XMLTO 12 | endif ENABLE_DEVEL_DOCS 13 | 14 | EXTRA_DIST = \ 15 | Registry \ 16 | exa-driver.txt \ 17 | README.modes 18 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/stub/stub_init.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86_OSlib.h" 6 | 7 | void 8 | xf86OpenConsole(void) 9 | { 10 | } 11 | 12 | void 13 | xf86CloseConsole(void) 14 | { 15 | } 16 | 17 | int 18 | xf86ProcessArgument(int argc, char *argv[], int i) 19 | { 20 | return 0; 21 | } 22 | 23 | void 24 | xf86UseMsg(void) 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /os/xstrans.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_DIX_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include 6 | 7 | /* ErrorF is used by xtrans */ 8 | #ifndef HAVE_DIX_CONFIG_H 9 | extern _X_EXPORT void 10 | ErrorF(const char *f, ...) 11 | _X_ATTRIBUTE_PRINTF(1, 2); 12 | #endif 13 | 14 | #define TRANS_REOPEN 15 | #define TRANS_SERVER 16 | #define XSERV_t 17 | #include 18 | -------------------------------------------------------------------------------- /hw/xfree86/ddc/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_ddc = [ 2 | 'ddc.c', 3 | 'interpret_edid.c', 4 | 'print_edid.c', 5 | 'ddcProperty.c', 6 | ] 7 | 8 | xorg_ddc = static_library('xorg_ddc', 9 | srcs_xorg_ddc, 10 | include_directories: [inc, xorg_inc], 11 | dependencies: common_dep, 12 | c_args: xorg_c_args, 13 | ) 14 | 15 | install_data(['edid.h', 'xf86DDC.h'], install_dir: xorgsdkdir) 16 | -------------------------------------------------------------------------------- /hw/xfree86/exa/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = man 2 | 3 | module_LTLIBRARIES = libexa.la 4 | 5 | libexa_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG) 6 | 7 | AM_CPPFLAGS = \ 8 | $(XORG_INCS) \ 9 | -I$(srcdir)/../../../exa 10 | 11 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 12 | 13 | libexa_la_SOURCES = \ 14 | examodule.c 15 | 16 | libexa_la_LIBADD = \ 17 | ../../../exa/libexa.la $(PIXMAN_LIBS) 18 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | srcdir=`dirname "$0"` 4 | test -z "$srcdir" && srcdir=. 5 | 6 | ORIGDIR=`pwd` 7 | cd "$srcdir" 8 | 9 | autoreconf --force -v --install || exit 1 10 | cd "$ORIGDIR" || exit $? 11 | 12 | git config --local --get format.subjectPrefix || 13 | git config --local format.subjectPrefix "PATCH xserver" 14 | 15 | if test -z "$NOCONFIGURE"; then 16 | exec "$srcdir"/configure "$@" 17 | fi 18 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/xf86RamDacPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "xf86RamDac.h" 7 | #include "xf86cmap.h" 8 | 9 | void RamDacGetRecPrivate(void); 10 | Bool RamDacGetRec(ScrnInfoPtr pScrn); 11 | int RamDacGetScreenIndex(void); 12 | void RamDacLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, 13 | LOCO * colors, VisualPtr pVisual); 14 | -------------------------------------------------------------------------------- /hw/xfree86/loader/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_loader = [ 2 | 'loader.c', 3 | 'loadmod.c', 4 | ] 5 | 6 | xorg_loader = static_library('xorg_loader', 7 | srcs_xorg_loader, 8 | include_directories: [inc, xorg_inc], 9 | dependencies: [common_dep, dl_dep], 10 | c_args: xorg_c_args, 11 | ) 12 | 13 | xorg_symbol_test = executable('xorg_symbol_test', 14 | 'symbol-test.c', 15 | dependencies: dl_dep, 16 | ) 17 | -------------------------------------------------------------------------------- /miext/sync/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libsync.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | AM_CPPFLAGS = 6 | 7 | if XORG 8 | sdk_HEADERS = misync.h misyncstr.h misyncshm.h misyncfd.h 9 | endif 10 | 11 | XSHMFENCE_SRCS = misyncshm.c 12 | 13 | libsync_la_SOURCES = \ 14 | misync.c \ 15 | misync.h \ 16 | misyncfd.c \ 17 | misyncstr.h 18 | 19 | if XSHMFENCE 20 | libsync_la_SOURCES += $(XSHMFENCE_SRCS) 21 | endif 22 | -------------------------------------------------------------------------------- /xfixes/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libXServer-xfixes 6 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_SRC_FILES := \ 9 | cursor.c \ 10 | region.c \ 11 | saveset.c \ 12 | select.c \ 13 | xfixes.c \ 14 | 15 | include $(BUILD_STATIC_LIBRARY) 16 | -------------------------------------------------------------------------------- /composite/meson.build: -------------------------------------------------------------------------------- 1 | srcs_composite = [ 2 | 'compalloc.c', 3 | 'compext.c', 4 | 'compinit.c', 5 | 'compoverlay.c', 6 | 'compwindow.c', 7 | ] 8 | 9 | hdrs_composite = [ 10 | 'compositeext.h', 11 | ] 12 | 13 | libxserver_composite = static_library('libxserver_composite', 14 | srcs_composite, 15 | include_directories: inc, 16 | dependencies: common_dep, 17 | ) 18 | 19 | install_data(hdrs_composite, install_dir: xorgsdkdir) 20 | -------------------------------------------------------------------------------- /doc/dtrace/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | if ENABLE_DOCS 3 | if XSERVER_DTRACE 4 | 5 | # Main DocBook/XML files (DOCTYPE book) 6 | docbook = Xserver-DTrace.xml 7 | 8 | # The location where the DocBook/XML files and their generated formats are installed 9 | shelfdir = $(docdir) 10 | 11 | # Generate DocBook/XML output formats with or without stylesheets 12 | include $(top_srcdir)/docbook.am 13 | 14 | endif XSERVER_DTRACE 15 | endif ENABLE_DOCS 16 | -------------------------------------------------------------------------------- /hw/xfree86/exa/meson.build: -------------------------------------------------------------------------------- 1 | xorg_exa = shared_module('exa', 2 | 'examodule.c', 3 | include_directories: [inc, xorg_inc], 4 | dependencies: common_dep, 5 | link_with: [libxserver_exa, e], 6 | c_args: xorg_c_args, 7 | install: true, 8 | install_dir: module_dir, 9 | ) 10 | 11 | install_man(configure_file( 12 | input: 'man/exa.man', 13 | output: 'exa.4', 14 | configuration: manpage_config, 15 | )) 16 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/BTPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "BT.h" 7 | 8 | typedef struct { 9 | const char *DeviceName; 10 | } xf86BTramdacInfo; 11 | 12 | extern xf86BTramdacInfo BTramdacDeviceInfo[]; 13 | 14 | #ifdef INIT_BT_RAMDAC_INFO 15 | xf86BTramdacInfo BTramdacDeviceInfo[] = { 16 | {"AT&T 20C504"}, 17 | {"AT&T 20C505"}, 18 | {"BT485/484"} 19 | }; 20 | #endif 21 | -------------------------------------------------------------------------------- /test/scripts/xvfb-piglit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # this times out on Travis, because the tests take too long. 4 | #if test "x$TRAVIS_BUILD_DIR" != "x"; then 5 | # exit 77 6 | #fi 7 | 8 | export SERVER_COMMAND="$XSERVER_BUILDDIR/hw/vfb/Xvfb \ 9 | -noreset \ 10 | -screen scrn 1280x1024x24" 11 | export PIGLIT_RESULTS_DIR=$XSERVER_BUILDDIR/test/piglit-results/xvfb 12 | 13 | exec $XSERVER_DIR/test/scripts/run-piglit.sh 14 | 15 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libramdac.la 2 | 3 | libramdac_la_SOURCES = xf86RamDac.c xf86RamDacCmap.c \ 4 | xf86CursorRD.c xf86HWCurs.c IBM.c BT.c TI.c 5 | 6 | sdk_HEADERS = BT.h IBM.h TI.h xf86Cursor.h xf86RamDac.h 7 | 8 | EXTRA_DIST = BTPriv.h IBMPriv.h TIPriv.h xf86CursorPriv.h xf86RamDacPriv.h \ 9 | CURSOR.NOTES 10 | 11 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 12 | AM_CPPFLAGS = $(XORG_INCS) 13 | -------------------------------------------------------------------------------- /hw/xquartz/GL/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libCGLCore.la 2 | AM_CFLAGS = $(DIX_CFLAGS) $(GL_CFLAGS) 3 | AM_CPPFLAGS = \ 4 | -I$(top_srcdir) \ 5 | -I$(top_srcdir)/glx \ 6 | -I$(top_srcdir)/hw/xquartz \ 7 | -I$(top_srcdir)/hw/xquartz/xpr \ 8 | -I$(top_srcdir)/miext/damage 9 | 10 | libCGLCore_la_SOURCES = \ 11 | indirect.c \ 12 | capabilities.c \ 13 | visualConfigs.c 14 | 15 | EXTRA_DIST = \ 16 | capabilities.h \ 17 | visualConfigs.h 18 | -------------------------------------------------------------------------------- /hw/kdrive/src/meson.build: -------------------------------------------------------------------------------- 1 | srcs_kdrive = [ 2 | 'kcmap.c', 3 | 'kdrive.c', 4 | 'kinfo.c', 5 | 'kinput.c', 6 | 'kshadow.c', 7 | '../../../mi/miinitext.c', 8 | ] 9 | 10 | if build_xv 11 | srcs_kdrive += 'kxv.c' 12 | endif 13 | 14 | #XXX: libconfig 15 | 16 | kdrive = static_library('kdrive', 17 | srcs_kdrive, 18 | include_directories: inc, 19 | dependencies: common_dep, 20 | link_with: libxserver_miext_shadow, 21 | ) 22 | -------------------------------------------------------------------------------- /test/bigreq/meson.build: -------------------------------------------------------------------------------- 1 | xcb_dep = dependency('xcb', required: false) 2 | xcb_xinput_dep = dependency('xcb-xinput', required: false) 3 | 4 | if get_option('xvfb') 5 | if xcb_dep.found() and xcb_xinput_dep.found() 6 | requestlength = executable('request-length', 'request-length.c', 7 | dependencies: [xcb_dep, xcb_xinput_dep]) 8 | test('request-length', simple_xinit, args: [requestlength, '--', xvfb_server]) 9 | endif 10 | endif 11 | -------------------------------------------------------------------------------- /composite/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libXServer-composite 6 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_SRC_FILES := \ 9 | compalloc.c \ 10 | compext.c \ 11 | compinit.c \ 12 | compoverlay.c \ 13 | compwindow.c 14 | 15 | LOCAL_SHARED_LIBRARIES := libpixman_full 16 | include $(BUILD_STATIC_LIBRARY) 17 | -------------------------------------------------------------------------------- /exa/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libexa.la 2 | 3 | if XORG 4 | sdk_HEADERS = exa.h 5 | endif 6 | 7 | AM_CPPFLAGS = $(XORG_INCS) 8 | 9 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 10 | 11 | libexa_la_SOURCES = \ 12 | exa.c \ 13 | exa.h \ 14 | exa_classic.c \ 15 | exa_migration_classic.c \ 16 | exa_driver.c \ 17 | exa_mixed.c \ 18 | exa_migration_mixed.c \ 19 | exa_accel.c \ 20 | exa_glyphs.c \ 21 | exa_offscreen.c \ 22 | exa_render.c \ 23 | exa_priv.h \ 24 | exa_unaccel.c 25 | -------------------------------------------------------------------------------- /hw/xfree86/common/xorgHelper.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include 7 | #include "os.h" 8 | #include "servermd.h" 9 | #include "pixmapstr.h" 10 | #include "windowstr.h" 11 | #include "propertyst.h" 12 | #include "gcstruct.h" 13 | #include "loaderProcs.h" 14 | #include "xf86.h" 15 | #include "xf86Priv.h" 16 | #include "xorgVersion.h" 17 | 18 | CARD32 19 | xorgGetVersion(void) 20 | { 21 | return XORG_VERSION_CURRENT; 22 | } 23 | -------------------------------------------------------------------------------- /hw/xfree86/dri/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_dri = [ 2 | 'dri.c', 3 | 'xf86dri.c', 4 | ] 5 | 6 | xorg_dri = static_library('xorg_dri', 7 | srcs_xorg_dri, 8 | include_directories: [inc, xorg_inc], 9 | dependencies: [ 10 | common_dep, 11 | libdrm_dep, 12 | ], 13 | c_args: xorg_c_args, 14 | ) 15 | 16 | install_data( 17 | [ 18 | 'dri.h', 19 | 'sarea.h', 20 | 'dristruct.h', 21 | ], 22 | install_dir: xorgsdkdir, 23 | ) 24 | -------------------------------------------------------------------------------- /dri3/meson.build: -------------------------------------------------------------------------------- 1 | srcs_dri3 = [ 2 | 'dri3.c', 3 | 'dri3_request.c', 4 | 'dri3_screen.c', 5 | ] 6 | 7 | hdrs_dri3 = [ 8 | 'dri3.h', 9 | ] 10 | 11 | libxserver_dri3 = [] 12 | if build_dri3 13 | libxserver_dri3 = static_library('libxserver_dri3', 14 | srcs_dri3, 15 | include_directories: inc, 16 | dependencies: [ common_dep, libdrm_dep ], 17 | c_args: '-DHAVE_XORG_CONFIG_H' 18 | ) 19 | endif 20 | 21 | install_data(hdrs_dri3, install_dir: xorgsdkdir) 22 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/English.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 105 7 | LprojLocale 8 | en 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 105 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106 7 | LprojLocale 8 | fr 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106 7 | LprojLocale 8 | de 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | ar 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ca.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | ca 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/cs.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | cs 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | da 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/el.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | el 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | fi 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/he.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | he 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/hr.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | hr 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/hu.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | hu 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | ko 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | no 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | pl 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | pt 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ro.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | ro 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | ru 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sk.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | sk 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | sv 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/th.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | th 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/tr.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | tr 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/uk.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.5 7 | LprojLocale 8 | uk 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.5 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | nl 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | it 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | ja 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | es 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | pt_PT 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | zh_CN 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 106.3 7 | LprojLocale 8 | zh_TW 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 106.3 13 | 14 | 15 | -------------------------------------------------------------------------------- /present/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libpresent.la 2 | AM_CFLAGS = \ 3 | -DHAVE_XORG_CONFIG_H \ 4 | @DIX_CFLAGS@ @XORG_CFLAGS@ 5 | 6 | libpresent_la_SOURCES = \ 7 | present.h \ 8 | present.c \ 9 | present_event.c \ 10 | present_execute.c \ 11 | present_fake.c \ 12 | present_fence.c \ 13 | present_notify.c \ 14 | present_priv.h \ 15 | present_request.c \ 16 | present_scmd.c \ 17 | present_screen.c \ 18 | present_vblank.c \ 19 | present_wnmd.c 20 | 21 | sdk_HEADERS = present.h presentext.h 22 | -------------------------------------------------------------------------------- /hw/meson.build: -------------------------------------------------------------------------------- 1 | if get_option('xephyr') 2 | subdir('kdrive') 3 | endif 4 | 5 | if get_option('dmx') 6 | subdir('dmx') 7 | endif 8 | 9 | if get_option('xvfb') 10 | subdir('vfb') 11 | endif 12 | 13 | if build_xnest 14 | subdir('xnest') 15 | endif 16 | 17 | if build_xorg 18 | subdir('xfree86') 19 | endif 20 | 21 | if build_xquartz 22 | subdir('xquartz') 23 | endif 24 | 25 | if build_xwayland 26 | subdir('xwayland') 27 | endif 28 | 29 | if build_xwin 30 | subdir('xwin') 31 | endif 32 | -------------------------------------------------------------------------------- /hw/xfree86/vbe/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libvbe.la 2 | libvbe_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG) 3 | libvbe_la_SOURCES = vbe.c vbeModes.c vbe_module.c 4 | if NO_UNDEFINED 5 | libvbe_la_LIBADD = ../int10/libint10.la 6 | endif 7 | 8 | sdk_HEADERS = vbe.h vbeModes.h 9 | 10 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 11 | 12 | AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \ 13 | -I$(srcdir)/../modes -I$(srcdir)/../parser \ 14 | -I$(srcdir)/../int10 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/X11.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set "$(dirname "$0")"/X11.bin "${@}" 4 | 5 | if [ -x ~/.x11run ]; then 6 | exec ~/.x11run "${@}" 7 | fi 8 | 9 | case $(basename "${SHELL}") in 10 | bash) exec -l "${SHELL}" --login -c 'exec "${@}"' - "${@}" ;; 11 | ksh|sh|zsh) exec -l "${SHELL}" -c 'exec "${@}"' - "${@}" ;; 12 | csh|tcsh) exec -l "${SHELL}" -c 'exec $argv:q' "${@}" ;; 13 | es|rc) exec -l "${SHELL}" -l -c 'exec $*' "${@}" ;; 14 | *) exec "${@}" ;; 15 | esac 16 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = man 2 | 3 | module_LTLIBRARIES = libfbdevhw.la 4 | 5 | libfbdevhw_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG) 6 | 7 | if FBDEVHW 8 | libfbdevhw_la_SOURCES = fbdevhw.c 9 | else 10 | libfbdevhw_la_SOURCES = fbdevhwstub.c 11 | endif 12 | 13 | AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../i2c -I$(srcdir)/../modes -I$(srcdir)/../ddc -I$(srcdir)/../parser 14 | 15 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 16 | 17 | sdk_HEADERS = fbdevhw.h 18 | 19 | EXTRA_DIST = fbpriv.h README 20 | -------------------------------------------------------------------------------- /include/version-config.h: -------------------------------------------------------------------------------- 1 | /* include/version-config.h. Generated from version-config.h.in by configure. */ 2 | /* version-config.h.in: not generated */ 3 | 4 | #ifndef VERSION_CONFIG_H 5 | #define VERSION_CONFIG_H 6 | 7 | /* Vendor man version */ 8 | #define VENDOR_MAN_VERSION "Version 1.20.1" 9 | 10 | /* Vendor name */ 11 | #define VENDOR_NAME "The X.Org Foundation" 12 | 13 | /* Vendor release */ 14 | #define VENDOR_RELEASE (((1) * 10000000) + ((20) * 100000) + ((1) * 1000) + 0) 15 | 16 | #endif /* VERSION_CONFIG_H */ 17 | 18 | -------------------------------------------------------------------------------- /include/xsha1.h: -------------------------------------------------------------------------------- 1 | #ifndef XSHA1_H 2 | #define XSHA1_H 3 | 4 | /* Initialize SHA1 computation. Returns NULL on error. */ 5 | void *x_sha1_init(void); 6 | 7 | /* 8 | * Add some data to be hashed. ctx is the value returned by x_sha1_init() 9 | * Returns 0 on error, 1 on success. 10 | */ 11 | int x_sha1_update(void *ctx, void *data, int size); 12 | 13 | /* 14 | * Place the hash in result, and free ctx. 15 | * Returns 0 on error, 1 on success. 16 | */ 17 | int x_sha1_final(void *ctx, unsigned char result[20]); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /hw/xfree86/loader/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libloader.la 2 | 3 | AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../parser \ 4 | -I$(srcdir)/../ddc -I$(srcdir)/../i2c -I$(srcdir)/../modes \ 5 | -I$(srcdir)/../ramdac -I$(srcdir)/../dri -I$(srcdir)/../dri2 6 | 7 | #AM_LDFLAGS = -r 8 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 9 | 10 | EXTRA_DIST = \ 11 | loader.h \ 12 | loaderProcs.h 13 | 14 | libloader_la_SOURCES = \ 15 | loader.c \ 16 | loaderProcs.h \ 17 | loadmod.c 18 | 19 | libloader_la_LIBADD = $(DLOPEN_LIBS) 20 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/hurd/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libhurd.la 2 | 3 | libhurd_la_SOURCES = hurd_bell.c hurd_init.c \ 4 | hurd_video.c \ 5 | $(srcdir)/../shared/VTsw_noop.c \ 6 | $(srcdir)/../shared/posix_tty.c \ 7 | $(srcdir)/../shared/vidmem.c \ 8 | $(srcdir)/../shared/sigiostubs.c \ 9 | $(srcdir)/../shared/pm_noop.c \ 10 | $(srcdir)/../shared/kmod_noop.c \ 11 | $(srcdir)/../shared/agp_noop.c 12 | 13 | AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) 14 | 15 | AM_CPPFLAGS = $(XORG_INCS) 16 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/bus/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libbus.la 2 | sdk_HEADERS = xf86Pci.h 3 | 4 | PCI_SOURCES = 5 | if XORG_BUS_PCI 6 | PCI_SOURCES += Pci.c Pci.h 7 | endif 8 | 9 | if XORG_BUS_BSDPCI 10 | PCI_SOURCES += bsd_pci.c 11 | endif 12 | 13 | if XORG_BUS_SPARC 14 | PLATFORM_SOURCES = Sbus.c 15 | sdk_HEADERS += xf86Sbus.h 16 | endif 17 | 18 | libbus_la_SOURCES = $(PCI_SOURCES) $(PLATFORM_SOURCES) nobus.c 19 | 20 | AM_CPPFLAGS = $(XORG_INCS) 21 | 22 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 23 | 24 | EXTRA_DIST = $(sdk_HEADERS) 25 | -------------------------------------------------------------------------------- /android/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := libXServer-android 5 | 6 | LOCAL_CFLAGS := -DTARGET_ARCH_ABI=\"$(TARGET_ARCH_ABI)\" $(XSERVER_CFLAGS) 7 | LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/src $(XSERVER_INCLUDES) 8 | LOCAL_SRC_FILES := \ 9 | android_native_app_glue.c \ 10 | android.c \ 11 | assets.c 12 | LOCAL_EXPORT_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM 13 | 14 | LOCAL_STATIC_LIBRARIES := \ 15 | libminzip_xorg 16 | 17 | include $(BUILD_STATIC_LIBRARY) 18 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/stub/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libstub.la 2 | 3 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 4 | 5 | AM_CPPFLAGS = $(XORG_INCS) 6 | 7 | libstub_la_SOURCES = \ 8 | $(srcdir)/../shared/VTsw_noop.c \ 9 | $(srcdir)/../shared/agp_noop.c \ 10 | $(srcdir)/../shared/ioperm_noop.c \ 11 | $(srcdir)/../shared/kmod_noop.c \ 12 | $(srcdir)/../shared/pm_noop.c \ 13 | $(srcdir)/../shared/vidmem.c \ 14 | $(srcdir)/../shared/posix_tty.c \ 15 | $(srcdir)/../shared/sigio.c \ 16 | stub_bell.c \ 17 | stub_init.c \ 18 | stub_video.c 19 | -------------------------------------------------------------------------------- /Xext/dpmsproc.h: -------------------------------------------------------------------------------- 1 | /* Prototypes for functions that the DDX must provide */ 2 | 3 | #ifdef HAVE_DIX_CONFIG_H 4 | #include 5 | #endif 6 | 7 | #ifndef _DPMSPROC_H_ 8 | #define _DPMSPROC_H_ 9 | 10 | #include "dixstruct.h" 11 | 12 | extern int DPMSSet(ClientPtr client, int level); 13 | extern Bool DPMSSupported(void); 14 | 15 | extern CARD32 DPMSStandbyTime; 16 | extern CARD32 DPMSSuspendTime; 17 | extern CARD32 DPMSOffTime; 18 | extern CARD16 DPMSPowerLevel; 19 | extern Bool DPMSEnabled; 20 | extern Bool DPMSDisabledSwitch; 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /hw/xfree86/glamor_egl/meson.build: -------------------------------------------------------------------------------- 1 | glamoregl_src = [ 2 | '../../../glamor/glamor_egl.c', 3 | '../../../glamor/glamor_eglmodule.c', 4 | 'glamor_xf86_xv.c', 5 | ] 6 | 7 | shared_module( 8 | 'glamoregl', 9 | glamoregl_src, 10 | 11 | include_directories: [inc, xorg_inc], 12 | c_args: xorg_c_args, 13 | dependencies: [ 14 | common_dep, 15 | dependency('libdrm', version: '>= 2.4.46'), 16 | gbm_dep, 17 | ], 18 | link_with: glamor, 19 | 20 | install: true, 21 | install_dir: module_dir, 22 | ) 23 | -------------------------------------------------------------------------------- /xorg-server.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | datarootdir=@datarootdir@ 6 | moduledir=@moduledir@ 7 | sdkdir=@sdkdir@ 8 | sysconfigdir=@sysconfigdir@ 9 | 10 | abi_ansic=@abi_ansic@ 11 | abi_videodrv=@abi_videodrv@ 12 | abi_xinput=@abi_xinput@ 13 | abi_extension=@abi_extension@ 14 | 15 | Name: xorg-server 16 | Description: Modular X.Org X Server 17 | Version: @PACKAGE_VERSION@ 18 | Requires.private: @SDK_REQUIRED_MODULES@ 19 | Cflags: -I${sdkdir} @symbol_visibility@ 20 | Libs: -L${libdir} @XORG_DRIVER_LIBS@ 21 | -------------------------------------------------------------------------------- /hw/xfree86/vgahw/vgaHWmodule.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1998 by The XFree86 Project, Inc 3 | */ 4 | 5 | #ifdef HAVE_XORG_CONFIG_H 6 | #include 7 | #endif 8 | 9 | #include "xf86Module.h" 10 | 11 | static XF86ModuleVersionInfo VersRec = { 12 | "vgahw", 13 | MODULEVENDORSTRING, 14 | MODINFOSTRING1, 15 | MODINFOSTRING2, 16 | XORG_VERSION_CURRENT, 17 | 0, 1, 0, 18 | ABI_CLASS_VIDEODRV, 19 | ABI_VIDEODRV_VERSION, 20 | MOD_CLASS_NONE, 21 | {0, 0, 0, 0} 22 | }; 23 | 24 | _X_EXPORT XF86ModuleData vgahwModuleData = { &VersRec, NULL, NULL }; 25 | -------------------------------------------------------------------------------- /miext/sync/meson.build: -------------------------------------------------------------------------------- 1 | srcs_miext_sync = [ 2 | 'misync.c', 3 | 'misyncfd.c', 4 | ] 5 | 6 | hdrs_miext_sync = [ 7 | 'misync.h', 8 | 'misyncfd.h', 9 | 'misyncshm.h', 10 | 'misyncstr.h', 11 | ] 12 | 13 | if build_dri3 14 | srcs_miext_sync += 'misyncshm.c' 15 | endif 16 | 17 | libxserver_miext_sync = static_library('libxserver_miext_sync', 18 | srcs_miext_sync, 19 | include_directories: inc, 20 | dependencies: [ 21 | common_dep, 22 | xshmfence_dep, 23 | ], 24 | ) 25 | 26 | install_data(hdrs_miext_sync, install_dir: xorgsdkdir) 27 | -------------------------------------------------------------------------------- /hw/xfree86/vbe/vbe_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86.h" 6 | #include "xf86str.h" 7 | #include "vbe.h" 8 | 9 | static XF86ModuleVersionInfo vbeVersRec = { 10 | "vbe", 11 | MODULEVENDORSTRING, 12 | MODINFOSTRING1, 13 | MODINFOSTRING2, 14 | XORG_VERSION_CURRENT, 15 | 1, 1, 0, 16 | ABI_CLASS_VIDEODRV, /* needs the video driver ABI */ 17 | ABI_VIDEODRV_VERSION, 18 | MOD_CLASS_NONE, 19 | {0, 0, 0, 0} 20 | }; 21 | 22 | _X_EXPORT XF86ModuleData vbeModuleData = { &vbeVersRec, NULL, NULL }; 23 | -------------------------------------------------------------------------------- /exa/meson.build: -------------------------------------------------------------------------------- 1 | srcs_exa = [ 2 | 'exa.c', 3 | 'exa_classic.c', 4 | 'exa_migration_classic.c', 5 | 'exa_driver.c', 6 | 'exa_mixed.c', 7 | 'exa_migration_mixed.c', 8 | 'exa_accel.c', 9 | 'exa_glyphs.c', 10 | 'exa_offscreen.c', 11 | 'exa_render.c', 12 | 'exa_unaccel.c', 13 | ] 14 | 15 | libxserver_exa = static_library('libxserver_exa', 16 | srcs_exa, 17 | include_directories: inc, 18 | dependencies: common_dep, 19 | c_args: '-DHAVE_XORG_CONFIG_H' 20 | ) 21 | 22 | if build_xorg 23 | install_data('exa.h', install_dir: xorgsdkdir) 24 | endif 25 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/README: -------------------------------------------------------------------------------- 1 | 2 | This is a submodule to access linux framebuffer devices. 3 | It is supported to work as helper module (like vgahw) 4 | for the chipset drivers. There are functions for 5 | saving/restoring/setting video modes, set palette entries, 6 | and a few more helper functions. Some of them can be 7 | hooked directly into ScrnInfoRec. 8 | 9 | In ../drivers/fbdev is a "chipset" driver. It is a simple, 10 | non-accelerated and hardware-independent driver which works 11 | on top of this fbdevhw submodule. 12 | 13 | Gerd 14 | 15 | -- 16 | Gerd Knorr 17 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_ramdac = [ 2 | 'xf86RamDac.c', 3 | 'xf86RamDacCmap.c', 4 | 'xf86CursorRD.c', 5 | 'xf86HWCurs.c', 6 | 'IBM.c', 7 | 'BT.c', 8 | 'TI.c', 9 | ] 10 | 11 | xorg_ramdac = static_library('xorg_ramdac', 12 | srcs_xorg_ramdac, 13 | include_directories: [inc, xorg_inc], 14 | dependencies: common_dep, 15 | c_args: xorg_c_args, 16 | ) 17 | 18 | install_data( 19 | [ 20 | 'BT.h', 21 | 'IBM.h', 22 | 'TI.h', 23 | 'xf86Cursor.h', 24 | 'xf86RamDac.h', 25 | ], 26 | install_dir: xorgsdkdir, 27 | ) 28 | -------------------------------------------------------------------------------- /render/meson.build: -------------------------------------------------------------------------------- 1 | srcs_render = [ 2 | 'animcur.c', 3 | 'filter.c', 4 | 'glyph.c', 5 | 'matrix.c', 6 | 'miindex.c', 7 | 'mipict.c', 8 | 'mirect.c', 9 | 'mitrap.c', 10 | 'mitri.c', 11 | 'picture.c', 12 | 'render.c', 13 | ] 14 | 15 | hdrs_render = [ 16 | 'glyphstr.h', 17 | 'mipict.h', 18 | 'picture.h', 19 | 'picturestr.h', 20 | ] 21 | 22 | libxserver_render = static_library('libxserver_render', 23 | srcs_render, 24 | include_directories: inc, 25 | dependencies: common_dep, 26 | ) 27 | 28 | install_data(hdrs_render, install_dir: xorgsdkdir) 29 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/IBMPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "IBM.h" 7 | 8 | typedef struct { 9 | const char *DeviceName; 10 | } xf86IBMramdacInfo; 11 | 12 | extern xf86IBMramdacInfo IBMramdacDeviceInfo[]; 13 | 14 | #ifdef INIT_IBM_RAMDAC_INFO 15 | xf86IBMramdacInfo IBMramdacDeviceInfo[] = { 16 | {"IBM 524"}, 17 | {"IBM 524A"}, 18 | {"IBM 525"}, 19 | {"IBM 526"}, 20 | {"IBM 526DB(DoubleBuffer)"}, 21 | {"IBM 528"}, 22 | {"IBM 528A"}, 23 | {"IBM 624"}, 24 | {"IBM 624DB(DoubleBuffer)"}, 25 | {"IBM 640"} 26 | }; 27 | #endif 28 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/meson.build: -------------------------------------------------------------------------------- 1 | if host_machine.system() == 'linux' 2 | srcs_fbdevhw = 'fbdevhw.c' 3 | else 4 | srcs_fbdevhw = 'fbdevhwstub.c' 5 | endif 6 | 7 | shared_module('fbdevhw', 8 | srcs_fbdevhw, 9 | include_directories: [ inc, xorg_inc ], 10 | dependencies: common_dep, 11 | c_args: xorg_c_args, 12 | install: true, 13 | install_dir: module_dir, 14 | link_with: e, 15 | ) 16 | 17 | install_data('fbdevhw.h', install_dir: xorgsdkdir) 18 | 19 | install_man(configure_file( 20 | input: 'man/fbdevhw.man', 21 | output: 'fbdevhw.4', 22 | configuration: manpage_config, 23 | )) 24 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/sfbmodule.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static XF86ModuleVersionInfo VersRec = { 8 | "shadowfb", 9 | MODULEVENDORSTRING, 10 | MODINFOSTRING1, 11 | MODINFOSTRING2, 12 | XORG_VERSION_CURRENT, 13 | 1, 0, 0, 14 | ABI_CLASS_ANSIC, /* Only need the ansic layer */ 15 | ABI_ANSIC_VERSION, 16 | MOD_CLASS_NONE, 17 | {0, 0, 0, 0} /* signature, to be patched into the file by a tool */ 18 | }; 19 | 20 | _X_EXPORT XF86ModuleData shadowfbModuleData = { &VersRec, NULL, NULL }; 21 | -------------------------------------------------------------------------------- /present/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-present 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_STATIC_LIBRARIES := 8 | LOCAL_SRC_FILES := \ 9 | present_screen.c \ 10 | present_request.c \ 11 | present_vblank.c \ 12 | present_event.c \ 13 | present.c \ 14 | present_wnmd.c \ 15 | present_fake.c \ 16 | present_scmd.c \ 17 | present_execute.c \ 18 | present_notify.c \ 19 | present_fence.c 20 | 21 | 22 | include $(BUILD_STATIC_LIBRARY) 23 | -------------------------------------------------------------------------------- /render/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-render 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_STATIC_LIBRARIES := libXfont 8 | LOCAL_SHARED_LIBRARIES := libpixman_full 9 | LOCAL_SRC_FILES := \ 10 | animcur.c \ 11 | filter.c \ 12 | glyph.c \ 13 | matrix.c \ 14 | miindex.c \ 15 | mipict.c \ 16 | mirect.c \ 17 | mitrap.c \ 18 | mitri.c \ 19 | picture.c \ 20 | render.c \ 21 | 22 | include $(BUILD_STATIC_LIBRARY) 23 | -------------------------------------------------------------------------------- /hw/xfree86/common/xf86Build.sh: -------------------------------------------------------------------------------- 1 | DATE_FMT="%Y%m%d" 2 | TIME_FMT="1%H%M%S" 3 | 4 | BUILD_DATE="`date "+$DATE_FMT"`" 5 | BUILD_TIME="`date "+$TIME_FMT"`" 6 | if test "x$SOURCE_DATE_EPOCH" != "x"; then 7 | BUILD_DATE="`date -u -d "@$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || date -u "+$DATE_FMT"`" 8 | BUILD_TIME="`date -u -d "@$SOURCE_DATE_EPOCH" "+$TIME_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+$TIME_FMT" 2>/dev/null || date -u "+$TIME_FMT"`" 9 | fi 10 | 11 | output=$1 12 | echo "#define BUILD_DATE $BUILD_DATE" > $output 13 | echo "#define BUILD_TIME $BUILD_TIME" >> $output 14 | -------------------------------------------------------------------------------- /randr/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = librandr.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | XINERAMA_SRCS = rrxinerama.c 6 | 7 | if XORG 8 | sdk_HEADERS = randrstr.h rrtransform.h 9 | endif 10 | 11 | librandr_la_SOURCES = \ 12 | randr.c \ 13 | randrstr.h \ 14 | rrcrtc.c \ 15 | rrdispatch.c \ 16 | rrinfo.c \ 17 | rrlease.c \ 18 | rrmode.c \ 19 | rrmonitor.c \ 20 | rroutput.c \ 21 | rrpointer.c \ 22 | rrproperty.c \ 23 | rrprovider.c \ 24 | rrproviderproperty.c \ 25 | rrscreen.c \ 26 | rrsdispatch.c \ 27 | rrtransform.h \ 28 | rrtransform.c 29 | 30 | if XINERAMA 31 | librandr_la_SOURCES += ${XINERAMA_SRCS} 32 | endif 33 | 34 | -------------------------------------------------------------------------------- /hw/vfb/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = man 2 | 3 | bin_PROGRAMS = Xvfb 4 | 5 | AM_CFLAGS = -DHAVE_DIX_CONFIG_H \ 6 | $(XVFBMODULES_CFLAGS) \ 7 | $(DIX_CFLAGS) 8 | 9 | SRCS = InitInput.c \ 10 | InitOutput.c \ 11 | $(top_srcdir)/mi/miinitext.c 12 | 13 | Xvfb_SOURCES = $(SRCS) 14 | 15 | XVFB_LIBS = \ 16 | @XVFB_LIBS@ \ 17 | $(MAIN_LIB) \ 18 | $(XSERVER_LIBS) \ 19 | $(top_builddir)/Xi/libXistubs.la 20 | 21 | Xvfb_LDADD = $(XVFB_LIBS) $(XVFB_SYS_LIBS) $(XSERVER_SYS_LIBS) 22 | Xvfb_DEPENDENCIES = $(XVFB_LIBS) 23 | Xvfb_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 24 | 25 | relink: 26 | $(AM_V_at)rm -f Xvfb$(EXEEXT) && $(MAKE) Xvfb$(EXEEXT) 27 | -------------------------------------------------------------------------------- /hw/vfb/meson.build: -------------------------------------------------------------------------------- 1 | srcs = [ 2 | 'InitInput.c', 3 | 'InitOutput.c', 4 | '../../mi/miinitext.c', 5 | ] 6 | 7 | xvfb_server = executable( 8 | 'Xvfb', 9 | srcs, 10 | include_directories: inc, 11 | dependencies: common_dep, 12 | link_with: [ 13 | libxserver_main, 14 | libxserver_fb, 15 | libxserver, 16 | libxserver_xkb_stubs, 17 | libxserver_xi_stubs, 18 | libxserver_glx, 19 | libglxvnd, 20 | ], 21 | install: true, 22 | ) 23 | 24 | install_man(configure_file( 25 | input: 'man/Xvfb.man', 26 | output: 'Xvfb.1', 27 | configuration: manpage_config, 28 | )) 29 | -------------------------------------------------------------------------------- /include/xwin-config.h.meson.in: -------------------------------------------------------------------------------- 1 | /* 2 | * xwin-config.h.in 3 | * 4 | * This file has all defines used in the xwin ddx 5 | * 6 | */ 7 | #include 8 | 9 | /* Winsock networking */ 10 | #mesondefine HAS_WINSOCK 11 | 12 | /* Cygwin has /dev/windows for signaling new win32 messages */ 13 | #mesondefine HAS_DEVWINDOWS 14 | 15 | /* Switch on debug messages */ 16 | #mesondefine CYGDEBUG 17 | #mesondefine CYGWINDOWING_DEBUG 18 | #mesondefine CYGMULTIWINDOW_DEBUG 19 | 20 | /* Default log location */ 21 | #mesondefine DEFAULT_LOGDIR 22 | 23 | /* Whether we should re-locate the root to where the executable lives */ 24 | #mesondefine RELOCATE_PROJECTROOT 25 | -------------------------------------------------------------------------------- /hw/dmx/glxProxy/meson.build: -------------------------------------------------------------------------------- 1 | srcs_dmx_glx = [ 2 | 'compsize.c', 3 | 'g_disptab.c', 4 | 'global.c', 5 | 'glxcmds.c', 6 | 'glxcmdsswap.c', 7 | 'glxext.c', 8 | 'glxfbconfig.c', 9 | 'glxscreens.c', 10 | 'glxsingle.c', 11 | 'glxswap.c', 12 | 'glxvendor.c', 13 | 'glxvisuals.c', 14 | 'g_renderswap.c', 15 | 'render2swap.c', 16 | 'renderpixswap.c', 17 | ] 18 | 19 | dmx_glx = static_library('dmx_glx', 20 | srcs_dmx_glx, 21 | include_directories: [ 22 | inc, 23 | include_directories('../') 24 | ], 25 | dependencies: common_dep, 26 | c_args: ['-DHAVE_DMX_CONFIG_H', glx_align64], 27 | ) 28 | -------------------------------------------------------------------------------- /hw/xquartz/pbproxy/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS=-DBUNDLE_ID_PREFIX=\"$(BUNDLE_ID_PREFIX)\" 2 | 3 | AM_CFLAGS=$(XPBPROXY_CFLAGS) 4 | AM_OBJCFLAGS=$(XPBPROXY_CFLAGS) 5 | 6 | noinst_LTLIBRARIES = libxpbproxy.la 7 | libxpbproxy_la_SOURCES = \ 8 | trick_autotools.c \ 9 | main.m \ 10 | x-input.m \ 11 | x-selection.m 12 | 13 | libxpbproxy_la_LDFLAGS=$(XPBPROXY_LIBS) 14 | 15 | if STANDALONE_XPBPROXY 16 | 17 | bin_PROGRAMS = xpbproxy 18 | xpbproxy_SOURCES = app-main.m 19 | xpbproxy_LDADD = libxpbproxy.la 20 | xpbproxy_LDFLAGS = -Wl,-framework,Cocoa 21 | 22 | AM_CPPFLAGS += -DSTANDALONE_XPBPROXY 23 | 24 | endif 25 | 26 | EXTRA_DIST = \ 27 | pbproxy.h \ 28 | x-selection.h 29 | -------------------------------------------------------------------------------- /hw/kdrive/src/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = \ 2 | @KDRIVE_INCS@ \ 3 | @KDRIVE_CFLAGS@ 4 | 5 | AM_CFLAGS = -DHAVE_DIX_CONFIG_H 6 | 7 | noinst_LTLIBRARIES = libkdrive.la 8 | 9 | if XV 10 | KDRIVE_XV_SOURCES = \ 11 | kxv.c \ 12 | kxv.h 13 | endif 14 | 15 | libkdrive_la_SOURCES = \ 16 | fourcc.h \ 17 | kcmap.c \ 18 | kdrive.c \ 19 | kdrive.h \ 20 | kinfo.c \ 21 | kinput.c \ 22 | kshadow.c \ 23 | $(KDRIVE_XV_SOURCES) \ 24 | $(top_srcdir)/mi/miinitext.c 25 | 26 | if CONFIG_UDEV 27 | libkdrive_la_LIBADD = $(top_builddir)/config/libconfig.la 28 | else 29 | if CONFIG_HAL 30 | libkdrive_la_LIBADD = $(top_builddir)/config/libconfig.la 31 | endif 32 | endif 33 | -------------------------------------------------------------------------------- /hw/xwin/winclipboard/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libXWinclipboard.la 2 | 3 | libXWinclipboard_la_SOURCES = \ 4 | winclipboard.h \ 5 | textconv.c \ 6 | thread.c \ 7 | wndproc.c \ 8 | xevents.c 9 | 10 | libXWinclipboard_la_CFLAGS = -DHAVE_XWIN_CONFIG_H \ 11 | $(DIX_CFLAGS) \ 12 | $(XWINMODULES_CFLAGS) 13 | 14 | libXWinclipboard_la_LDFLAGS = -static -no-undefined 15 | 16 | bin_PROGRAMS = xwinclip 17 | 18 | xwinclip_SOURCES = xwinclip.c debug.c 19 | 20 | xwinclip_CFLAGS = $(XWINMODULES_CFLAGS) 21 | 22 | xwinclip_LDADD = libXWinclipboard.la $(XWINMODULES_LIBS) -lgdi32 -lpthread 23 | 24 | include $(top_srcdir)/manpages.am 25 | appman_PRE = xwinclip.man 26 | -------------------------------------------------------------------------------- /hw/xfree86/modes/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_modes = [ 2 | 'xf86Crtc.c', 3 | 'xf86Cursors.c', 4 | 'xf86cvt.c', 5 | 'xf86gtf.c', 6 | 'xf86EdidModes.c', 7 | 'xf86Modes.c', 8 | 'xf86RandR12.c', 9 | 'xf86Rotate.c', 10 | ] 11 | 12 | if build_dga 13 | srcs_xorg_modes += 'xf86DiDGA.c' 14 | endif 15 | 16 | xorg_modes = static_library('xorg_modes', 17 | srcs_xorg_modes, 18 | include_directories: [inc, xorg_inc], 19 | dependencies: common_dep, 20 | c_args: xorg_c_args, 21 | ) 22 | 23 | install_data( 24 | [ 25 | 'xf86Crtc.h', 26 | 'xf86Modes.h', 27 | 'xf86RandR12.h', 28 | ], 29 | install_dir: xorgsdkdir, 30 | ) 31 | -------------------------------------------------------------------------------- /hw/xquartz/xpr/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libXquartzXpr.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | AM_CPPFLAGS = \ 5 | -I$(srcdir) -I$(srcdir)/.. \ 6 | -I$(top_builddir)/pseudoramiX \ 7 | -I$(top_srcdir)/miext \ 8 | -I$(top_srcdir)/miext/rootless 9 | 10 | libXquartzXpr_la_SOURCES = \ 11 | appledri.c \ 12 | dri.c \ 13 | driWrap.c \ 14 | xprAppleWM.c \ 15 | xprCursor.c \ 16 | xprEvent.c \ 17 | xprFrame.c \ 18 | xprScreen.c \ 19 | x-hash.c \ 20 | x-hook.c \ 21 | x-list.c 22 | 23 | EXTRA_DIST = \ 24 | dri.h \ 25 | driWrap.h \ 26 | dristruct.h \ 27 | appledri.h \ 28 | appledristr.h \ 29 | x-hash.h \ 30 | x-hook.h \ 31 | x-list.h \ 32 | xpr.h \ 33 | xprEvent.h 34 | -------------------------------------------------------------------------------- /include/kdrive-config.h: -------------------------------------------------------------------------------- 1 | #ifndef _KDRIVE_CONFIG_H_ 2 | #define _KDRIVE_CONFIG_H_ 3 | 4 | #include 5 | #include 6 | 7 | /* Building kdrive server. */ 8 | #define KDRIVESERVER 1 9 | 10 | /* Include framebuffer support in X servers */ 11 | #undef KDRIVEFBDEV 12 | 13 | /* Support tslib touchscreen abstraction library */ 14 | #undef TSLIB 15 | 16 | /* Support KDrive evdev driver */ 17 | #undef KDRIVE_EVDEV 18 | 19 | /* Verbose debugging output hilarity */ 20 | #undef DEBUG 21 | 22 | /* Have the backtrace() function. */ 23 | #undef HAVE_BACKTRACE 24 | 25 | /* Have execinfo.h for backtrace(). */ 26 | #undef HAVE_EXECINFO_H 27 | 28 | #endif /* _KDRIVE_CONFIG_H_ */ 29 | -------------------------------------------------------------------------------- /xkb/README.compiled: -------------------------------------------------------------------------------- 1 | 2 | The X server uses this directory to store the compiled version of the 3 | current keymap and/or any scratch keymaps used by clients. The X server 4 | or some other tool might destroy or replace the files in this directory, 5 | so it is not a safe place to store compiled keymaps for long periods of 6 | time. The default keymap for any server is usually stored in: 7 | X-default.xkm 8 | where is the display number of the server in question, which makes 9 | it possible for several servers *on the same host* to share the same 10 | directory. 11 | 12 | Unless the X server is modified, sharing this directory between servers on 13 | different hosts could cause problems. 14 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = bus @XORG_OS_SUBDIR@ misc $(DRI_SUBDIRS) 2 | DIST_SUBDIRS = bsd bus misc linux solaris stub hurd 3 | 4 | sdk_HEADERS = xf86_OSproc.h xf86_OSlib.h 5 | 6 | EXTRA_DIST = int10Defines.h xf86OSpriv.h 7 | 8 | # to get the grouping semantics right, you have to glom these three together 9 | # as one library, otherwise libtool will actively defeat your attempts to 10 | # list them multiple times on the link line. 11 | noinst_LTLIBRARIES = libxorgos.la 12 | libxorgos_la_SOURCES = 13 | libxorgos_la_LIBADD = @XORG_OS_SUBDIR@/lib@XORG_OS_SUBDIR@.la \ 14 | bus/libbus.la \ 15 | misc/libmisc.la 16 | 17 | AM_CFLAGS = $(DIX_CFLAGS) 18 | 19 | -------------------------------------------------------------------------------- /hw/xnest/Init.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTINIT_H 16 | #define XNESTINIT_H 17 | 18 | extern Bool xnestDoFullGeneration; 19 | 20 | #endif /* XNESTINIT_H */ 21 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Xquartz.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | apps_menu 9 | 10 | 11 | Terminal 12 | xterm 13 | n 14 | 15 | 16 | xman 17 | xman 18 | 19 | 20 | 21 | xlogo 22 | xlogo 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /randr/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libXServer-randr 6 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_SHARED_LIBRARIES := libpixman_full 9 | LOCAL_SRC_FILES := \ 10 | randr.c \ 11 | rrcrtc.c \ 12 | rrdispatch.c \ 13 | rrinfo.c \ 14 | rrmode.c \ 15 | rrmonitor.c \ 16 | rrlease.c \ 17 | rroutput.c \ 18 | rrpointer.c \ 19 | rrproperty.c \ 20 | rrprovider.c \ 21 | rrscreen.c \ 22 | rrsdispatch.c \ 23 | rrtransform.c \ 24 | rrproviderproperty.c \ 25 | rrxinerama.c 26 | 27 | include $(BUILD_STATIC_LIBRARY) 28 | -------------------------------------------------------------------------------- /hw/xfree86/dri/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdri.la 2 | AM_CFLAGS = -I$(top_srcdir)/hw/xfree86/common \ 3 | -I$(top_srcdir)/hw/xfree86/os-support \ 4 | -I$(top_srcdir)/hw/xfree86/modes \ 5 | -I$(top_srcdir)/hw/xfree86/ddc \ 6 | -I$(top_srcdir)/hw/xfree86/i2c \ 7 | -I$(top_srcdir)/hw/xfree86/parser \ 8 | -I$(top_srcdir)/hw/xfree86/ramdac \ 9 | -I$(top_srcdir)/hw/xfree86/os-support/bus \ 10 | -I$(top_srcdir)/glx \ 11 | -DHAVE_XORG_CONFIG_H \ 12 | @DIX_CFLAGS@ @XORG_CFLAGS@ 13 | libdri_la_SOURCES = \ 14 | dri.c \ 15 | dri.h \ 16 | dristruct.h \ 17 | sarea.h \ 18 | xf86dri.c 19 | 20 | sdk_HEADERS = dri.h sarea.h dristruct.h 21 | -------------------------------------------------------------------------------- /include/xkb-config.h.in: -------------------------------------------------------------------------------- 1 | /* xkb-config.h.in: not at all generated. -*- c -*- 2 | * 3 | */ 4 | 5 | #ifndef _XKB_CONFIG_H_ 6 | #define _XKB_CONFIG_H_ 7 | 8 | /* Default set of XKB rules. */ 9 | #undef XKB_DFLT_RULES 10 | 11 | /* Default XKB model. */ 12 | #undef XKB_DFLT_MODEL 13 | 14 | /* Default XKB layout. */ 15 | #undef XKB_DFLT_LAYOUT 16 | 17 | /* Default XKB variant. */ 18 | #undef XKB_DFLT_VARIANT 19 | 20 | /* Default XKB options. */ 21 | #undef XKB_DFLT_OPTIONS 22 | 23 | /* Path to XKB definitions. */ 24 | #undef XKB_BASE_DIRECTORY 25 | 26 | /* Path to xkbcomp. */ 27 | #undef XKB_BIN_DIRECTORY 28 | 29 | /* XKB output dir for compiled keymaps. */ 30 | #undef XKM_OUTPUT_DIR 31 | 32 | #endif /* _XKB_CONFIG_H_ */ 33 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/TIPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "TI.h" 7 | 8 | typedef struct { 9 | const char *DeviceName; 10 | } xf86TIramdacInfo; 11 | 12 | extern xf86TIramdacInfo TIramdacDeviceInfo[]; 13 | 14 | #ifdef INIT_TI_RAMDAC_INFO 15 | xf86TIramdacInfo TIramdacDeviceInfo[] = { 16 | {"TI TVP3030"}, 17 | {"TI TVP3026"} 18 | }; 19 | #endif 20 | 21 | #define TISAVE(_reg) do { \ 22 | ramdacReg->DacRegs[_reg] = (*ramdacPtr->ReadDAC)(pScrn, _reg); \ 23 | } while (0) 24 | 25 | #define TIRESTORE(_reg) do { \ 26 | (*ramdacPtr->WriteDAC)(pScrn, _reg, \ 27 | (ramdacReg->DacRegs[_reg] & 0xFF00) >> 8, \ 28 | ramdacReg->DacRegs[_reg]); \ 29 | } while (0) 30 | -------------------------------------------------------------------------------- /test/meson.build: -------------------------------------------------------------------------------- 1 | simple_xinit = executable( 2 | 'simple-xinit', 3 | 'simple-xinit.c', 4 | include_directories: inc, 5 | ) 6 | 7 | piglit_env = environment() 8 | piglit_env.set('XSERVER_DIR', meson.source_root()) 9 | piglit_env.set('XSERVER_BUILDDIR', meson.build_root()) 10 | 11 | if get_option('xvfb') 12 | test('xvfb-piglit', find_program('scripts/xvfb-piglit.sh'), 13 | env: piglit_env, 14 | timeout: 1200, 15 | ) 16 | 17 | if get_option('xephyr') and build_glamor 18 | test('xephyr-glamor', 19 | find_program('scripts/xephyr-glamor-piglit.sh'), 20 | env: piglit_env, 21 | timeout: 1200, 22 | ) 23 | endif 24 | endif 25 | 26 | subdir('bigreq') 27 | subdir('sync') 28 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/i915_pci_ids.h: -------------------------------------------------------------------------------- 1 | CHIPSET(0x3577, I830_M, "Intel(R) 830M") 2 | CHIPSET(0x2562, 845_G, "Intel(R) 845G") 3 | CHIPSET(0x3582, I855_GM, "Intel(R) 852GM/855GM") 4 | CHIPSET(0x2572, I865_G, "Intel(R) 865G") 5 | CHIPSET(0x2582, I915_G, "Intel(R) 915G") 6 | CHIPSET(0x258A, E7221_G, "Intel(R) E7221G (i915)") 7 | CHIPSET(0x2592, I915_GM, "Intel(R) 915GM") 8 | CHIPSET(0x2772, I945_G, "Intel(R) 945G") 9 | CHIPSET(0x27A2, I945_GM, "Intel(R) 945GM") 10 | CHIPSET(0x27AE, I945_GME, "Intel(R) 945GME") 11 | CHIPSET(0x29B2, Q35_G, "Intel(R) Q35") 12 | CHIPSET(0x29C2, G33_G, "Intel(R) G33") 13 | CHIPSET(0x29D2, Q33_G, "Intel(R) Q33") 14 | CHIPSET(0xA011, PNV_GM, "Intel(R) Pineview M") 15 | CHIPSET(0xA001, PNV_G, "Intel(R) Pineview") 16 | -------------------------------------------------------------------------------- /randr/meson.build: -------------------------------------------------------------------------------- 1 | srcs_randr = [ 2 | 'randr.c', 3 | 'rrcrtc.c', 4 | 'rrdispatch.c', 5 | 'rrinfo.c', 6 | 'rrlease.c', 7 | 'rrmode.c', 8 | 'rrmonitor.c', 9 | 'rroutput.c', 10 | 'rrpointer.c', 11 | 'rrproperty.c', 12 | 'rrprovider.c', 13 | 'rrproviderproperty.c', 14 | 'rrscreen.c', 15 | 'rrsdispatch.c', 16 | 'rrtransform.c', 17 | ] 18 | 19 | hdrs_randr = [ 20 | 'randrstr.h', 21 | 'rrtransform.h', 22 | ] 23 | 24 | if build_xinerama 25 | srcs_randr += 'rrxinerama.c' 26 | endif 27 | 28 | libxserver_randr = static_library('libxserver_randr', 29 | srcs_randr, 30 | include_directories: inc, 31 | dependencies: common_dep, 32 | ) 33 | 34 | install_data(hdrs_randr, install_dir: xorgsdkdir) 35 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/bsd/bsd_kmod.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | #include "xf86_OSproc.h" 12 | 13 | /* 14 | * Load a FreeBSD kernel module. 15 | * This is used by the DRI/DRM to load a DRM kernel module when 16 | * the X server starts. It could be used for other purposes in the future. 17 | * Input: 18 | * modName - name of the kernel module (Ex: "tdfx") 19 | * Return: 20 | * 0 for failure, 1 for success 21 | */ 22 | int 23 | xf86LoadKernelModule(const char *modName) 24 | { 25 | if (kldload(modName) != -1) 26 | return 1; 27 | else 28 | return 0; 29 | } 30 | -------------------------------------------------------------------------------- /present/meson.build: -------------------------------------------------------------------------------- 1 | srcs_present = [ 2 | 'present.c', 3 | 'present_event.c', 4 | 'present_execute.c', 5 | 'present_fake.c', 6 | 'present_fence.c', 7 | 'present_notify.c', 8 | 'present_request.c', 9 | 'present_scmd.c', 10 | 'present_screen.c', 11 | 'present_vblank.c', 12 | 'present_wnmd.c', 13 | ] 14 | 15 | hdrs_present = [ 16 | 'present.h', 17 | 'presentext.h', 18 | ] 19 | 20 | libxserver_present = static_library('libxserver_present', 21 | srcs_present, 22 | include_directories: inc, 23 | dependencies: [ 24 | common_dep, 25 | dependency('presentproto', version: '>= 1.1') 26 | ], 27 | c_args: '-DHAVE_XORG_CONFIG_H' 28 | ) 29 | 30 | install_data(hdrs_present, install_dir: xorgsdkdir) 31 | -------------------------------------------------------------------------------- /hw/dmx/input/meson.build: -------------------------------------------------------------------------------- 1 | srcs_dmx_input = [ 2 | 'dmxdummy.c', 3 | 'dmxbackend.c', 4 | 'dmxconsole.c', 5 | 'dmxcommon.c', 6 | 'dmxinputinit.c', 7 | 'dmxarg.c', 8 | 'dmxevents.c', 9 | 'dmxxinput.c', 10 | 'dmxmotion.c', 11 | 'dmxmap.c', 12 | 'ChkNotMaskEv.c', 13 | ] 14 | 15 | if cc.has_header('linux/input.h') 16 | srcs_dmx_input += [ 17 | 'usb-keyboard.c', 18 | 'usb-mouse.c', 19 | 'usb-other.c', 20 | 'usb-common.c', 21 | ] 22 | endif 23 | 24 | dmx_input = static_library('dmx_input', 25 | srcs_dmx_input, 26 | include_directories: [ 27 | inc, 28 | include_directories('../') 29 | ], 30 | dependencies: common_dep, 31 | c_args: '-DHAVE_DMX_CONFIG_H', 32 | ) 33 | -------------------------------------------------------------------------------- /doc/filter-xmlto.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Run the xmlto command, filtering its output to 4 | # reduce the amount of useless warnings in the build log. 5 | # 6 | # Exit with the status of the xmlto process, not the status of the 7 | # output filtering commands 8 | # 9 | # This is a bit twisty, but avoids any temp files by using pipes for 10 | # everything. It routes the command output through file 11 | # descriptor 4 while sending the (numeric) exit status through 12 | # standard output. 13 | # 14 | (((("$@" 2>&1; echo $? >&3) | 15 | grep -v overflows | 16 | grep -v 'Making' | 17 | grep -v 'hyphenation' | 18 | grep -v 'Font.*not found' | 19 | grep -v '/tmp/xml' | 20 | grep -v Rendered >&4) 3>&1) | 21 | (read status; exit $status)) 4>&1 22 | -------------------------------------------------------------------------------- /hw/xfree86/parser/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxf86config.la 2 | 3 | INTERNAL_SOURCES= \ 4 | Device.c \ 5 | Files.c \ 6 | Flags.c \ 7 | Input.c \ 8 | InputClass.c \ 9 | OutputClass.c \ 10 | Layout.c \ 11 | Module.c \ 12 | Video.c \ 13 | Monitor.c \ 14 | Pointer.c \ 15 | Screen.c \ 16 | Vendor.c \ 17 | read.c \ 18 | scan.c \ 19 | write.c \ 20 | DRI.c \ 21 | Extensions.c 22 | 23 | libxf86config_la_SOURCES = \ 24 | $(INTERNAL_SOURCES) 25 | 26 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \ 27 | -DDATADIR=\"$(datadir)\" 28 | 29 | EXTRA_DIST = \ 30 | Configint.h \ 31 | configProcs.h \ 32 | xf86Optrec.h \ 33 | xf86Parser.h \ 34 | xf86tokens.h 35 | 36 | sdk_HEADERS = \ 37 | xf86Parser.h \ 38 | xf86Optrec.h 39 | 40 | AM_CPPFLAGS = -I$(srcdir)/../common 41 | -------------------------------------------------------------------------------- /miext/shadow/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libshadow.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = shadow.h 7 | endif 8 | 9 | libshadow_la_SOURCES = \ 10 | c2p_core.h \ 11 | shadow.c \ 12 | shadow.h \ 13 | sh3224.c \ 14 | shafb4.c \ 15 | shafb8.c \ 16 | shiplan2p4.c \ 17 | shiplan2p8.c \ 18 | shpacked.c \ 19 | shplanar8.c \ 20 | shplanar.c \ 21 | shrot16pack_180.c \ 22 | shrot16pack_270.c \ 23 | shrot16pack_270YX.c \ 24 | shrot16pack_90.c \ 25 | shrot16pack_90YX.c \ 26 | shrot16pack.c \ 27 | shrot32pack_180.c \ 28 | shrot32pack_270.c \ 29 | shrot32pack_90.c \ 30 | shrot32pack.c \ 31 | shrot8pack_180.c \ 32 | shrot8pack_270.c \ 33 | shrot8pack_90.c \ 34 | shrot8pack.c \ 35 | shrotate.c \ 36 | shrotpack.h \ 37 | shrotpackYX.h 38 | -------------------------------------------------------------------------------- /hw/xnest/Handlers.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTHANDLERS_H 16 | #define XNESTHANDLERS_H 17 | 18 | void xnestBlockHandler(void *blockData, void *timeout); 19 | void xnestWakeupHandler(void *blockData, int result); 20 | 21 | #endif /* XNESTHANDLERS_H */ 22 | -------------------------------------------------------------------------------- /config/meson.build: -------------------------------------------------------------------------------- 1 | srcs_config = [ 2 | 'config.c', 3 | ] 4 | 5 | config_dep = [common_dep] 6 | 7 | if build_dbus 8 | srcs_config += 'dbus-core.c' 9 | config_dep += dbus_dep 10 | endif 11 | 12 | if build_hal 13 | srcs_config += 'hal.c' 14 | config_dep += hal_dep 15 | endif 16 | 17 | if build_udev 18 | srcs_config += 'udev.c' 19 | config_dep += udev_dep 20 | endif 21 | 22 | if host_machine.system() == 'openbsd' 23 | srcs_config += 'wscons.c' 24 | endif 25 | 26 | if build_xorg 27 | install_data('10-quirks.conf', 28 | install_dir: join_paths(get_option('datadir'), 'X11/xorg.conf.d')) 29 | endif 30 | 31 | libxserver_config = static_library('libxserver_config', 32 | srcs_config, 33 | include_directories: inc, 34 | dependencies: config_dep, 35 | ) 36 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/radeon_pci_ids.h: -------------------------------------------------------------------------------- 1 | CHIPSET(0x4C57, RADEON_LW, RV200) 2 | CHIPSET(0x4C58, RADEON_LX, RV200) 3 | CHIPSET(0x4C59, RADEON_LY, RV100) 4 | CHIPSET(0x4C5A, RADEON_LZ, RV100) 5 | CHIPSET(0x5144, RADEON_QD, R100) 6 | CHIPSET(0x5145, RADEON_QE, R100) 7 | CHIPSET(0x5146, RADEON_QF, R100) 8 | CHIPSET(0x5147, RADEON_QG, R100) 9 | CHIPSET(0x5159, RADEON_QY, RV100) 10 | CHIPSET(0x515A, RADEON_QZ, RV100) 11 | 12 | CHIPSET(0x5157, RV200_QW, RV200) 13 | CHIPSET(0x5158, RV200_QX, RV200) 14 | 15 | CHIPSET(0x515E, RN50_515E, UNKNOWN) 16 | CHIPSET(0x5969, RN50_5969, UNKNOWN) 17 | 18 | CHIPSET(0x4136, RS100_4136, RS100) 19 | CHIPSET(0x4336, RS100_4336, RS100) 20 | CHIPSET(0x4137, RS200_4137, RS200) 21 | CHIPSET(0x4337, RS200_4337, RS200) 22 | CHIPSET(0x4237, RS250_4237, RS200) 23 | CHIPSET(0x4437, RS250_4437, RS200) 24 | -------------------------------------------------------------------------------- /hw/xfree86/parser/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xorg_parser = [ 2 | 'Device.c', 3 | 'Files.c', 4 | 'Flags.c', 5 | 'Input.c', 6 | 'InputClass.c', 7 | 'OutputClass.c', 8 | 'Layout.c', 9 | 'Module.c', 10 | 'Video.c', 11 | 'Monitor.c', 12 | 'Pointer.c', 13 | 'Screen.c', 14 | 'Vendor.c', 15 | 'read.c', 16 | 'scan.c', 17 | 'write.c', 18 | 'DRI.c', 19 | 'Extensions.c', 20 | ] 21 | 22 | xorg_parser = static_library('xorg_parser', 23 | srcs_xorg_parser, 24 | include_directories: [inc, xorg_inc], 25 | dependencies: common_dep, 26 | c_args: [ 27 | xorg_c_args, 28 | '-DDATADIR="' + join_paths(get_option('prefix'), get_option('datadir')) + '"', 29 | ], 30 | ) 31 | 32 | install_data(['xf86Parser.h', 'xf86Optrec.h'], install_dir: xorgsdkdir) 33 | -------------------------------------------------------------------------------- /test/scripts/xephyr-glamor-piglit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # this times out on Travis, because the tests take too long. 4 | if test "x$TRAVIS_BUILD_DIR" != "x"; then 5 | exit 77 6 | fi 7 | 8 | # Start a Xephyr server using glamor. Since the test environment is 9 | # headless, we start an Xvfb first to host the Xephyr. 10 | export PIGLIT_RESULTS_DIR=$XSERVER_BUILDDIR/test/piglit-results/xephyr-glamor 11 | 12 | export SERVER_COMMAND="$XSERVER_BUILDDIR/hw/kdrive/ephyr/Xephyr \ 13 | -glamor \ 14 | -glamor-skip-present \ 15 | -noreset \ 16 | -schedMax 2000 \ 17 | -screen 1280x1024" 18 | 19 | $XSERVER_BUILDDIR/test/simple-xinit \ 20 | $XSERVER_DIR/test/scripts/run-piglit.sh \ 21 | -- \ 22 | $XSERVER_BUILDDIR/hw/vfb/Xvfb \ 23 | -screen scrn 1280x1024x24 24 | -------------------------------------------------------------------------------- /hw/xfree86/modes/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxf86modes.la 2 | 3 | if DGA 4 | DGA_SRCS = xf86DiDGA.c 5 | endif 6 | 7 | libxf86modes_la_SOURCES = \ 8 | xf86Crtc.c \ 9 | xf86Crtc.h \ 10 | xf86Cursors.c \ 11 | xf86cvt.c \ 12 | xf86gtf.c \ 13 | xf86EdidModes.c \ 14 | xf86Modes.c \ 15 | xf86Modes.h \ 16 | xf86RandR12.c \ 17 | xf86RandR12.h \ 18 | xf86Rotate.c \ 19 | $(DGA_SRCS) 20 | 21 | AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \ 22 | -I$(srcdir)/../loader -I$(srcdir)/../rac -I$(srcdir)/../parser \ 23 | -I$(srcdir)/../vbe -I$(srcdir)/../int10 \ 24 | -I$(srcdir)/../vgahw -I$(srcdir)/../ramdac \ 25 | -I$(srcdir)/../dixmods/extmod 26 | 27 | sdk_HEADERS = \ 28 | xf86Crtc.h \ 29 | xf86Modes.h \ 30 | xf86RandR12.h 31 | 32 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 33 | -------------------------------------------------------------------------------- /test/tests-common.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | #include "tests-common.h" 8 | 9 | void 10 | run_test_in_child(int (*func)(void), const char *funcname) 11 | { 12 | int cpid; 13 | int csts; 14 | int exit_code = -1; 15 | 16 | printf("\n---------------------\n%s...\n", funcname); 17 | cpid = fork(); 18 | if (cpid) { 19 | waitpid(cpid, &csts, 0); 20 | if (!WIFEXITED(csts)) 21 | goto child_failed; 22 | exit_code = WEXITSTATUS(csts); 23 | if (exit_code == 0) 24 | printf(" Pass\n"); 25 | else { 26 | child_failed: 27 | printf(" FAIL\n"); 28 | exit(exit_code); 29 | } 30 | } else { 31 | exit(func()); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /include/xwin-config.h.in: -------------------------------------------------------------------------------- 1 | /* 2 | * xwin-config.h.in 3 | * 4 | * This file has all defines used in the xwin ddx 5 | * 6 | */ 7 | #include 8 | 9 | /* Winsock networking */ 10 | #undef HAS_WINSOCK 11 | 12 | /* Cygwin has /dev/windows for signaling new win32 messages */ 13 | #undef HAS_DEVWINDOWS 14 | 15 | /* Switch on debug messages */ 16 | #undef CYGDEBUG 17 | #undef CYGWINDOWING_DEBUG 18 | #undef CYGMULTIWINDOW_DEBUG 19 | 20 | /* Define to 1 if unsigned long is 64 bits. */ 21 | #undef _XSERVER64 22 | 23 | /* Short vendor name */ 24 | #undef XVENDORNAMESHORT 25 | 26 | /* Vendor web address for support */ 27 | #undef __VENDORDWEBSUPPORT__ 28 | 29 | /* Default log location */ 30 | #undef DEFAULT_LOGDIR 31 | 32 | /* Whether we should re-locate the root to where the executable lives */ 33 | #undef RELOCATE_PROJECTROOT 34 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/pci_ids/r200_pci_ids.h: -------------------------------------------------------------------------------- 1 | CHIPSET(0x5148, R200_QH, R200) 2 | CHIPSET(0x514C, R200_QL, R200) 3 | CHIPSET(0x514D, R200_QM, R200) 4 | CHIPSET(0x4242, R200_BB, R200) 5 | 6 | CHIPSET(0x4966, RV250_If, RV250) 7 | CHIPSET(0x4967, RV250_Ig, RV250) 8 | CHIPSET(0x4C64, RV250_Ld, RV250) 9 | CHIPSET(0x4C66, RV250_Lf, RV250) 10 | CHIPSET(0x4C67, RV250_Lg, RV250) 11 | 12 | CHIPSET(0x4C6E, RV280_4C6E, RV280) 13 | CHIPSET(0x5960, RV280_5960, RV280) 14 | CHIPSET(0x5961, RV280_5961, RV280) 15 | CHIPSET(0x5962, RV280_5962, RV280) 16 | CHIPSET(0x5964, RV280_5964, RV280) 17 | CHIPSET(0x5965, RV280_5965, RV280) 18 | CHIPSET(0x5C61, RV280_5C61, RV280) 19 | CHIPSET(0x5C63, RV280_5C63, RV280) 20 | 21 | CHIPSET(0x5834, RS300_5834, RS300) 22 | CHIPSET(0x5835, RS300_5835, RS300) 23 | CHIPSET(0x7834, RS350_7834, RS300) 24 | CHIPSET(0x7835, RS350_7835, RS300) 25 | -------------------------------------------------------------------------------- /hw/Makefile.am: -------------------------------------------------------------------------------- 1 | if DMX 2 | DMX_SUBDIRS = dmx 3 | endif 4 | 5 | if XORG 6 | XORG_SUBDIRS = xfree86 7 | endif 8 | 9 | if XVFB 10 | XVFB_SUBDIRS = vfb 11 | endif 12 | 13 | if XNEST 14 | XNEST_SUBDIRS = xnest 15 | endif 16 | 17 | if XWIN 18 | XWIN_SUBDIRS = xwin 19 | endif 20 | 21 | if KDRIVE 22 | KDRIVE_SUBDIRS = kdrive 23 | endif 24 | 25 | if XQUARTZ 26 | XQUARTZ_SUBDIRS = xquartz 27 | endif 28 | 29 | if XWAYLAND 30 | XWAYLAND_SUBDIRS = xwayland 31 | endif 32 | 33 | SUBDIRS = \ 34 | $(XORG_SUBDIRS) \ 35 | $(XWIN_SUBDIRS) \ 36 | $(XVFB_SUBDIRS) \ 37 | $(XNEST_SUBDIRS) \ 38 | $(DMX_SUBDIRS) \ 39 | $(KDRIVE_SUBDIRS) \ 40 | $(XQUARTZ_SUBDIRS) \ 41 | $(XWAYLAND_SUBDIRS) 42 | 43 | DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive xwayland 44 | 45 | relink: 46 | $(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done 47 | -------------------------------------------------------------------------------- /Xext/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-Xext 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H -std=gnu99 $(XSERVER_CFLAGS) 7 | LOCAL_SRC_FILES := \ 8 | dpms.c \ 9 | geext.c \ 10 | hashtable.c \ 11 | shape.c \ 12 | security.c \ 13 | sleepuntil.c \ 14 | sync.c \ 15 | xace.c \ 16 | xcmisc.c \ 17 | xres.c \ 18 | xtest.c \ 19 | xvdisp.c \ 20 | xvmain.c \ 21 | xvmc.c \ 22 | bigreq.c 23 | 24 | #saver.c \ 25 | #xselinux_ext.c \ 26 | #xselinux_hooks.c \ 27 | #xselinux_label.c \ 28 | #xf86bigfont.c \ 29 | #dpmsstubs.c \ 30 | #panoramiX.c \ 31 | #panoramiXprocs.c \ 32 | #panoramiXSwap.c \ 33 | #shm.c 34 | 35 | include $(BUILD_STATIC_LIBRARY) 36 | -------------------------------------------------------------------------------- /fb/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-fb 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_STATIC_LIBRARIES := libXfont 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_SRC_FILES := \ 9 | fballpriv.c \ 10 | fbarc.c \ 11 | fbbits.c \ 12 | fbblt.c \ 13 | fbbltone.c \ 14 | fbcmap_mi.c \ 15 | fbcopy.c \ 16 | fbfill.c \ 17 | fbfillrect.c \ 18 | fbfillsp.c \ 19 | fbgc.c \ 20 | fbgetsp.c \ 21 | fbglyph.c \ 22 | fbimage.c \ 23 | fbline.c \ 24 | fbpict.c \ 25 | fbpixmap.c \ 26 | fbpoint.c \ 27 | fbpush.c \ 28 | fbsolid.c \ 29 | fbscreen.c \ 30 | fbseg.c \ 31 | fbsetsp.c \ 32 | fbtrap.c \ 33 | fbutil.c \ 34 | fbwindow.c 35 | 36 | include $(BUILD_STATIC_LIBRARY) 37 | -------------------------------------------------------------------------------- /hw/xfree86/x86emu/Makefile.am: -------------------------------------------------------------------------------- 1 | if INT10_X86EMU 2 | noinst_LTLIBRARIES = libx86emu.la 3 | endif 4 | 5 | libx86emu_la_SOURCES = debug.c \ 6 | decode.c \ 7 | fpu.c \ 8 | ops2.c \ 9 | ops.c \ 10 | prim_ops.c \ 11 | sys.c \ 12 | x86emu.h 13 | 14 | AM_CPPFLAGS = 15 | 16 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 17 | 18 | EXTRA_DIST = validate.c \ 19 | x86emu/debug.h \ 20 | x86emu/decode.h \ 21 | x86emu/fpu.h \ 22 | x86emu/fpu_regs.h \ 23 | x86emu/ops.h \ 24 | x86emu/prim_asm.h \ 25 | x86emu/prim_ops.h \ 26 | x86emu/prim_x86_gcc.h \ 27 | x86emu/regs.h \ 28 | x86emu/types.h \ 29 | x86emu/x86emui.h 30 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/shared/platform_noop.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | /* noop platform device support */ 7 | #include "xf86_OSproc.h" 8 | #include "xf86OSpriv.h" 9 | 10 | #include "xf86.h" 11 | 12 | /***************************************************************************/ 13 | /* Video Memory Mapping section */ 14 | /***************************************************************************/ 15 | 16 | void 17 | xf86OSInitVidMem(VidMemInfoPtr pVidMem) 18 | { 19 | pVidMem->initialised = TRUE; 20 | } 21 | 22 | #ifdef XSERVER_PLATFORM_BUS 23 | #include "xf86platformBus.h" 24 | Bool 25 | xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *busid) 26 | { 27 | return FALSE; 28 | } 29 | 30 | void xf86PlatformDeviceProbe(struct OdevAttributes *attribs) 31 | { 32 | 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /hw/xnest/Drawable.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTDRAWABLE_H 16 | #define XNESTDRAWABLE_H 17 | 18 | #include "XNWindow.h" 19 | #include "XNPixmap.h" 20 | 21 | #define xnestDrawable(pDrawable) \ 22 | (WindowDrawable((pDrawable)->type) ? \ 23 | xnestWindow((WindowPtr)pDrawable) : \ 24 | xnestPixmap((PixmapPtr)pDrawable)) 25 | 26 | #endif /* XNESTDRAWABLE_H */ 27 | -------------------------------------------------------------------------------- /xkb/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libXServer-xkb 5 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_STATIC_LIBRARIES := libxkbfile 8 | LOCAL_SRC_FILES := \ 9 | ddxBeep.c \ 10 | ddxCtrls.c \ 11 | ddxKillSrv.c \ 12 | ddxLEDs.c \ 13 | ddxLoad.c \ 14 | ddxPrivate.c \ 15 | ddxVT.c \ 16 | maprules.c \ 17 | xkb.c \ 18 | xkbAccessX.c \ 19 | xkbActions.c \ 20 | XKBAlloc.c \ 21 | xkbEvents.c \ 22 | xkbfmisc.c \ 23 | XKBGAlloc.c \ 24 | xkbInit.c \ 25 | xkbLEDs.c \ 26 | XKBMAlloc.c \ 27 | XKBMisc.c \ 28 | xkbout.c \ 29 | xkbPrKeyEv.c \ 30 | xkbSwap.c \ 31 | xkbtext.c \ 32 | xkbUtils.c \ 33 | xkmread.c 34 | 35 | include $(BUILD_STATIC_LIBRARY) 36 | -------------------------------------------------------------------------------- /hw/xnest/meson.build: -------------------------------------------------------------------------------- 1 | srcs = [ 2 | 'Args.c', 3 | 'Color.c', 4 | 'Cursor.c', 5 | 'Display.c', 6 | 'Events.c', 7 | 'Font.c', 8 | 'GC.c', 9 | 'GCOps.c', 10 | 'Handlers.c', 11 | 'Init.c', 12 | 'Keyboard.c', 13 | 'Pixmap.c', 14 | 'Pointer.c', 15 | 'Screen.c', 16 | 'Visual.c', 17 | 'Window.c', 18 | '../../mi/miinitext.c', 19 | ] 20 | 21 | executable( 22 | 'Xnest', 23 | srcs, 24 | include_directories: inc, 25 | dependencies: [ 26 | common_dep, 27 | xnest_dep, 28 | ], 29 | link_with: [ 30 | libxserver_main, 31 | libxserver, 32 | libxserver_xi_stubs, 33 | libxserver_xkb_stubs, 34 | ], 35 | c_args: '-DHAVE_XNEST_CONFIG_H', 36 | install: true, 37 | ) 38 | 39 | install_man(configure_file( 40 | input: 'man/Xnest.man', 41 | output: 'Xnest.1', 42 | configuration: manpage_config, 43 | )) 44 | -------------------------------------------------------------------------------- /hw/xnest/icon: -------------------------------------------------------------------------------- 1 | #define icon_width 32 2 | #define icon_height 32 3 | static unsigned char icon_bits[] = { 4 | 0xff, 0x00, 0x00, 0xc0, 0xfe, 0x01, 0x00, 0xc0, 0xfc, 0x03, 0x00, 0x60, 5 | 0xf8, 0x07, 0x00, 0x30, 0xf8, 0x07, 0x00, 0x18, 0xf0, 0x0f, 0x00, 0x0c, 6 | 0xe0, 0x1f, 0x00, 0x06, 0xc0, 0x3f, 0x00, 0x06, 0xc0, 0x3f, 0x00, 0x03, 7 | 0x80, 0x7f, 0x80, 0x01, 0x00, 0xff, 0xc0, 0x00, 0x00, 0xfe, 0x61, 0x00, 8 | 0x00, 0xfe, 0x31, 0x00, 0x00, 0xfc, 0x33, 0x00, 0x00, 0xf8, 0x1b, 0x00, 9 | 0x00, 0xf0, 0x0d, 0x00, 0x00, 0xf0, 0x0e, 0x00, 0x00, 0x60, 0x1f, 0x00, 10 | 0x00, 0xb0, 0x3f, 0x00, 0x00, 0x98, 0x7f, 0x00, 0x00, 0x98, 0x7f, 0x00, 11 | 0x00, 0x0c, 0xff, 0x00, 0x00, 0x06, 0xfe, 0x01, 0x00, 0x03, 0xfc, 0x03, 12 | 0x80, 0x01, 0xfc, 0x03, 0xc0, 0x00, 0xf8, 0x07, 0xc0, 0x00, 0xf0, 0x0f, 13 | 0x60, 0x00, 0xe0, 0x1f, 0x30, 0x00, 0xe0, 0x1f, 0x18, 0x00, 0xc0, 0x3f, 14 | 0x0c, 0x00, 0x80, 0x7f, 0x06, 0x00, 0x00, 0xff}; 15 | -------------------------------------------------------------------------------- /hw/xwin/winclipboard/meson.build: -------------------------------------------------------------------------------- 1 | srcs_windows_clipboard = [ 2 | 'winclipboard.h', 3 | 'textconv.c', 4 | 'thread.c', 5 | 'wndproc.c', 6 | 'xevents.c', 7 | ] 8 | 9 | xwin_clipboard = static_library( 10 | 'XWinclipboard', 11 | srcs_windows_clipboard, 12 | include_directories: inc, 13 | c_args: '-DHAVE_XWIN_CONFIG_H', 14 | dependencies: [ 15 | dependency('x11'), 16 | dependency('xfixes'), 17 | ], 18 | ) 19 | 20 | srcs_xwinclip = [ 21 | 'xwinclip.c', 22 | 'debug.c', 23 | ] 24 | 25 | executable( 26 | 'xwinclip', 27 | srcs_xwinclip, 28 | link_with: xwin_clipboard, 29 | link_args: ['-lgdi32', '-lpthread'], 30 | dependencies: [dependency('x11')], 31 | install: true, 32 | ) 33 | 34 | xwinclip_man = configure_file( 35 | input: 'xwinclip.man', 36 | output: 'xwinclip.1', 37 | configuration: manpage_config, 38 | ) 39 | install_man(xwinclip_man) 40 | -------------------------------------------------------------------------------- /config/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CFLAGS = $(DIX_CFLAGS) 2 | 3 | noinst_LTLIBRARIES = libconfig.la 4 | libconfig_la_SOURCES = config.c config-backends.h 5 | libconfig_la_LIBADD = 6 | 7 | if NEED_DBUS 8 | AM_CFLAGS += $(DBUS_CFLAGS) 9 | libconfig_la_SOURCES += dbus-core.c 10 | libconfig_la_LIBADD += $(DBUS_LIBS) 11 | endif 12 | 13 | if CONFIG_UDEV 14 | 15 | AM_CFLAGS += $(UDEV_CFLAGS) 16 | libconfig_la_SOURCES += udev.c 17 | libconfig_la_LIBADD += $(UDEV_LIBS) 18 | 19 | if XORG 20 | xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR) 21 | xorgconfd_DATA = 10-quirks.conf 22 | endif 23 | 24 | else 25 | 26 | if CONFIG_HAL 27 | AM_CFLAGS += $(HAL_CFLAGS) 28 | libconfig_la_SOURCES += hal.c 29 | libconfig_la_LIBADD += $(HAL_LIBS) 30 | 31 | else 32 | 33 | if CONFIG_WSCONS 34 | libconfig_la_SOURCES += wscons.c 35 | endif # CONFIG_WSCONS 36 | 37 | endif # !CONFIG_HAL 38 | 39 | endif # !CONFIG_UDEV 40 | 41 | EXTRA_DIST = x11-input.fdi fdi2iclass.py 10-quirks.conf 42 | -------------------------------------------------------------------------------- /hw/xnest/Screen.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTSCREEN_H 16 | #define XNESTSCREEN_H 17 | 18 | extern Window xnestDefaultWindows[MAXSCREENS]; 19 | extern Window xnestScreenSaverWindows[MAXSCREENS]; 20 | 21 | ScreenPtr xnestScreen(Window window); 22 | Bool xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[]); 23 | Bool xnestCloseScreen(ScreenPtr pScreen); 24 | 25 | #endif /* XNESTSCREEN_H */ 26 | -------------------------------------------------------------------------------- /xkb/meson.build: -------------------------------------------------------------------------------- 1 | srcs_xkb = [ 2 | 'ddxBeep.c', 3 | 'ddxCtrls.c', 4 | 'ddxLEDs.c', 5 | 'ddxLoad.c', 6 | 'maprules.c', 7 | 'xkmread.c', 8 | 'xkbtext.c', 9 | 'xkbfmisc.c', 10 | 'xkbout.c', 11 | 'xkb.c', 12 | 'xkbUtils.c', 13 | 'xkbEvents.c', 14 | 'xkbAccessX.c', 15 | 'xkbSwap.c', 16 | 'xkbLEDs.c', 17 | 'xkbInit.c', 18 | 'xkbActions.c', 19 | 'xkbPrKeyEv.c', 20 | 'XKBMisc.c', 21 | 'XKBAlloc.c', 22 | 'XKBGAlloc.c', 23 | 'XKBMAlloc.c', 24 | ] 25 | 26 | libxserver_xkb = static_library('libxserver_xkb', 27 | srcs_xkb, 28 | include_directories: inc, 29 | dependencies: common_dep, 30 | ) 31 | 32 | srcs_xkb_stubs = [ 33 | 'ddxKillSrv.c', 34 | 'ddxPrivate.c', 35 | 'ddxVT.c', 36 | ] 37 | 38 | libxserver_xkb_stubs = static_library('libxserver_xkb_stubs', 39 | srcs_xkb_stubs, 40 | include_directories: inc, 41 | dependencies: common_dep, 42 | ) 43 | -------------------------------------------------------------------------------- /hw/xnest/Visual.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTVISUAL_H 16 | #define XNESTVISUAL_H 17 | 18 | Visual *xnestVisual(VisualPtr pVisual); 19 | Visual *xnestVisualFromID(ScreenPtr pScreen, VisualID visual); 20 | Colormap xnestDefaultVisualColormap(Visual * visual); 21 | 22 | #define xnestDefaultVisual(pScreen) \ 23 | xnestVisualFromID((pScreen), (pScreen)->rootVisual) 24 | 25 | #endif /* XNESTVISUAL_H */ 26 | -------------------------------------------------------------------------------- /include/xkb-config.h: -------------------------------------------------------------------------------- 1 | /* include/xkb-config.h. Generated from xkb-config.h.in by configure. */ 2 | /* xkb-config.h.in: not at all generated. -*- c -*- 3 | * 4 | */ 5 | 6 | #ifndef _XKB_CONFIG_H_ 7 | #define _XKB_CONFIG_H_ 8 | 9 | /* Default set of XKB rules. */ 10 | #define XKB_DFLT_RULES "evdev" 11 | 12 | /* Default XKB model. */ 13 | #define XKB_DFLT_MODEL "pc105" 14 | 15 | /* Default XKB layout. */ 16 | #define XKB_DFLT_LAYOUT "us" 17 | 18 | /* Default XKB variant. */ 19 | #define XKB_DFLT_VARIANT "" 20 | 21 | /* Default XKB options. */ 22 | #define XKB_DFLT_OPTIONS "" 23 | 24 | /* Path to XKB definitions. */ 25 | #define XKB_BASE_DIRECTORY X4DROID_DATADIR "/usr/share/X11/xkb" 26 | 27 | /* Path to xkbcomp. */ 28 | #define XKB_BIN_DIRECTORY X4DROID_DATADIR "/bin" 29 | 30 | /* XKB output dir for compiled keymaps. */ 31 | #define XKM_OUTPUT_DIR X4DROID_DATADIR "/usr/share/X11/xkb/compiled/" 32 | 33 | #endif /* _XKB_CONFIG_H_ */ 34 | -------------------------------------------------------------------------------- /miext/shadow/meson.build: -------------------------------------------------------------------------------- 1 | srcs_miext_shadow = [ 2 | 'shadow.c', 3 | 'sh3224.c', 4 | 'shafb4.c', 5 | 'shafb8.c', 6 | 'shiplan2p4.c', 7 | 'shiplan2p8.c', 8 | 'shpacked.c', 9 | 'shplanar8.c', 10 | 'shplanar.c', 11 | 'shrot16pack_180.c', 12 | 'shrot16pack_270.c', 13 | 'shrot16pack_270YX.c', 14 | 'shrot16pack_90.c', 15 | 'shrot16pack_90YX.c', 16 | 'shrot16pack.c', 17 | 'shrot32pack_180.c', 18 | 'shrot32pack_270.c', 19 | 'shrot32pack_90.c', 20 | 'shrot32pack.c', 21 | 'shrot8pack_180.c', 22 | 'shrot8pack_270.c', 23 | 'shrot8pack_90.c', 24 | 'shrot8pack.c', 25 | 'shrotate.c', 26 | ] 27 | 28 | hdrs_miext_shadow = [ 29 | 'shadow.h', 30 | ] 31 | 32 | libxserver_miext_shadow = static_library('libxserver_miext_shadow', 33 | srcs_miext_shadow, 34 | include_directories: inc, 35 | dependencies: common_dep, 36 | ) 37 | 38 | install_data(hdrs_miext_shadow, install_dir: xorgsdkdir) 39 | -------------------------------------------------------------------------------- /hw/xnest/Events.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTEVENTS_H 16 | #define XNESTEVENTS_H 17 | 18 | #include 19 | 20 | #define ProcessedExpose (LASTEvent + 1) 21 | 22 | extern CARD32 lastEventTime; 23 | 24 | void SetTimeSinceLastInputEvent(void); 25 | void xnestCollectExposures(void); 26 | void xnestCollectEvents(void); 27 | void xnestQueueKeyEvent(int type, unsigned int keycode); 28 | 29 | #endif /* XNESTEVENTS_H */ 30 | -------------------------------------------------------------------------------- /hw/xquartz/meson.build: -------------------------------------------------------------------------------- 1 | add_languages('objc') 2 | 3 | srcs = [ 4 | 'X11Application.m', 5 | 'X11Controller.m', 6 | 'applewm.c', 7 | 'darwin.c', 8 | 'darwinEvents.c', 9 | 'darwinXinput.c', 10 | 'keysym2ucs.c', 11 | 'quartz.c', 12 | 'quartzCocoa.m', 13 | 'quartzKeyboard.c', 14 | 'quartzStartup.c', 15 | 'quartzRandR.c', 16 | 'console_redirect.c', 17 | '../../mi/miinitext.c', 18 | ] 19 | 20 | executable( 21 | 'Xquartz', 22 | srcs, 23 | include_directories: inc, 24 | link_with: [ 25 | libxserver_main, 26 | libxserver, 27 | libxserver_xkb_stubs, 28 | libxserver_xi_stubs, 29 | libxserver_glx, 30 | libxserver_pseudoramix, 31 | ], 32 | c_args: [ 33 | '-DXFree86Server', 34 | # XXXX: BUILD_DATE 35 | '-DXSERVER_VERSION="' + meson_project.version() + '"', 36 | '-DINXQUARTZ', 37 | '-DUSE_NEW_CLUT', 38 | ], 39 | install: true, 40 | ) 41 | -------------------------------------------------------------------------------- /fb/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libfb.la libwfb.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = fb.h fbrop.h fboverlay.h wfbrename.h fbpict.h 7 | endif 8 | 9 | libfb_la_CFLAGS = $(AM_CFLAGS) 10 | libfb_la_LIBADD = $(PIXMAN_LIBS) 11 | 12 | libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER 13 | libwfb_la_LIBADD = $(PIXMAN_LIBS) 14 | 15 | libfb_la_SOURCES = \ 16 | fb.h \ 17 | fballpriv.c \ 18 | fbarc.c \ 19 | fbbits.c \ 20 | fbbits.h \ 21 | fbblt.c \ 22 | fbbltone.c \ 23 | fbcmap_mi.c \ 24 | fbcopy.c \ 25 | fbfill.c \ 26 | fbfillrect.c \ 27 | fbfillsp.c \ 28 | fbgc.c \ 29 | fbgetsp.c \ 30 | fbglyph.c \ 31 | fbimage.c \ 32 | fbline.c \ 33 | fboverlay.c \ 34 | fboverlay.h \ 35 | fbpict.c \ 36 | fbpict.h \ 37 | fbpixmap.c \ 38 | fbpoint.c \ 39 | fbpush.c \ 40 | fbrop.h \ 41 | fbscreen.c \ 42 | fbseg.c \ 43 | fbsetsp.c \ 44 | fbsolid.c \ 45 | fbtrap.c \ 46 | fbutil.c \ 47 | fbwindow.c 48 | 49 | libwfb_la_SOURCES = $(libfb_la_SOURCES) 50 | -------------------------------------------------------------------------------- /mi/mioverlay.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #ifndef __MIOVERLAY_H 7 | #define __MIOVERLAY_H 8 | 9 | typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr); 10 | typedef Bool (*miOverlayInOverlayFunc) (WindowPtr); 11 | 12 | extern _X_EXPORT Bool 13 | 14 | miInitOverlay(ScreenPtr pScreen, 15 | miOverlayInOverlayFunc inOverlay, miOverlayTransFunc trans); 16 | 17 | extern _X_EXPORT Bool 18 | 19 | miOverlayGetPrivateClips(WindowPtr pWin, 20 | RegionPtr *borderClip, RegionPtr *clipList); 21 | 22 | extern _X_EXPORT Bool miOverlayCollectUnderlayRegions(WindowPtr, RegionPtr *); 23 | extern _X_EXPORT void miOverlayComputeCompositeClip(GCPtr, WindowPtr); 24 | extern _X_EXPORT Bool miOverlayCopyUnderlay(ScreenPtr); 25 | extern _X_EXPORT void miOverlaySetTransFunction(ScreenPtr, miOverlayTransFunc); 26 | extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool); 27 | 28 | #endif /* __MIOVERLAY_H */ 29 | -------------------------------------------------------------------------------- /hw/xfree86/int10/xf86int10module.c: -------------------------------------------------------------------------------- 1 | /* 2 | * XFree86 int10 module 3 | * execute BIOS int 10h calls in x86 real mode environment 4 | * Copyright 1999 Egbert Eich 5 | */ 6 | #ifdef HAVE_XORG_CONFIG_H 7 | #include 8 | #endif 9 | 10 | #include "xf86.h" 11 | #include "xf86str.h" 12 | #include "xf86Pci.h" 13 | #include "xf86int10.h" 14 | 15 | #ifndef MOD_NAME 16 | #define MOD_NAME int10 17 | #endif 18 | 19 | #define stringify(x) #x 20 | #define STRING(x) stringify(x) 21 | #define concat(x,y) x ## y 22 | #define combine(a,b) concat(a,b) 23 | #define NAME(x) combine(MOD_NAME,x) 24 | 25 | static XF86ModuleVersionInfo NAME(VersRec) = { 26 | STRING(NAME()), MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, XORG_VERSION_CURRENT, 1, 0, 0, ABI_CLASS_VIDEODRV, /* needs the video driver ABI */ 27 | ABI_VIDEODRV_VERSION, MOD_CLASS_NONE, { 28 | 0, 0, 0, 0} 29 | }; 30 | 31 | _X_EXPORT XF86ModuleData NAME(ModuleData) = { 32 | &NAME(VersRec), NULL, NULL}; 33 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = liblinux.la 2 | 3 | if LNXACPI 4 | ACPI_SRCS = lnx_acpi.c 5 | if !LNXAPM 6 | ACPI_SRCS += lnx_apm.c 7 | endif 8 | XORG_CFLAGS += -DHAVE_ACPI 9 | endif 10 | 11 | if LNXAPM 12 | APM_SRCS = lnx_apm.c 13 | XORG_CFLAGS += -DHAVE_APM 14 | endif 15 | 16 | if SYSTEMD_LOGIND 17 | LOGIND_SRCS = systemd-logind.c 18 | XORG_CFLAGS += $(DBUS_CFLAGS) 19 | endif 20 | 21 | liblinux_la_SOURCES = linux.h lnx_init.c lnx_video.c \ 22 | lnx_agp.c lnx_kmod.c lnx_bell.c lnx_platform.c \ 23 | $(srcdir)/../shared/VTsw_usl.c \ 24 | $(srcdir)/../shared/posix_tty.c \ 25 | $(srcdir)/../shared/vidmem.c \ 26 | $(srcdir)/../shared/sigio.c \ 27 | $(ACPI_SRCS) \ 28 | $(APM_SRCS) \ 29 | $(LOGIND_SRCS) 30 | 31 | AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) 32 | 33 | AM_CPPFLAGS = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS) 34 | -------------------------------------------------------------------------------- /mi/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libXServer-mi 6 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_STATIC_LIBRARIES := libXfont 9 | LOCAL_SRC_FILES := \ 10 | miarc.c \ 11 | mibitblt.c \ 12 | micmap.c \ 13 | micopy.c \ 14 | midash.c \ 15 | midispcur.c \ 16 | mieq.c \ 17 | miexpose.c \ 18 | mifillarc.c \ 19 | mifillrct.c \ 20 | migc.c \ 21 | miglblt.c \ 22 | miinitext.c \ 23 | mioverlay.c \ 24 | mipointer.c \ 25 | mipoly.c \ 26 | mipolypnt.c \ 27 | mipolyrect.c \ 28 | mipolyseg.c \ 29 | mipolytext.c \ 30 | mipushpxl.c \ 31 | miscrinit.c \ 32 | misprite.c \ 33 | mivaltree.c \ 34 | miwideline.c \ 35 | miwindow.c \ 36 | mizerarc.c \ 37 | mizerclip.c \ 38 | mizerline.c \ 39 | 40 | include $(BUILD_STATIC_LIBRARY) 41 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/cpprules.in: -------------------------------------------------------------------------------- 1 | # Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM 2 | # to cpp, because that trick does not work on all ANSI C preprocessors. 3 | # Delete line numbers from the cpp output (-P is not portable, I guess). 4 | # Allow XCOMM to be preceded by whitespace and provide a means of generating 5 | # output lines with trailing backslashes. 6 | # Allow XHASH to always be substituted, even in cases where XCOMM isn't. 7 | 8 | CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \ 9 | -e '/^\#line *[0-9][0-9]* *.*$$/d' \ 10 | -e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \ 11 | -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \ 12 | -e '/^[ ]*XHASH/s/XHASH/\#/' \ 13 | -e '/XSLASHGLOB/s/XSLASHGLOB/\/\*/' \ 14 | -e '/\@\@$$/s/\@\@$$/\\/' 15 | 16 | SUFFIXES = .cpp 17 | 18 | .cpp: 19 | $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@ 20 | -------------------------------------------------------------------------------- /os/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libXServer-os 6 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_STATIC_LIBRARIES := libXau libXfont libcrypto_static libXdmcp 9 | LOCAL_EXPORT_LDFLAGS := -llog 10 | LOCAL_SRC_FILES := \ 11 | access.c \ 12 | auth.c \ 13 | backtrace.c \ 14 | busfault.c \ 15 | client.c \ 16 | connection.c \ 17 | io.c \ 18 | inputthread.c \ 19 | log.c \ 20 | mitauth.c \ 21 | oscolor.c \ 22 | osinit.c \ 23 | ospoll.c \ 24 | reallocarray.c \ 25 | rpcauth.c \ 26 | strcasecmp.c \ 27 | strcasestr.c \ 28 | strlcat.c \ 29 | strlcpy.c \ 30 | strndup.c \ 31 | timingsafe_memcmp.c \ 32 | utils.c \ 33 | WaitFor.c \ 34 | xdmauth.c \ 35 | xdmcp.c \ 36 | xprintf.c \ 37 | xstrans.c \ 38 | xsha1.c \ 39 | 40 | include $(BUILD_STATIC_LIBRARY) 41 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/man/fbdevhw.man: -------------------------------------------------------------------------------- 1 | .\" $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.man,v 1.1 2001/01/24 00:06:34 dawes Exp $ 2 | .TH FBDEVHW @drivermansuffix@ @vendorversion@ 3 | .SH NAME 4 | fbdevhw \- os-specific submodule for framebuffer device access 5 | .SH DESCRIPTION 6 | .B fbdevhw 7 | provides functions for talking to a framebuffer device. It is 8 | os-specific. It is a submodule used by other video drivers. 9 | A 10 | .B fbdevhw 11 | module is currently available for linux framebuffer devices. 12 | .PP 13 | fbdev(@drivermansuffix@) is a non-accelerated driver which runs on top of the 14 | fbdevhw module. fbdevhw can be used by other drivers too, this 15 | is usually activated with `Option "UseFBDev"' in the device section. 16 | .SH "SEE ALSO" 17 | Xorg(@appmansuffix@), xorg.conf(@filemansuffix@), 18 | xorgconfig(@appmansuffix@), Xserver(@appmansuffix@), X(@miscmansuffix@), 19 | fbdev(@drivermansuffix@) 20 | .SH AUTHORS 21 | Authors include: Gerd Knorr, based on the XF68_FBDev Server code 22 | (Martin Schaller, Geert Uytterhoeven). 23 | -------------------------------------------------------------------------------- /hw/xnest/Pointer.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTPOINTER_H 16 | #define XNESTPOINTER_H 17 | 18 | #define MAXBUTTONS 256 19 | 20 | #define XNEST_POINTER_EVENT_MASK \ 21 | (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \ 22 | EnterWindowMask | LeaveWindowMask) 23 | 24 | extern DeviceIntPtr xnestPointerDevice; 25 | 26 | void xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl * ctrl); 27 | int xnestPointerProc(DeviceIntPtr pDev, int onoff); 28 | 29 | #endif /* XNESTPOINTER_H */ 30 | -------------------------------------------------------------------------------- /hw/xquartz/sanitizedCarbon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Don't #include any of the AppKit, etc stuff directly since it will 3 | * pollute the X11 namespace. 4 | */ 5 | 6 | #ifndef _XQ_SANITIZED_CARBON_H_ 7 | #define _XQ_SANITIZED_CARBON_H_ 8 | 9 | // QuickDraw in ApplicationServices has the following conflicts with 10 | // the basic X server headers. Use QD_ to use the QuickDraw 11 | // definition of any of these symbols, or the normal name for the 12 | // X11 definition. 13 | #define Cursor QD_Cursor 14 | #define WindowPtr QD_WindowPtr 15 | #define Picture QD_Picture 16 | #define BOOL OSX_BOOL 17 | #define EventType HIT_EventType 18 | 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include // For the NXSwap* 25 | 26 | #undef Cursor 27 | #undef WindowPtr 28 | #undef Picture 29 | #undef BOOL 30 | #undef EventType 31 | 32 | #endif /* _XQ_SANITIZED_CARBON_H_ */ 33 | -------------------------------------------------------------------------------- /xkb/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxkb.la libxkbstubs.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | DDX_SRCS = \ 6 | ddxBeep.c \ 7 | ddxCtrls.c \ 8 | ddxLEDs.c \ 9 | ddxLoad.c 10 | 11 | DIX_SRCS = \ 12 | xkb.c \ 13 | xkbUtils.c \ 14 | xkbEvents.c \ 15 | xkbAccessX.c \ 16 | xkbSwap.c \ 17 | xkbLEDs.c \ 18 | xkbInit.c \ 19 | xkbActions.c \ 20 | xkbPrKeyEv.c 21 | 22 | # this should be replaced by a common library or something, ideally -d 23 | XKBFILE_SRCS = \ 24 | maprules.c \ 25 | xkmread.c \ 26 | xkbtext.c \ 27 | xkbfmisc.c \ 28 | xkbout.c 29 | 30 | X11_SRCS = \ 31 | XKBMisc.c \ 32 | XKBAlloc.c \ 33 | XKBGAlloc.c \ 34 | XKBMAlloc.c 35 | 36 | libxkb_la_SOURCES = $(DDX_SRCS) $(DIX_SRCS) $(XKBFILE_SRCS) $(X11_SRCS) 37 | libxkbstubs_la_SOURCES = ddxVT.c ddxPrivate.c ddxKillSrv.c 38 | 39 | EXTRA_DIST = xkbDflts.h xkbgeom.h xkb.h 40 | 41 | xkbcompileddir = $(XKB_COMPILED_DIR) 42 | dist_xkbcompiled_DATA = README.compiled 43 | -------------------------------------------------------------------------------- /test/tests.h: -------------------------------------------------------------------------------- 1 | #ifndef TESTS_H 2 | #define TESTS_H 3 | 4 | int fixes_test(void); 5 | int hashtabletest_test(void); 6 | int input_test(void); 7 | int list_test(void); 8 | int misc_test(void); 9 | int signal_logging_test(void); 10 | int string_test(void); 11 | int touch_test(void); 12 | int xfree86_test(void); 13 | int xkb_test(void); 14 | int xtest_test(void); 15 | 16 | int protocol_xchangedevicecontrol_test(void); 17 | 18 | int protocol_xiqueryversion_test(void); 19 | int protocol_xiquerydevice_test(void); 20 | int protocol_xiselectevents_test(void); 21 | int protocol_xigetselectedevents_test(void); 22 | int protocol_xisetclientpointer_test(void); 23 | int protocol_xigetclientpointer_test(void); 24 | int protocol_xipassivegrabdevice_test(void); 25 | int protocol_xiquerypointer_test(void); 26 | int protocol_xiwarppointer_test(void); 27 | int protocol_eventconvert_test(void); 28 | int xi2_test(void); 29 | 30 | #ifndef INSIDE_PROTOCOL_COMMON 31 | 32 | extern int enable_XISetEventMask_wrap; 33 | extern int enable_GrabButton_wrap; 34 | 35 | #endif /* INSIDE_PROTOCOL_COMMON */ 36 | 37 | #endif /* TESTS_H */ 38 | 39 | -------------------------------------------------------------------------------- /fb/meson.build: -------------------------------------------------------------------------------- 1 | srcs_fb = [ 2 | 'fballpriv.c', 3 | 'fbarc.c', 4 | 'fbbits.c', 5 | 'fbblt.c', 6 | 'fbbltone.c', 7 | 'fbcmap_mi.c', 8 | 'fbcopy.c', 9 | 'fbfill.c', 10 | 'fbfillrect.c', 11 | 'fbfillsp.c', 12 | 'fbgc.c', 13 | 'fbgetsp.c', 14 | 'fbglyph.c', 15 | 'fbimage.c', 16 | 'fbline.c', 17 | 'fboverlay.c', 18 | 'fbpict.c', 19 | 'fbpixmap.c', 20 | 'fbpoint.c', 21 | 'fbpush.c', 22 | 'fbscreen.c', 23 | 'fbseg.c', 24 | 'fbsetsp.c', 25 | 'fbsolid.c', 26 | 'fbtrap.c', 27 | 'fbutil.c', 28 | 'fbwindow.c', 29 | ] 30 | 31 | hdrs_fb = [ 32 | 'fb.h', 33 | 'fboverlay.h', 34 | 'fbpict.h', 35 | 'fbrop.h', 36 | 'wfbrename.h' 37 | ] 38 | 39 | libxserver_fb = static_library('libxserver_fb', 40 | srcs_fb, 41 | include_directories: inc, 42 | dependencies: common_dep, 43 | pic: true, 44 | ) 45 | 46 | wfb_args = '-DFB_ACCESS_WRAPPER' 47 | 48 | libxserver_wfb = static_library('libxserver_wfb', 49 | srcs_fb, 50 | c_args: wfb_args, 51 | include_directories: inc, 52 | dependencies: common_dep, 53 | pic: true, 54 | build_by_default: false, 55 | ) 56 | 57 | install_data(hdrs_fb, install_dir: xorgsdkdir) 58 | -------------------------------------------------------------------------------- /hw/xnest/Keyboard.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTKEYBOARD_H 16 | #define XNESTKEYBOARD_H 17 | 18 | #define XNEST_KEYBOARD_EVENT_MASK \ 19 | (KeyPressMask | KeyReleaseMask | FocusChangeMask | KeymapStateMask) 20 | 21 | extern DeviceIntPtr xnestKeyboardDevice; 22 | 23 | void xnestBell(int volume, DeviceIntPtr pDev, void *ctrl, int cls); 24 | void xnestChangeKeyboardControl(DeviceIntPtr pDev, KeybdCtrl * ctrl); 25 | int xnestKeyboardProc(DeviceIntPtr pDev, int onoff); 26 | void xnestUpdateModifierState(unsigned int state); 27 | 28 | #endif /* XNESTKEYBOARD_H */ 29 | -------------------------------------------------------------------------------- /mi/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libmi.la 2 | 3 | if XORG 4 | sdk_HEADERS = micmap.h miline.h mipointer.h mi.h \ 5 | migc.h mipointrst.h mizerarc.h micoord.h \ 6 | mistruct.h mioverlay.h 7 | endif 8 | 9 | AM_CFLAGS = $(DIX_CFLAGS) 10 | 11 | libmi_la_SOURCES = \ 12 | mi.h \ 13 | miarc.c \ 14 | mibitblt.c \ 15 | micmap.c \ 16 | micmap.h \ 17 | micoord.h \ 18 | micopy.c \ 19 | midash.c \ 20 | midispcur.c \ 21 | mieq.c \ 22 | miexpose.c \ 23 | mifillarc.c \ 24 | mifillarc.h \ 25 | mifillrct.c \ 26 | mifpoly.h \ 27 | migc.c \ 28 | migc.h \ 29 | miglblt.c \ 30 | miline.h \ 31 | mioverlay.c \ 32 | mioverlay.h \ 33 | mipointer.c \ 34 | mipointer.h \ 35 | mipointrst.h \ 36 | mipoly.c \ 37 | mipoly.h \ 38 | mipolypnt.c \ 39 | mipolyrect.c \ 40 | mipolyseg.c \ 41 | mipolytext.c \ 42 | mipushpxl.c \ 43 | miscanfill.h \ 44 | miscrinit.c \ 45 | misprite.c \ 46 | misprite.h \ 47 | mistruct.h \ 48 | mivaltree.c \ 49 | mivalidate.h \ 50 | miwideline.c \ 51 | miwideline.h \ 52 | miwindow.c \ 53 | mizerarc.c \ 54 | mizerarc.h \ 55 | mizerclip.c \ 56 | mizerline.c 57 | -------------------------------------------------------------------------------- /dix/meson.build: -------------------------------------------------------------------------------- 1 | srcs_dix = [ 2 | 'atom.c', 3 | 'colormap.c', 4 | 'cursor.c', 5 | 'devices.c', 6 | 'dispatch.c', 7 | 'dixfonts.c', 8 | 'main.c', 9 | 'dixutils.c', 10 | 'enterleave.c', 11 | 'events.c', 12 | 'eventconvert.c', 13 | 'extension.c', 14 | 'gc.c', 15 | 'getevents.c', 16 | 'globals.c', 17 | 'glyphcurs.c', 18 | 'grabs.c', 19 | 'initatoms.c', 20 | 'inpututils.c', 21 | 'pixmap.c', 22 | 'privates.c', 23 | 'property.c', 24 | 'ptrveloc.c', 25 | 'region.c', 26 | 'registry.c', 27 | 'resource.c', 28 | 'selection.c', 29 | 'swaprep.c', 30 | 'swapreq.c', 31 | 'tables.c', 32 | 'touch.c', 33 | 'window.c', 34 | ] 35 | 36 | libxserver_dix = static_library('libxserver_dix', 37 | srcs_dix, 38 | include_directories: inc, 39 | dependencies: common_dep, 40 | ) 41 | 42 | libxserver_main = static_library('libxserver_main', 43 | 'stubmain.c', 44 | include_directories: inc, 45 | dependencies: common_dep, 46 | ) 47 | 48 | install_data( 49 | 'protocol.txt', 50 | install_dir: serverconfigdir, 51 | ) 52 | -------------------------------------------------------------------------------- /mi/meson.build: -------------------------------------------------------------------------------- 1 | srcs_mi = [ 2 | 'miarc.c', 3 | 'mibitblt.c', 4 | 'micmap.c', 5 | 'micopy.c', 6 | 'midash.c', 7 | 'midispcur.c', 8 | 'mieq.c', 9 | 'miexpose.c', 10 | 'mifillarc.c', 11 | 'mifillrct.c', 12 | 'migc.c', 13 | 'miglblt.c', 14 | 'mioverlay.c', 15 | 'mipointer.c', 16 | 'mipoly.c', 17 | 'mipolypnt.c', 18 | 'mipolyrect.c', 19 | 'mipolyseg.c', 20 | 'mipolytext.c', 21 | 'mipushpxl.c', 22 | 'miscrinit.c', 23 | 'misprite.c', 24 | 'mivaltree.c', 25 | 'miwideline.c', 26 | 'miwindow.c', 27 | 'mizerarc.c', 28 | 'mizerclip.c', 29 | 'mizerline.c', 30 | ] 31 | 32 | hdrs_mi = [ 33 | 'micmap.h', 34 | 'micoord.h', 35 | 'migc.h', 36 | 'mi.h', 37 | 'miline.h', 38 | 'mioverlay.h', 39 | 'mipointer.h', 40 | 'mipointrst.h', 41 | 'mistruct.h', 42 | 'mizerarc.h', 43 | ] 44 | 45 | libxserver_mi = static_library('libxserver_mi', 46 | srcs_mi, 47 | include_directories: inc, 48 | dependencies: [ 49 | common_dep, 50 | m_dep, 51 | ], 52 | ) 53 | 54 | install_data(hdrs_mi, install_dir: xorgsdkdir) 55 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/solaris/Makefile.am: -------------------------------------------------------------------------------- 1 | if SOLARIS_VT 2 | VTSW_SRC = sun_VTsw.c 3 | else 4 | VTSW_SRC = $(srcdir)/../shared/VTsw_noop.c 5 | endif 6 | 7 | if AGP 8 | AGP_SRC = sun_agp.c 9 | else 10 | AGP_SRC = $(srcdir)/../shared/agp_noop.c 11 | endif 12 | 13 | SOLARIS_INOUT_SRC = solaris-@SOLARIS_INOUT_ARCH@.S 14 | DISTCLEANFILES = solaris-@SOLARIS_INOUT_ARCH@.il 15 | 16 | solaris-@SOLARIS_INOUT_ARCH@.il: solaris-@SOLARIS_INOUT_ARCH@.S 17 | $(CPP) -P -DINLINE_ASM $(srcdir)/solaris-@SOLARIS_INOUT_ARCH@.S > $@ 18 | 19 | noinst_LTLIBRARIES = libsolaris.la 20 | libsolaris_la_SOURCES = sun_init.c \ 21 | sun_vid.c sun_bell.c $(AGP_SRC) sun_apm.c \ 22 | $(srcdir)/../shared/kmod_noop.c \ 23 | $(srcdir)/../shared/posix_tty.c \ 24 | $(srcdir)/../shared/sigio.c \ 25 | $(srcdir)/../shared/vidmem.c \ 26 | $(VTSW_SRC) 27 | nodist_libsolaris_la_SOURCES = $(SOLARIS_INOUT_SRC) 28 | 29 | sdk_HEADERS = 30 | nodist_sdk_HEADERS = solaris-@SOLARIS_INOUT_ARCH@.il 31 | 32 | AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) 33 | 34 | AM_CPPFLAGS = $(XORG_INCS) 35 | 36 | EXTRA_DIST = solaris-amd64.S solaris-ia32.S solaris-sparcv8plus.S sun_inout.s 37 | -------------------------------------------------------------------------------- /test/README: -------------------------------------------------------------------------------- 1 | X server test suite 2 | 3 | This suite contains a set of tests to verify the behaviour of functions used 4 | internally to the server. 5 | 6 | = How it works = 7 | Through some automake abuse, we link the test programs with the same static 8 | libraries as the Xorg binary. The test suites can then call various functions 9 | and verify their behaviour - without the need to start the server or connect 10 | clients. 11 | 12 | This testing only works for functions that do not rely on a particular state 13 | of the X server. Unless the test suite replicates the expected state, which 14 | may be difficult. 15 | 16 | = How to run the tests = 17 | Run "make check" in the test directory. This will compile the tests and execute 18 | them in the order specified in the TESTS variable in test/Makefile.am. 19 | 20 | Each set of tests related to a subsystem are available as a binary that can be 21 | executed directly. For example, run "xkb" to perform some xkb-related tests. 22 | 23 | == Adding a new test == 24 | When adding a new test, ensure that you add a short description of what the 25 | test does and what the expected outcome is. 26 | -------------------------------------------------------------------------------- /hw/xnest/XNFont.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTFONT_H 16 | #define XNESTFONT_H 17 | 18 | typedef struct { 19 | XFontStruct *font_struct; 20 | } xnestPrivFont; 21 | 22 | extern int xnestFontPrivateIndex; 23 | 24 | #define xnestFontPriv(pFont) \ 25 | ((xnestPrivFont *)FontGetPrivate(pFont, xnestFontPrivateIndex)) 26 | 27 | #define xnestFontStruct(pFont) (xnestFontPriv(pFont)->font_struct) 28 | 29 | #define xnestFont(pFont) (xnestFontStruct(pFont)->fid) 30 | 31 | Bool xnestRealizeFont(ScreenPtr pScreen, FontPtr pFont); 32 | Bool xnestUnrealizeFont(ScreenPtr pScreen, FontPtr pFont); 33 | 34 | #endif /* XNESTFONT_H */ 35 | -------------------------------------------------------------------------------- /hw/xnest/Handlers.c: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifdef HAVE_XNEST_CONFIG_H 16 | #include 17 | #endif 18 | 19 | #include 20 | #include 21 | #include "screenint.h" 22 | #include "input.h" 23 | #include "misc.h" 24 | #include "scrnintstr.h" 25 | #include "windowstr.h" 26 | #include "servermd.h" 27 | 28 | #include "Xnest.h" 29 | 30 | #include "Display.h" 31 | #include "Events.h" 32 | #include "Handlers.h" 33 | 34 | void 35 | xnestBlockHandler(void *blockData, void *timout) 36 | { 37 | xnestCollectExposures(); 38 | XFlush(xnestDisplay); 39 | } 40 | 41 | void 42 | xnestWakeupHandler(void *blockData, int result) 43 | { 44 | xnestCollectEvents(); 45 | } 46 | -------------------------------------------------------------------------------- /hw/xnest/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = man 2 | 3 | bin_PROGRAMS = Xnest 4 | 5 | AM_CFLAGS = -DHAVE_XNEST_CONFIG_H \ 6 | $(DIX_CFLAGS) \ 7 | $(XNESTMODULES_CFLAGS) 8 | 9 | SRCS = Args.c \ 10 | Args.h \ 11 | Color.c \ 12 | Color.h \ 13 | Cursor.c \ 14 | Display.c \ 15 | Display.h \ 16 | Drawable.h \ 17 | Events.c \ 18 | Events.h \ 19 | Font.c \ 20 | GC.c \ 21 | GCOps.c \ 22 | GCOps.h \ 23 | Handlers.c \ 24 | Handlers.h \ 25 | Init.c \ 26 | Init.h \ 27 | Keyboard.c \ 28 | Keyboard.h \ 29 | Pixmap.c \ 30 | Pointer.c \ 31 | Pointer.h \ 32 | Screen.c \ 33 | Screen.h \ 34 | Visual.c \ 35 | Visual.h \ 36 | Window.c \ 37 | XNCursor.h \ 38 | Xnest.h \ 39 | XNFont.h \ 40 | XNGC.h \ 41 | XNPixmap.h \ 42 | XNWindow.h \ 43 | xnest-config.h \ 44 | $(top_srcdir)/mi/miinitext.c 45 | 46 | XNEST_LIBS = \ 47 | @XNEST_LIBS@ \ 48 | $(top_builddir)/Xi/libXistubs.la 49 | 50 | Xnest_SOURCES = $(SRCS) 51 | 52 | Xnest_DEPENDENCIES = $(XNEST_LIBS) 53 | Xnest_LDADD = $(XNEST_LIBS) $(XNEST_SYS_LIBS) $(XSERVER_SYS_LIBS) 54 | Xnest_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 55 | 56 | EXTRA_DIST = icon \ 57 | screensaver 58 | 59 | relink: 60 | $(AM_V_at)rm -f Xnest$(EXEEXT) && $(MAKE) Xnest$(EXEEXT) 61 | -------------------------------------------------------------------------------- /test/tests.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "tests.h" 3 | #include "tests-common.h" 4 | 5 | int 6 | main(int argc, char **argv) 7 | { 8 | run_test(list_test); 9 | run_test(string_test); 10 | 11 | #ifdef XORG_TESTS 12 | run_test(fixes_test); 13 | run_test(input_test); 14 | run_test(misc_test); 15 | run_test(signal_logging_test); 16 | run_test(touch_test); 17 | run_test(xfree86_test); 18 | run_test(xkb_test); 19 | run_test(xtest_test); 20 | 21 | #ifdef RES_TESTS 22 | run_test(hashtabletest_test); 23 | #endif 24 | 25 | #ifdef LDWRAP_TESTS 26 | run_test(protocol_xchangedevicecontrol_test); 27 | 28 | run_test(protocol_xiqueryversion_test); 29 | run_test(protocol_xiquerydevice_test); 30 | run_test(protocol_xiselectevents_test); 31 | run_test(protocol_xigetselectedevents_test); 32 | run_test(protocol_xisetclientpointer_test); 33 | run_test(protocol_xigetclientpointer_test); 34 | run_test(protocol_xipassivegrabdevice_test); 35 | run_test(protocol_xiquerypointer_test); 36 | run_test(protocol_xiwarppointer_test); 37 | run_test(protocol_eventconvert_test); 38 | run_test(xi2_test); 39 | #endif 40 | 41 | #endif /* XORG_TESTS */ 42 | 43 | return 0; 44 | } 45 | -------------------------------------------------------------------------------- /hw/xfree86/int10/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libint10.la 2 | 3 | sdk_HEADERS = xf86int10.h 4 | 5 | EXTRA_CFLAGS = 6 | 7 | libint10_la_LDFLAGS = -avoid-version 8 | libint10_la_LIBADD = $(PCIACCESS_LIBS) 9 | 10 | COMMON_SOURCES = \ 11 | helper_exec.c \ 12 | helper_mem.c \ 13 | xf86int10.c \ 14 | xf86int10module.c 15 | 16 | if I386_VIDEO 17 | I386_VIDEO_CFLAGS = -D_PC 18 | endif 19 | 20 | AM_CPPFLAGS = $(XORG_INCS) 21 | 22 | if INT10_VM86 23 | AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS) 24 | libint10_la_SOURCES = \ 25 | $(COMMON_SOURCES) \ 26 | $(srcdir)/../os-support/linux/int10/vm86/linux_vm86.c \ 27 | $(srcdir)/../os-support/linux/int10/linux.c 28 | endif 29 | 30 | if INT10_X86EMU 31 | AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_X86EMU -DNO_SYS_HEADERS \ 32 | $(XORG_CFLAGS) $(EXTRA_CFLAGS) $(DIX_CFLAGS) 33 | AM_CPPFLAGS += -I$(srcdir)/../x86emu 34 | libint10_la_SOURCES = \ 35 | $(COMMON_SOURCES) \ 36 | xf86x86emu.c \ 37 | generic.c \ 38 | x86emu.c 39 | endif 40 | 41 | if INT10_STUB 42 | AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS) 43 | libint10_la_SOURCES = stub.c xf86int10module.c 44 | endif 45 | 46 | EXTRA_DIST = xf86x86emu.h INT10.HOWTO 47 | -------------------------------------------------------------------------------- /hw/dmx/examples/meson.build: -------------------------------------------------------------------------------- 1 | dmxexamples_dep = [ 2 | dependency('xext'), 3 | dependency('x11'), 4 | ] 5 | 6 | dmx_dep = dependency('dmx', version: '>= 1.0.99.1') 7 | 8 | dmx_examples = [ 9 | ['dmxinfo', [dmx_dep]], 10 | ['dmxwininfo', [dmx_dep, dependency('xmu')]], 11 | ['dmxreconfig', [dmx_dep]], 12 | ['dmxresize', [dmx_dep]], 13 | ['dmxaddscreen', [dmx_dep]], 14 | ['dmxrmscreen', [dmx_dep]], 15 | ['dmxaddinput', [dmx_dep]], 16 | ['dmxrminput', [dmx_dep]], 17 | ] 18 | 19 | noinst_dmx_examples = [ 20 | ['xinput', [dmx_dep, dependency('xi')]], 21 | ['xtest', [dependency('xtst')]], 22 | ['evi', []], 23 | ['xled', []], 24 | ['xbell', []], 25 | ['res', [dependency('xres')]], 26 | ] 27 | 28 | foreach ex: dmx_examples 29 | bin = ex[0] 30 | extra_dep = ex[1] 31 | 32 | executable( 33 | bin, 34 | bin + '.c', 35 | dependencies: [dmxexamples_dep, extra_dep], 36 | install: true 37 | ) 38 | endforeach 39 | 40 | foreach ex: noinst_dmx_examples 41 | bin = ex[0] 42 | extra_dep = ex[1] 43 | 44 | executable( 45 | bin, 46 | bin + '.c', 47 | dependencies: [dmxexamples_dep, extra_dep], 48 | ) 49 | endforeach 50 | 51 | if cc.has_header('linux/input.h') 52 | executable('ev', 'ev.c') 53 | endif 54 | -------------------------------------------------------------------------------- /hw/xquartz/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libXquartz.la 2 | AM_CFLAGS = $(DIX_CFLAGS) 3 | AM_OBJCFLAGS = $(DIX_CFLAGS) 4 | AM_CPPFLAGS = \ 5 | -DBUILD_DATE=\"$(BUILD_DATE)\" \ 6 | -DXSERVER_VERSION=\"$(VERSION)\" \ 7 | -DINXQUARTZ \ 8 | -DUSE_NEW_CLUT \ 9 | -DXFree86Server \ 10 | -I$(top_srcdir)/miext/rootless \ 11 | -I$(top_builddir)/pseudoramiX \ 12 | -DX11LIBDIR=\"$(libdir)\" 13 | 14 | if GLX 15 | GL_DIR = GL 16 | endif 17 | 18 | SUBDIRS = bundle . $(GL_DIR) xpr pbproxy mach-startup man 19 | 20 | DIST_SUBDIRS = bundle . GL xpr pbproxy mach-startup man 21 | 22 | libXquartz_la_SOURCES = \ 23 | $(top_srcdir)/mi/miinitext.c \ 24 | X11Application.m \ 25 | X11Controller.m \ 26 | applewm.c \ 27 | darwin.c \ 28 | darwinEvents.c \ 29 | darwinXinput.c \ 30 | keysym2ucs.c \ 31 | quartz.c \ 32 | quartzCocoa.m \ 33 | quartzKeyboard.c \ 34 | quartzStartup.c \ 35 | quartzRandR.c \ 36 | console_redirect.c 37 | 38 | libXquartz_la_LIBADD = $(top_builddir)/pseudoramiX/libPseudoramiX.la 39 | 40 | EXTRA_DIST = \ 41 | X11Application.h \ 42 | X11Controller.h \ 43 | applewmExt.h \ 44 | darwin.h \ 45 | darwinfb.h \ 46 | darwinEvents.h \ 47 | keysym2ucs.h \ 48 | quartz.h \ 49 | quartzCommon.h \ 50 | quartzKeyboard.h \ 51 | quartzRandR.h \ 52 | sanitizedCarbon.h \ 53 | sanitizedCocoa.h \ 54 | console_redirect.h 55 | -------------------------------------------------------------------------------- /hw/xnest/Args.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTARGS_H 16 | #define XNESTARGS_H 17 | 18 | extern char *xnestDisplayName; 19 | extern Bool xnestSynchronize; 20 | extern Bool xnestFullGeneration; 21 | extern int xnestDefaultClass; 22 | extern Bool xnestUserDefaultClass; 23 | extern int xnestDefaultDepth; 24 | extern Bool xnestUserDefaultDepth; 25 | extern Bool xnestSoftwareScreenSaver; 26 | extern int xnestX; 27 | extern int xnestY; 28 | extern unsigned int xnestWidth; 29 | extern unsigned int xnestHeight; 30 | extern int xnestUserGeometry; 31 | extern int xnestBorderWidth; 32 | extern Bool xnestUserBorderWidth; 33 | extern char *xnestWindowName; 34 | extern int xnestNumScreens; 35 | extern Bool xnestDoDirectColormaps; 36 | extern Window xnestParentWindow; 37 | 38 | #endif /* XNESTARGS_H */ 39 | -------------------------------------------------------------------------------- /miext/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libXServer-miext 6 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 7 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 8 | LOCAL_STATIC_LIBRARIES := libXfont libxshmfence 9 | LOCAL_SHARED_LIBRARIES := libpixman_full 10 | LOCAL_SRC_FILES := \ 11 | damage/damage.c \ 12 | shadow/shadow.c \ 13 | shadow/shpacked.c \ 14 | shadow/shplanar.c \ 15 | shadow/shplanar8.c \ 16 | shadow/shrot16pack.c \ 17 | shadow/shrot16pack_180.c \ 18 | shadow/shrot16pack_270.c \ 19 | shadow/shrot16pack_270YX.c \ 20 | shadow/shrot16pack_90.c \ 21 | shadow/shrot16pack_90YX.c \ 22 | shadow/shrot32pack.c \ 23 | shadow/shrot32pack_180.c \ 24 | shadow/shrot32pack_270.c \ 25 | shadow/shrot32pack_90.c \ 26 | shadow/shrot8pack.c \ 27 | shadow/shrot8pack_180.c \ 28 | shadow/shrot8pack_270.c \ 29 | shadow/shrot8pack_90.c \ 30 | shadow/shrotate.c \ 31 | sync/misync.c \ 32 | sync/misyncfd.c \ 33 | sync/misyncshm.c 34 | #rootless/rootlessCommon.c \ 35 | #rootless/rootlessGC.c \ 36 | #rootless/rootlessScreen.c \ 37 | #rootless/rootlessValTree.c \ 38 | #rootless/rootlessWindow.c 39 | include $(BUILD_STATIC_LIBRARY) 40 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/dri2int.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2011 Daniel Stone 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice (including the next 12 | * paragraph) shall be included in all copies or substantial portions of the 13 | * Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | * 23 | * Author: Daniel Stone 24 | */ 25 | 26 | extern Bool DRI2ModuleSetup(void); 27 | -------------------------------------------------------------------------------- /hw/xfree86/int10/stub.c: -------------------------------------------------------------------------------- 1 | /* 2 | * XFree86 int10 module 3 | * execute BIOS int 10h calls in x86 real mode environment 4 | * Copyright 1999 Egbert Eich 5 | */ 6 | #ifdef HAVE_XORG_CONFIG_H 7 | #include 8 | #endif 9 | 10 | #include "xf86.h" 11 | #include "xf86str.h" 12 | #include "xf86_OSproc.h" 13 | #define _INT10_PRIVATE 14 | #include "xf86int10.h" 15 | 16 | xf86Int10InfoPtr 17 | xf86InitInt10(int entityIndex) 18 | { 19 | return xf86ExtendedInitInt10(entityIndex, 0); 20 | } 21 | 22 | xf86Int10InfoPtr 23 | xf86ExtendedInitInt10(int entityIndex, int Flags) 24 | { 25 | return NULL; 26 | } 27 | 28 | Bool 29 | MapCurrentInt10(xf86Int10InfoPtr pInt) 30 | { 31 | return FALSE; 32 | } 33 | 34 | void 35 | xf86FreeInt10(xf86Int10InfoPtr pInt) 36 | { 37 | return; 38 | } 39 | 40 | void * 41 | xf86Int10AllocPages(xf86Int10InfoPtr pInt, int num, int *off) 42 | { 43 | *off = 0; 44 | return NULL; 45 | } 46 | 47 | void 48 | xf86Int10FreePages(xf86Int10InfoPtr pInt, void *pbase, int num) 49 | { 50 | return; 51 | } 52 | 53 | Bool 54 | xf86Int10ExecSetup(xf86Int10InfoPtr pInt) 55 | { 56 | return FALSE; 57 | } 58 | 59 | void 60 | xf86ExecX86int10(xf86Int10InfoPtr pInt) 61 | { 62 | return; 63 | } 64 | 65 | void * 66 | xf86int10Addr(xf86Int10InfoPtr pInt, uint32_t addr) 67 | { 68 | return 0; 69 | } 70 | -------------------------------------------------------------------------------- /Xi/xibarriers.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #ifndef _XIBARRIERS_H_ 7 | #define _XIBARRIERS_H_ 8 | 9 | #include "resource.h" 10 | 11 | extern _X_EXPORT RESTYPE PointerBarrierType; 12 | 13 | struct PointerBarrier { 14 | INT16 x1, x2, y1, y2; 15 | CARD32 directions; 16 | }; 17 | 18 | int 19 | barrier_get_direction(int, int, int, int); 20 | BOOL 21 | barrier_is_blocking(const struct PointerBarrier *, int, int, int, int, 22 | double *); 23 | BOOL 24 | barrier_is_blocking_direction(const struct PointerBarrier *, int); 25 | void 26 | barrier_clamp_to_barrier(struct PointerBarrier *barrier, int dir, int *x, 27 | int *y); 28 | 29 | #include 30 | 31 | int 32 | XICreatePointerBarrier(ClientPtr client, 33 | xXFixesCreatePointerBarrierReq * stuff); 34 | 35 | int 36 | XIDestroyPointerBarrier(ClientPtr client, 37 | xXFixesDestroyPointerBarrierReq * stuff); 38 | 39 | Bool XIBarrierInit(void); 40 | void XIBarrierReset(void); 41 | 42 | int SProcXIBarrierReleasePointer(ClientPtr client); 43 | int ProcXIBarrierReleasePointer(ClientPtr client); 44 | 45 | void XIBarrierNewMasterDevice(ClientPtr client, int deviceid); 46 | void XIBarrierRemoveMasterDevice(ClientPtr client, int deviceid); 47 | 48 | #endif /* _XIBARRIERS_H_ */ 49 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/mk_bundke.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # 'Cause xcodebuild is hard to deal with 4 | 5 | SRCDIR=$1 6 | BUILDDIR=$2 7 | BUNDLE_ROOT=$3 8 | 9 | localities="Dutch English French German Italian Japanese Spanish ar ca cs da el fi he hr hu ko no pl pt pt_PT ro ru sk sv th tr uk zh_CN zh_TW" 10 | for lang in ${localities} ; do 11 | [ -d ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj ] && rm -rf ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj 12 | mkdir -p ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj/main.nib 13 | [ -d ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj/main.nib ] || exit 1 14 | 15 | for f in Localizable.strings main.nib/keyedobjects.nib ; do 16 | install -m 644 ${SRCDIR}/Resources/${lang}.lproj/$f ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj/${f} 17 | done 18 | done 19 | 20 | install -m 644 ${SRCDIR}/Resources/English.lproj/main.nib/designable.nib ${BUNDLE_ROOT}/Contents/Resources/English.lproj/main.nib 21 | install -m 644 ${SRCDIR}/Resources/X11.icns ${BUNDLE_ROOT}/Contents/Resources 22 | 23 | install -m 644 ${BUILDDIR}/Info.plist ${BUNDLE_ROOT}/Contents 24 | install -m 644 ${SRCDIR}/PkgInfo ${BUNDLE_ROOT}/Contents 25 | 26 | mkdir -p ${BUNDLE_ROOT}/Contents/MacOS 27 | install -m 755 ${SRCDIR}/X11.sh ${BUNDLE_ROOT}/Contents/MacOS/X11 28 | 29 | if [[ $(id -u) == 0 ]] ; then 30 | chown -R root:admin ${BUNDLE_ROOT} 31 | fi 32 | -------------------------------------------------------------------------------- /hw/xfree86/utils/gtf/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 2 | # 3 | # Permission is hereby granted, free of charge, to any person obtaining a 4 | # copy of this software and associated documentation files (the "Software"), 5 | # to deal in the Software without restriction, including without limitation 6 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 | # and/or sell copies of the Software, and to permit persons to whom the 8 | # Software is furnished to do so, subject to the following conditions: 9 | # 10 | # The above copyright notice and this permission notice (including the next 11 | # paragraph) shall be included in all copies or substantial portions of the 12 | # Software. 13 | # 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | # DEALINGS IN THE SOFTWARE. 21 | # 22 | 23 | bin_PROGRAMS = gtf 24 | 25 | gtf_SOURCES = gtf.c 26 | gtf_CFLAGS = $(XORG_CFLAGS) 27 | gtf_LDADD = -lm 28 | -------------------------------------------------------------------------------- /Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | XSERVER_PATH := $(LOCAL_PATH) 3 | 4 | include $(LOCAL_PATH)/modules.mk 5 | 6 | XSERVER_INCLUDES += \ 7 | external/xorgproto/include \ 8 | external/pixman/pixman \ 9 | external/libpciaccess/include \ 10 | external/libXfont2/include \ 11 | external/libxkbfile/include \ 12 | external/xtrans \ 13 | external/libXau/include \ 14 | external/libXdmcp/include \ 15 | external/openssl/include \ 16 | external/libxshmfence \ 17 | 18 | LOCAL_PATH := $(XSERVER_PATH) 19 | 20 | #include $(XSERVER_PATH)/android/Android.mk 21 | include $(XSERVER_PATH)/fb/Android.mk 22 | include $(XSERVER_PATH)/mi/Android.mk 23 | include $(XSERVER_PATH)/render/Android.mk 24 | include $(XSERVER_PATH)/os/Android.mk 25 | include $(XSERVER_PATH)/Xext/Android.mk 26 | include $(XSERVER_PATH)/Xi/Android.mk 27 | include $(XSERVER_PATH)/xkb/Android.mk 28 | include $(XSERVER_PATH)/record/Android.mk 29 | include $(XSERVER_PATH)/dbe/Android.mk 30 | include $(XSERVER_PATH)/xfixes/Android.mk 31 | include $(XSERVER_PATH)/randr/Android.mk 32 | include $(XSERVER_PATH)/composite/Android.mk 33 | include $(XSERVER_PATH)/damageext/Android.mk 34 | include $(XSERVER_PATH)/miext/Android.mk 35 | include $(XSERVER_PATH)/hw/Android.mk 36 | include $(XSERVER_PATH)/config/Android.mk 37 | include $(XSERVER_PATH)/present/Android.mk 38 | include $(XSERVER_PATH)/dix/Android.mk 39 | -------------------------------------------------------------------------------- /hw/xquartz/GL/visualConfigs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008 Apple Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | * DEALINGS IN THE SOFTWARE. 21 | */ 22 | 23 | #ifndef VISUAL_CONFIGS_H 24 | #define VISUAL_CONFIGS_H 25 | 26 | __GLXconfig * 27 | __glXAquaCreateVisualConfigs(int *numConfigsPtr, int screenNumber); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /hw/xfree86/utils/man/cvt.man: -------------------------------------------------------------------------------- 1 | .TH CVT 1 @vendorversion@ 2 | .SH NAME 3 | cvt - calculate VESA CVT mode lines 4 | .SH SYNOPSIS 5 | .B cvt 6 | .RB [ \-v | \-\-verbose ] 7 | .RB [ \-r | \-\-reduced ] 8 | .I h-resolution 9 | .I v-resolution 10 | .RB [ refresh ] 11 | .SH DESCRIPTION 12 | .I Cvt 13 | is a utility for calculating VESA Coordinated Video Timing modes. Given the 14 | desired horizontal and vertical resolutions, a modeline adhering to the CVT 15 | standard is printed. This modeline can be included in Xorg 16 | .B xorg.conf(@filemansuffix@) 17 | . 18 | 19 | .SH OPTIONS 20 | .TP 8 21 | .BR refresh 22 | Provide a vertical refresh rate in Hz. The CVT standard prefers either 50.0, 23 | 60.0, 75.0 or 85.0Hz. The default is 60.0Hz. 24 | .TP 8 25 | .BR \-v | \-\-verbose 26 | Warn verbosely when a given mode does not completely correspond with CVT 27 | standards. 28 | .TP 8 29 | .BR \-r | \-\-reduced 30 | Create a mode with reduced blanking. This allows for higher frequency signals, 31 | with a lower or equal dotclock. Not for Cathode Ray Tube based displays though. 32 | 33 | .SH "SEE ALSO" 34 | xorg.conf(@filemansuffix@), gtf(@appmansuffix@) 35 | .SH AUTHOR 36 | Luc Verhaegen. 37 | .PP 38 | This program is based on the Coordinated Video Timing sample 39 | implementation written by Graham Loveridge. This file is publicly 40 | available at . CVT is a 41 | VESA trademark. 42 | -------------------------------------------------------------------------------- /hw/xwin/dri/windowsdri.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2014 Jon Turney 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice (including the next 12 | * paragraph) shall be included in all copies or substantial portions of the 13 | * Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21 | * IN THE SOFTWARE. 22 | */ 23 | 24 | #ifndef windowsdri_h 25 | #define windowsdri_h 26 | 27 | void WindowsDRIExtensionInit(void); 28 | Bool noDriExtension; 29 | 30 | #endif /* windowsdri_h */ 31 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/shadowfb.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _SHADOWFB_H 3 | #define _SHADOWFB_H 4 | 5 | #include "xf86str.h" 6 | 7 | /* 8 | * User defined callback function. Passed a pointer to the ScrnInfo struct, 9 | * the number of dirty rectangles, and a pointer to the first dirty rectangle 10 | * in the array. 11 | */ 12 | typedef void (*RefreshAreaFuncPtr) (ScrnInfoPtr, int, BoxPtr); 13 | 14 | /* 15 | * ShadowFBInit initializes the shadowfb subsystem. refreshArea is a pointer 16 | * to a user supplied callback function. This function will be called after 17 | * any operation that modifies the framebuffer. The newly dirtied rectangles 18 | * are passed to the callback. 19 | * 20 | * Returns FALSE in the event of an error. 21 | */ 22 | extern _X_EXPORT Bool 23 | ShadowFBInit(ScreenPtr pScreen, RefreshAreaFuncPtr refreshArea); 24 | 25 | /* 26 | * ShadowFBInit2 is a more featureful refinement of the original shadowfb. 27 | * ShadowFBInit2 allows you to specify two callbacks, one to be called 28 | * immediately before an operation that modifies the framebuffer, and another 29 | * to be called immediately after. 30 | * 31 | * Returns FALSE in the event of an error 32 | */ 33 | extern _X_EXPORT Bool 34 | 35 | ShadowFBInit2(ScreenPtr pScreen, 36 | RefreshAreaFuncPtr preRefreshArea, 37 | RefreshAreaFuncPtr postRefreshArea); 38 | 39 | #endif /* _SHADOWFB_H */ 40 | -------------------------------------------------------------------------------- /dix/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_C_INCLUDES := $(XSERVER_INCLUDES) 5 | LOCAL_MODULE := libXServer-dix 6 | LOCAL_CFLAGS := -DHAVE_DIX_CONFIG_H -DHAVE_XORG_CONFIG_H $(XSERVER_CFLAGS) 7 | LOCAL_LDFLAGS := 8 | LOCAL_SRC_FILES := \ 9 | atom.c \ 10 | colormap.c \ 11 | cursor.c \ 12 | devices.c \ 13 | dispatch.c \ 14 | dixfonts.c \ 15 | dixutils.c \ 16 | enterleave.c \ 17 | eventconvert.c \ 18 | events.c \ 19 | extension.c \ 20 | gc.c \ 21 | getevents.c \ 22 | globals.c \ 23 | glyphcurs.c \ 24 | grabs.c \ 25 | initatoms.c \ 26 | inpututils.c \ 27 | main.c \ 28 | pixmap.c \ 29 | privates.c \ 30 | property.c \ 31 | ptrveloc.c \ 32 | region.c \ 33 | registry.c \ 34 | resource.c \ 35 | selection.c \ 36 | swaprep.c \ 37 | swapreq.c \ 38 | tables.c \ 39 | touch.c \ 40 | window.c \ 41 | 42 | LOCAL_SHARED_LIBRARIES := libpixman_full 43 | LOCAL_STATIC_LIBRARIES := libXfont 44 | LOCAL_EXPORT_LDFLAGS := -u dix_main 45 | include $(BUILD_STATIC_LIBRARY) 46 | 47 | include $(CLEAR_VARS) 48 | LOCAL_MODULE := Xorg 49 | #LOCAL_SRC_FILES := dlopenmain.c 50 | LOCAL_LDFLAGS := -fPIC -fpic 51 | LOCAL_SRC_FILES := stubmain.c 52 | LOCAL_SHARED_LIBRARIES := libXFree86 53 | 54 | include $(BUILD_EXECUTABLE) 55 | -------------------------------------------------------------------------------- /dix/buildatoms: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | hfile=../../../include/Xatom.h 3 | cfile=initatoms.c 4 | rm -f $hfile $cfile 5 | umask 222 6 | awk ' 7 | BEGIN { 8 | hfile = "'$hfile'"; 9 | cfile = "'$cfile'"; 10 | hformat = "#define XA_%s ((Atom) %d)\n"; 11 | printf("#ifndef XATOM_H\n") > hfile; 12 | printf("#define XATOM_H 1\n\n") > hfile; 13 | printf("/* THIS IS A GENERATED FILE\n") > hfile; 14 | printf(" *\n") > hfile; 15 | printf(" * Do not change! Changing this file implies a protocol change!\n") > hfile; 16 | printf(" */\n\n") > hfile; 17 | 18 | printf("/* THIS IS A GENERATED FILE\n") > cfile; 19 | printf(" *\n") > cfile; 20 | printf(" * Do not change! Changing this file implies a protocol change!\n") > cfile; 21 | printf(" */\n\n") > cfile; 22 | printf("#include \"X.h\"\n") > cfile; 23 | printf("#include \"Xatom.h\"\n") > cfile; 24 | printf("#include \"misc.h\"\n") > cfile; 25 | printf("#include \"dix.h\"\n") > cfile; 26 | printf("void MakePredeclaredAtoms()\n") > cfile; 27 | printf("{\n") > cfile; 28 | 29 | } 30 | 31 | NF == 2 && $2 == "@" { 32 | printf(hformat, $1, ++atomno) > hfile ; 33 | printf(" if (MakeAtom(\"%s\", %d, 1) != XA_%s) AtomError();\n", $1, length($1), $1) > cfile ; 34 | } 35 | 36 | END { 37 | printf("\n") > hfile; 38 | printf(hformat, "LAST_PREDEFINED", atomno) > hfile ; 39 | printf("#endif /* XATOM_H */\n") > hfile; 40 | printf("}\n") > cfile ; 41 | } 42 | ' BuiltInAtoms 43 | exit 0 44 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/meson.build: -------------------------------------------------------------------------------- 1 | fb = shared_module( 2 | 'fb', 3 | 'fbmodule.c', 4 | 5 | include_directories: [inc, xorg_inc], 6 | c_args: xorg_c_args, 7 | dependencies: common_dep, 8 | link_whole: libxserver_fb, 9 | link_with: e, 10 | 11 | install: true, 12 | install_dir: module_dir, 13 | ) 14 | 15 | shared_module( 16 | 'wfb', 17 | 'fbmodule.c', 18 | 19 | include_directories: [inc, xorg_inc], 20 | c_args: [ xorg_c_args, wfb_args ], 21 | dependencies: common_dep, 22 | link_whole: libxserver_wfb, 23 | link_with: e, 24 | 25 | install: true, 26 | install_dir: module_dir, 27 | ) 28 | 29 | shared_module( 30 | 'shadow', 31 | 'shmodule.c', 32 | 33 | include_directories: [inc, xorg_inc], 34 | c_args: xorg_c_args, 35 | dependencies: common_dep, 36 | link_whole: libxserver_miext_shadow, 37 | link_with: [fb, e], 38 | 39 | install: true, 40 | install_dir: module_dir, 41 | ) 42 | 43 | if build_glx 44 | shared_module( 45 | 'glx', 46 | [ 'glxmodule.c', srcs_glxdri2 ], 47 | 48 | include_directories: [ inc, xorg_inc, glx_inc ], 49 | c_args: [ xorg_c_args, glx_align64 ], 50 | dependencies: [ common_dep, dl_dep ], 51 | link_whole: libxserver_glx, 52 | link_with: e, 53 | 54 | install: true, 55 | install_dir: join_paths(module_dir, 'extensions') 56 | ) 57 | endif 58 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16 24 | #define Data CARD16 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "shrotpack.h" 31 | -------------------------------------------------------------------------------- /miext/shadow/shrot32pack.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate32 24 | #define Data CARD32 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "shrotpack.h" 31 | -------------------------------------------------------------------------------- /miext/shadow/shrot8pack.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate8 24 | #define Data CARD8 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "shrotpack.h" 31 | -------------------------------------------------------------------------------- /include/globals.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _XSERV_GLOBAL_H_ 3 | #define _XSERV_GLOBAL_H_ 4 | 5 | #include "window.h" /* for WindowPtr */ 6 | #include "extinit.h" 7 | #ifdef DPMSExtension 8 | /* sigh, too many drivers assume this */ 9 | #include 10 | #endif 11 | 12 | /* Global X server variables that are visible to mi, dix, os, and ddx */ 13 | 14 | extern _X_EXPORT CARD32 defaultScreenSaverTime; 15 | extern _X_EXPORT CARD32 defaultScreenSaverInterval; 16 | extern _X_EXPORT CARD32 ScreenSaverTime; 17 | extern _X_EXPORT CARD32 ScreenSaverInterval; 18 | 19 | #ifdef SCREENSAVER 20 | extern _X_EXPORT Bool screenSaverSuspended; 21 | #endif 22 | 23 | extern _X_EXPORT const char *defaultFontPath; 24 | extern _X_EXPORT int monitorResolution; 25 | extern _X_EXPORT int defaultColorVisualClass; 26 | 27 | extern _X_EXPORT int GrabInProgress; 28 | extern _X_EXPORT Bool noTestExtensions; 29 | extern _X_EXPORT char *SeatId; 30 | extern _X_EXPORT char *ConnectionInfo; 31 | extern _X_EXPORT sig_atomic_t inSignalContext; 32 | 33 | #ifdef PANORAMIX 34 | extern _X_EXPORT Bool PanoramiXExtensionDisabledHack; 35 | #endif 36 | 37 | #ifdef XSELINUX 38 | #define SELINUX_MODE_DEFAULT 0 39 | #define SELINUX_MODE_DISABLED 1 40 | #define SELINUX_MODE_PERMISSIVE 2 41 | #define SELINUX_MODE_ENFORCING 3 42 | extern _X_EXPORT int selinuxEnforcingState; 43 | #endif 44 | 45 | #endif /* !_XSERV_GLOBAL_H_ */ 46 | -------------------------------------------------------------------------------- /glamor/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libglamor.la libglamor_egl_stubs.la 2 | 3 | libglamor_la_LIBADD = $(GLAMOR_LIBS) 4 | 5 | AM_CFLAGS = $(CWARNFLAGS) $(DIX_CFLAGS) $(GLAMOR_CFLAGS) 6 | 7 | libglamor_la_SOURCES = \ 8 | glamor.c \ 9 | glamor_context.h \ 10 | glamor_copy.c \ 11 | glamor_core.c \ 12 | glamor_dash.c \ 13 | glamor_debug.h \ 14 | glamor_font.c \ 15 | glamor_font.h \ 16 | glamor_glx.c \ 17 | glamor_composite_glyphs.c \ 18 | glamor_image.c \ 19 | glamor_lines.c \ 20 | glamor_segs.c \ 21 | glamor_render.c \ 22 | glamor_gradient.c \ 23 | glamor_prepare.c \ 24 | glamor_prepare.h \ 25 | glamor_program.c \ 26 | glamor_program.h \ 27 | glamor_rects.c \ 28 | glamor_spans.c \ 29 | glamor_text.c \ 30 | glamor_transfer.c \ 31 | glamor_transfer.h \ 32 | glamor_transform.c \ 33 | glamor_transform.h \ 34 | glamor_trapezoid.c \ 35 | glamor_triangles.c\ 36 | glamor_addtraps.c\ 37 | glamor_glyphblt.c\ 38 | glamor_points.c\ 39 | glamor_priv.h\ 40 | glamor_pixmap.c\ 41 | glamor_largepixmap.c\ 42 | glamor_picture.c\ 43 | glamor_vbo.c \ 44 | glamor_window.c\ 45 | glamor_fbo.c\ 46 | glamor_compositerects.c\ 47 | glamor_utils.c\ 48 | glamor_utils.h\ 49 | glamor_sync.c \ 50 | glamor.h 51 | 52 | if XV 53 | libglamor_la_SOURCES += \ 54 | glamor_xv.c 55 | endif 56 | 57 | libglamor_egl_stubs_la_SOURCES = \ 58 | glamor_egl_stubs.c \ 59 | glamor_egl_ext.h \ 60 | glamor_egl.h 61 | 62 | sdk_HEADERS = glamor.h 63 | -------------------------------------------------------------------------------- /miext/sync/misyncshm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2013 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that copyright 7 | * notice and this permission notice appear in supporting documentation, and 8 | * that the name of the copyright holders not be used in advertising or 9 | * publicity pertaining to distribution of the software without specific, 10 | * written prior permission. The copyright holders make no representations 11 | * about the suitability of this software for any purpose. It is provided "as 12 | * is" without express or implied warranty. 13 | * 14 | * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 20 | * OF THIS SOFTWARE. 21 | */ 22 | 23 | #ifndef _MISYNCSHM_H_ 24 | #define _MISYNCSHM_H_ 25 | 26 | extern _X_EXPORT Bool miSyncShmScreenInit(ScreenPtr pScreen); 27 | 28 | #endif /* _MISYNCSHM_H_ */ 29 | -------------------------------------------------------------------------------- /present/presentext.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2013 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that copyright 7 | * notice and this permission notice appear in supporting documentation, and 8 | * that the name of the copyright holders not be used in advertising or 9 | * publicity pertaining to distribution of the software without specific, 10 | * written prior permission. The copyright holders make no representations 11 | * about the suitability of this software for any purpose. It is provided "as 12 | * is" without express or implied warranty. 13 | * 14 | * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 20 | * OF THIS SOFTWARE. 21 | */ 22 | 23 | #ifndef _PRESENTEXT_H_ 24 | #define _PRESENTEXT_H_ 25 | 26 | extern _X_EXPORT void 27 | present_extension_init(void); 28 | 29 | #endif /* _PRESENTEXT_H_ */ 30 | --------------------------------------------------------------------------------