Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/X11/cmd/X/hw/equis/dix-config.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/*
 * Copyright (c) 2008 Federico G. Benavento <[email protected]>
 * 
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef _DIX_CONFIG_H_
#define _DIX_CONFIG_H_

#if defined(T386) || defined(Tamd64) || defined(Talpha) || defined(Tarm)
#undef X_BYTE_ORDER
#define X_BYTE_ORDER    X_LITTLE_ENDIAN
#define BITMAP_BIT_ORDER    LSBFirst
#define IMAGE_BYTE_ORDER    LSBFirst
#elif defined(Tmips) || defined(Tsparc) || defined(Tpower)
#undef X_BYTE_ORDER
#define X_BYTE_ORDER    X_BIG_ENDIAN
#define BITMAP_BIT_ORDER    MSBFirst
#define IMAGE_BYTE_ORDER    MSBFirst
#else
Error unknown byte order
#endif

#define ABORTONFATALERROR  1
#define BUILDERADDR "[email protected]"
#define DRI_DRIVER_PATH "/sys/lib/ape/X11/dri"
#define OSNAME  "Plan 9"
#define OSVENDOR    "Alcatel-Lucent"
#define PACKAGE "Equis"
#define VENDOR_NAME "The X.Org Foundation"

#define COMPILEDDEFAULTFONTPATH "/sys/lib/ape/X11/fonts/misc/,/sys/lib/ape/X11/fonts/TTF/,/sys/lib/ape/X11/fonts/OTF,/sys/lib/ape/X11/fonts/Type1/,/sys/lib/ape/X11/fonts/100dpi/,/sys/lib/ape/X11/fonts/75dpi/"

#define RGB_DB  "/sys/lib/ape/X11/rgb"

/* connection types */
/* #define LOCALCONN 1 */
#define TCPCONN 1
#define UNIXCONN 1

/* fb needs these */
#undef GLYPHPADBYTES
#define GLYPHPADBYTES 4
#define GETLEFTBITS_ALIGNMENT 1

#define HAS_FFS 1
#define HAVE_DIRENT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_GETEUID 1
#define HAVE_GETOPT 1
#define HAVE_GETUID 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBM 1
#define HAVE_LINK 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMSET 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCHR 1
#define HAVE_STRING_H 1
#define HAVE_STRRCHR 1
#define HAVE_STRTOL 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VPRINTF 1
#define STDC_HEADERS 1

#define SHADOWFB 1
#define RENDER 1
#define RES 1
#define SHAPE 1
#define XINPUT 1
#define XResExtension 1

#define NO_LIBCWRAPPER 1
#define NULL_ROOT_CURSOR 1
#define USE_RGB_BUILTIN 1
#define XKB_DFLT_DISABLED  0

#undef BIGREQS /*1*/
#undef BUILTIN_FONTS
#undef COMPOSITE /*1*/
#undef DAMAGE /*1*/
#undef DBE
#undef DDXBEFORERESET
#undef DDXOSFATALERROR
#define DDXOSINIT 1
#undef DDXOSVERRORF
#undef DDXTIME
#undef DPMSExtension
#undef EVI
#undef HASXDMAUTH
#undef MITSHM
#undef MULTIBUFFER
#undef NOFONTSERVERACCESS
#undef PANORAMIX
#undef PIXPRIV /*1*/
#undef PROJECTROOT /* "/sys/lib/ape/X11" */
#undef RANDR /*1*/
#undef ROOTLESS
#undef SCREENSAVER
#undef SERVER_LOCK /*1*/
#undef SMART_SCHEDULE /*1*/
#undef TOGCUP
#undef XACE
#undef XAPPGROUP
#undef XCMISC /*1*/
#undef XCSECURITY
#undef XDMCP
#undef XEVIE
#undef XF86BIGFONT
#undef XF86DRI
#undef XF86MISC
#undef XF86VIDMODE
#undef XFIXES /*1*/
#undef XFreeXDGA
#undef XINERAMA
#undef XKB /*1*/
#undef XKB_IN_SERVER /*1*/
#undef XRECORD
#undef XSYNC
#undef XTEST /*1*/
#undef XTRAP
#undef XV
#undef XvMCExtension

extern int fsync(int);
extern double hypot(double, double);

#endif /* _DIX_CONFIG_H_ */

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].